bjgf issueshttps://gitlab.bluej.org/bluej/bjgf/-/issues2015-11-21T16:40:47Zhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1425[GREENFOOT-81] Class creation dialogue for World classes should select image2015-11-21T16:40:47ZMichael Kölling[GREENFOOT-81] Class creation dialogue for World classes should select imageThe World subclass creation dialogue should include image selection, as the Actor dialogue.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.4.0The World subclass creation dialogue should include image selection, as the Actor dialogue.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.4.0Davin McCallDavin McCallhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1426[GREENFOOT-82] world instance name should start with lowercase2015-11-21T16:40:47ZMichael Kölling[GREENFOOT-82] world instance name should start with lowercaseThe name of the world instance, shown over the world, should start with a lowercase letter.
---
**Issue metadata**
- Issue type: Task
- Priority: Lowest
- Fix versions: 1.4.0The name of the world instance, shown over the world, should start with a lowercase letter.
---
**Issue metadata**
- Issue type: Task
- Priority: Lowest
- Fix versions: 1.4.0https://gitlab.bluej.org/bluej/bjgf/-/issues/1427[GREENFOOT-83] Add offset to world image to support scroller games2015-11-21T16:40:47ZMichael Kölling[GREENFOOT-83] Add offset to world image to support scroller gamesUser request: we could support platform / side scroller games by adding an optional offset to World background images.
---
**Issue metadata**
- Issue type: Task
- Priority: Low
- Fix versions: 3.0.0User request: we could support platform / side scroller games by adding an optional offset to World background images.
---
**Issue metadata**
- Issue type: Task
- Priority: Low
- Fix versions: 3.0.0https://gitlab.bluej.org/bluej/bjgf/-/issues/1428[GREENFOOT-84] Remove "inherited from Object" submenu from object menu2015-11-21T16:40:47ZMichael Kölling[GREENFOOT-84] Remove "inherited from Object" submenu from object menuI think the "Object" submenu is more in the way than helpful. Remove it.
---
**Issue metadata**
- Issue type: Task
- Priority: Low
- Fix versions: 2.0I think the "Object" submenu is more in the way than helpful. Remove it.
---
**Issue metadata**
- Issue type: Task
- Priority: Low
- Fix versions: 2.0Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1429[GREENFOOT-85] Changing the background of the world should automatically upda...2015-11-21T16:40:47ZNeil Brown[GREENFOOT-85] Changing the background of the world should automatically update the current background.When changing the background for the world via Greenfoot UI, it would be nice if the instantiated world actually updated its background as soon as a new background is chosen in the image-chooser.
---
**Issue metadata**
- Issue type: T...When changing the background for the world via Greenfoot UI, it would be nice if the instantiated world actually updated its background as soon as a new background is chosen in the image-chooser.
---
**Issue metadata**
- Issue type: Task
- Priority: Low
- Fix versions: 1.4.0https://gitlab.bluej.org/bluej/bjgf/-/issues/1430[GREENFOOT-86] Add functionality to remove background image of the world2015-11-21T16:40:47ZNeil Brown[GREENFOOT-86] Add functionality to remove background image of the worldAdd functionality to remove the background image of the world though the Greenfoot UI. Maybe with a special button in the image chooser?
Maybe this should also be added for actors?
---
**Issue metadata**
- Issue type: Bug
- Priority:...Add functionality to remove the background image of the world though the Greenfoot UI. Maybe with a special button in the image chooser?
Maybe this should also be added for actors?
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 2.0Michael KöllingMichael Köllinghttps://gitlab.bluej.org/bluej/bjgf/-/issues/1431[GREENFOOT-87] Selecting image from image library does not work.2015-11-21T16:40:47ZNeil Brown[GREENFOOT-87] Selecting image from image library does not work.When selecting an image for an Actor or World the image selection does not work if you select an image that is not already in the project. You can select an image, but it is not actually set on the new class.
It works fine if you select...When selecting an image for an Actor or World the image selection does not work if you select an image that is not already in the project. You can select an image, but it is not actually set on the new class.
It works fine if you select an image that is in the projects image list already.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.4.0https://gitlab.bluej.org/bluej/bjgf/-/issues/1432[GREENFOOT-88] Class cast exception when using object from world as parameter...2015-11-21T16:40:47ZNeil Brown[GREENFOOT-88] Class cast exception when using object from world as parameters for methodsProbably has to do with class reloading.
Steps to reproduce:
Load the standard wombats scenario.
Compile All
Add this method to Wombat:
public void eatLeaf(Actor leaf)
\{
if(leaf \!= null && leaf instanceof Leaf) \{...Probably has to do with class reloading.
Steps to reproduce:
Load the standard wombats scenario.
Compile All
Add this method to Wombat:
public void eatLeaf(Actor leaf)
\{
if(leaf \!= null && leaf instanceof Leaf) \{
// eat the leaf...
getWorld().removeObject(leaf);
leavesEaten = leavesEaten + 1;
}
}
Compile Wombat via the EDITOR.
Compile World via the EDITOR.
SHIFT-add wombat to the world
SHIFT-add leaf to the world
Interactively invoke eatLeaf(Leaf) on the wombat
Click the leaf in the world.
Press OK to execute the method.
You will then get a class cast exception:
java.lang.ClassCastException: Wombat cannot be cast to Wombat
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 1.4.0Michael KöllingMichael Köllinghttps://gitlab.bluej.org/bluej/bjgf/-/issues/1433[GREENFOOT-89] Make nicer icon for Vista2015-11-21T16:40:47ZMichael Kölling[GREENFOOT-89] Make nicer icon for VistaWindows can now show nice icons. Make one.
Fixed, should be part of the 1.4.0 release.
---
**Issue metadata**
- Issue type: Task
- Priority: Low
- Fix versions: 1.4.0Windows can now show nice icons. Make one.
Fixed, should be part of the 1.4.0 release.
---
**Issue metadata**
- Issue type: Task
- Priority: Low
- Fix versions: 1.4.0https://gitlab.bluej.org/bluej/bjgf/-/issues/1434[GREENFOOT-90] Programs slowing down to a halt on Mac OS Leopard (memory leak)2015-11-21T16:40:47ZNeil Brown[GREENFOOT-90] Programs slowing down to a halt on Mac OS Leopard (memory leak)On Mac OS Leopard some Greenfoot programs (Greeps for instance) almost slows down to a halt because there is a memory leak somewhere in the Sun rendering pipeline.
---
**Issue metadata**
- Issue type: Bug
- Priority: High
- Fix versio...On Mac OS Leopard some Greenfoot programs (Greeps for instance) almost slows down to a halt because there is a memory leak somewhere in the Sun rendering pipeline.
---
**Issue metadata**
- Issue type: Bug
- Priority: High
- Fix versions: 1.4.0https://gitlab.bluej.org/bluej/bjgf/-/issues/1435[GREENFOOT-91] Can't draw on GreenfootImages after using mirror/scale/rotate ...2015-11-21T16:40:47ZNeil Brown[GREENFOOT-91] Can't draw on GreenfootImages after using mirror/scale/rotate on the imageHere is an Actor which is showing the behaviour. The rectangle should keep growing and changing each frame. When you click on it, it will flip it's image, and the draw it's doing each frame no longer works.
import greenfoot.*; // (Worl...Here is an Actor which is showing the behaviour. The rectangle should keep growing and changing each frame. When you click on it, it will flip it's image, and the draw it's doing each frame no longer works.
import greenfoot.*; // (World, Actor, GreenfootImage, and Greenfoot)
import java.awt.Color;
public class TestActor extends Actor
\{
private int rectHeight = 0;
public void act()
\{
getImage().clear();
getImage().setColor(Color.BLUE);
// draw a rectangle over the left side of the actors imge
getImage().fillRect(
0, 0,
getImage().getWidth()/2,
rectHeight % getImage().getHeight());
rectHeight++;
if (Greenfoot.mousePressed(this)) \{
getImage().mirrorHorizontally();
}
}
}
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.4.0https://gitlab.bluej.org/bluej/bjgf/-/issues/1436[GREENFOOT-92] Add more drawing methods to GreenfootImage like drawShape(Shape)2015-11-21T16:40:47ZNeil Brown[GREENFOOT-92] Add more drawing methods to GreenfootImage like drawShape(Shape)maybe also fillArc, drawArc
---
**Issue metadata**
- Issue type: Task
- Priority: Low
- Fix versions: 1.5.2maybe also fillArc, drawArc
---
**Issue metadata**
- Issue type: Task
- Priority: Low
- Fix versions: 1.5.2https://gitlab.bluej.org/bluej/bjgf/-/issues/1437[GREENFOOT-93] various dialogues have "BlueJ" in dialogue title2015-11-21T16:40:47ZMichael Kölling[GREENFOOT-93] various dialogues have "BlueJ" in dialogue title"BlueJ" appears as the application name in dialogue titles. Should be replaced with "Greenfoot". At least: Method call dlg, method result, Inspector. (probably some more \\- I haven't searched much.)
---
**Issue metadata**
- Issue typ..."BlueJ" appears as the application name in dialogue titles. Should be replaced with "Greenfoot". At least: Method call dlg, method result, Inspector. (probably some more \\- I haven't searched much.)
---
**Issue metadata**
- Issue type: Task
- Priority: Low
- Fix versions: 1.4.5https://gitlab.bluej.org/bluej/bjgf/-/issues/1438[GREENFOOT-94] Scaling transparent GreenfootImages is buggy on Leopard2015-11-21T16:40:47ZNeil Brown[GREENFOOT-94] Scaling transparent GreenfootImages is buggy on LeopardIf you scale a GreenfootImage on Leopard when using the Quarts rendering pipeline the images are no longer transparent. They produce some weird colors when painted on top of other colors \\- possibly using an XOR algorithm or something s...If you scale a GreenfootImage on Leopard when using the Quarts rendering pipeline the images are no longer transparent. They produce some weird colors when painted on top of other colors \\- possibly using an XOR algorithm or something similar.
This can be seen in the explosion in the lunarlander scenario.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.4.0https://gitlab.bluej.org/bluej/bjgf/-/issues/1439[GREENFOOT-95] Wrong versions of classes loaded2015-11-21T16:40:47ZNeil Brown[GREENFOOT-95] Wrong versions of classes loadedSometimes the wrong version of a class can be loaded, and it is possible to have different versions of an Actor in the world.
This happens when only one class is compiled and reloaded. The rest of the classes wont be reloaded and can th...Sometimes the wrong version of a class can be loaded, and it is possible to have different versions of an Actor in the world.
This happens when only one class is compiled and reloaded. The rest of the classes wont be reloaded and can then reference the old version of the reloaded class.
In most circumstances this wont happen since greenfoot marks classes as needing a recompile if a class is edited that other classes depend on. However, there are some circumstances where this is not enough:
If a class that is already compiled is recompiled without editing that one class will be reloaded, but the rest wont.
The classes that don't reference a class that is compiled, those classes wont be reloaded.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.4.0Michael KöllingMichael Köllinghttps://gitlab.bluej.org/bluej/bjgf/-/issues/1440[GREENFOOT-96] After playing sounds CPU is extra busy2015-11-21T16:40:47ZNeil Brown[GREENFOOT-96] After playing sounds CPU is extra busyThis is on Mac only (Leopard only too?):
After playing a short sound just once and then pausing the game, both VM's will use around 10-40% CPU.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.4.0This is on Mac only (Leopard only too?):
After playing a short sound just once and then pausing the game, both VM's will use around 10-40% CPU.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.4.0https://gitlab.bluej.org/bluej/bjgf/-/issues/1441[GREENFOOT-97] Anonymous classes in the world throw null pointer exceptions w...2015-11-21T16:40:47ZNeil Brown[GREENFOOT-97] Anonymous classes in the world throw null pointer exceptions when clicked onIf you add an anonymous class to the world like so:
{noformat}
addObject(new TestActor() {
public void foo() { }
}, 0, 0);
{noformat}
when you click on it a null pointer exception is thrown:
{noformat}
Exception in th...If you add an anonymous class to the world like so:
{noformat}
addObject(new TestActor() {
public void foo() { }
}, 0, 0);
{noformat}
when you click on it a null pointer exception is thrown:
{noformat}
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at greenfoot.ObjectTracker.getRObject(ObjectTracker.java:66)
at greenfoot.platforms.ide.WorldHandlerDelegateIDE.fireObjectEvent(WorldHandlerDelegateIDE.java:395)
at greenfoot.platforms.ide.WorldHandlerDelegateIDE.mouseClicked(WorldHandlerDelegateIDE.java:459)
at greenfoot.core.WorldHandler.mouseClicked(WorldHandler.java:166)
at greenfoot.gui.InputManager.mouseClicked(InputManager.java:540)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
{noformat}
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 2.0Davin McCallDavin McCallhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1442[GREENFOOT-98] World is two pixels too small.2015-11-21T16:40:47ZNeil Brown[GREENFOOT-98] World is two pixels too small.The world is always two pixels too small in both width and height.
Because the black border is drawn on top of the component.
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 1.4.1The world is always two pixels too small in both width and height.
Because the black border is drawn on top of the component.
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 1.4.1https://gitlab.bluej.org/bluej/bjgf/-/issues/1443[GREENFOOT-99] Keypressed not properly re-initialised on restart2015-11-21T16:40:47ZMichael Kölling[GREENFOOT-99] Keypressed not properly re-initialised on restartWhen execution stops (either manually, or via Greenfoot.stopSimulation) while a key is down, on restart that key is reported to be continuously down until pressed and released again.
---
**Issue metadata**
- Issue type: Bug
- Priority...When execution stops (either manually, or via Greenfoot.stopSimulation) while a key is down, on restart that key is reported to be continuously down until pressed and released again.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.4.1Michael KöllingMichael Köllinghttps://gitlab.bluej.org/bluej/bjgf/-/issues/1444[GREENFOOT-100] Clicking an actor does not always return top most actor2015-11-21T16:40:47ZNeil Brown[GREENFOOT-100] Clicking an actor does not always return top most actorWhen the simulation is stopped and you want to either move and actor or invoke the popup menu, you do not always get the top most actor.
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 1.4.1When the simulation is stopped and you want to either move and actor or invoke the popup menu, you do not always get the top most actor.
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 1.4.1