bjgf issueshttps://gitlab.bluej.org/bluej/bjgf/-/issues2021-04-29T10:41:12Zhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2139[GREENFOOT-812] Object names not shown on inspectors2021-04-29T10:41:12ZDavin McCall[GREENFOOT-812] Object names not shown on inspectorsWhen inspecting an actor object, no object name is shown. The name is useful for typing as a parameter to another method (although it is still possible to insert the name by clicking the object when the interactive method call dialog is ...When inspecting an actor object, no object name is shown. The name is useful for typing as a parameter to another method (although it is still possible to insert the name by clicking the object when the interactive method call dialog is open).
This was part of GREENFOOT-811.
---
**Issue metadata**
- Issue type: Task
- Priority: High
- Fix versions: 3.7.0Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2138[GREENFOOT-811] NPE raised when passing actor as a parameter2018-11-02T17:18:57ZHamza Hamza[GREENFOOT-811] NPE raised when passing actor as a parameterThis is reported by the user using Greenfoot 3.5.1. Currently, the names of objects can not appear on the inspector, it shows only the name of the class. When clicking on an object to pass its name as a parameter to a method related to a...This is reported by the user using Greenfoot 3.5.1. Currently, the names of objects can not appear on the inspector, it shows only the name of the class. When clicking on an object to pass its name as a parameter to a method related to another object (it shows name like golf_ ), it gives null pointer exception in the terminal window and it also generates the following in the debug log:
"unknown enum constant threadchecker.Tag.Any
reason: class file for threadchecker.Tag not found
unknown enum constant threadchecker.Tag.Any
Handling 69"
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.2Davin McCallDavin McCallhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2137[GREENFOOT-810] Memory leak in Greenfoot 3.5.1 2018-10-30T14:56:37ZHamza Hamza[GREENFOOT-810] Memory leak in Greenfoot 3.5.1 This is related to BLUEJ-1223
---
**Issue metadata**
- Issue type: Bug
- Priority: MediumThis is related to BLUEJ-1223
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2136[GREENFOOT-809] Main window does not resize correctly on scenario open2018-12-10T10:33:26ZMichael Kölling[GREENFOOT-809] Main window does not resize correctly on scenario openWhen the empty window is showing, and then a scenario is opened, the window should resize to the scenario's preferred size.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.3When the empty window is showing, and then a scenario is opened, the window should resize to the scenario's preferred size.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.3Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2135[GREENFOOT-808] Initial main window is too wide2018-12-07T14:58:48ZMichael Kölling[GREENFOOT-808] Initial main window is too wideWhen opening Greenfoot with the empty default window showing (no scenario open), the window is too wide. Make it just wide enough to show the help text.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.3When opening Greenfoot with the empty default window showing (no scenario open), the window is too wide. Make it just wide enough to show the help text.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.3Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2134[GREENFOOT-807] Memory leak in editor2018-10-30T14:56:07ZMichael Kölling[GREENFOOT-807] Memory leak in editor
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.2
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.2https://gitlab.bluej.org/bluej/bjgf/-/issues/2133[GREENFOOT-806] Dragging overlapping actors drags the bottom one, not the top2018-10-30T12:03:15ZNeil Brown[GREENFOOT-806] Dragging overlapping actors drags the bottom one, not the topIn Greenfoot, if you have multiple actors overlapping (e.g. like in Wombats), dragging the actors results in dragging the bottom-most one, which is a bit surprising, and a change in behaviour from Greenfoot 3.1.0. We should drag the top...In Greenfoot, if you have multiple actors overlapping (e.g. like in Wombats), dragging the actors results in dragging the bottom-most one, which is a bit surprising, and a change in behaviour from Greenfoot 3.1.0. We should drag the top-one instead.
Note: I think this just needs a change in PickActorHelper, to use the last actor in the overlapping array rather than first.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.2Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2132[GREENFOOT-804] Class loading exception can prevent Greenfoot startup2019-01-22T14:35:16ZDavin McCall[GREENFOOT-804] Class loading exception can prevent Greenfoot startupIf a class is missing in the initial scenario, Greenfoot may fail to load, due to failure to handle LinkageError's. As reported by user:
{code}
Exception in thread "JavaFX Application Thread" java.lang.NoClassDefFoundError: Lovai at
...If a class is missing in the initial scenario, Greenfoot may fail to load, due to failure to handle LinkageError's. As reported by user:
{code}
Exception in thread "JavaFX Application Thread" java.lang.NoClassDefFoundError: Lovai at
java.lang.Class.getDeclaredConstructors0(Native Method) at
java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) at
java.lang.Class.getDeclaredConstructors(Class.java:2020) at
bluej.utility.JavaReflective.getDeclaredConstructors(JavaReflective.java:364) at
greenfoot.guifx.GreenfootStage.hasNoArgConstructor(GreenfootStage.java:1375) at
greenfoot.guifx.GreenfootStage.showProject(GreenfootStage.java:478) at
greenfoot.guifx.GreenfootStage.<init>(GreenfootStage.java:395) at
greenfoot.guifx.GreenfootStage.makeStage(GreenfootStage.java:597)
{code}
(etc).
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.3Davin McCallDavin McCallhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2131[GREENFOOT-803] Reading from stdin does not enable terminal input2018-09-20T17:14:26ZNeil Brown[GREENFOOT-803] Reading from stdin does not enable terminal inputIf the user code reads from stdin while running the simulation, the terminal input field is disabled, so it is not possible.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.1If the user code reads from stdin while running the simulation, the terminal input field is disabled, so it is not possible.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.1Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2130[GREENFOOT-802] Greenfoot.getMouseInfo() does not return null when mouse is o...2018-09-19T15:06:47ZDavin McCall[GREENFOOT-802] Greenfoot.getMouseInfo() does not return null when mouse is outside world boundsGreenfoot.getMouseInfo() does not return null when mouse is outside world bounds, as it used to and as per documentation.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.1Greenfoot.getMouseInfo() does not return null when mouse is outside world bounds, as it used to and as per documentation.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.1Davin McCallDavin McCallhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2129[GREENFOOT-801] Save the World cannot be performed after project open2018-09-18T10:30:52ZNeil Brown[GREENFOOT-801] Save the World cannot be performed after project openIf you open a project, and then immediately try to create some objects and save the world, you are told it is not possible if you Act/Run before Reset. This dialog should not be shown -- loading the project should count as a Reset for t...If you open a project, and then immediately try to create some objects and save the world, you are told it is not possible if you Act/Run before Reset. This dialog should not be shown -- loading the project should count as a Reset for these purposes, and thus Save the World should just work in this case, not give an error.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.1Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2128[GREENFOOT-800] Save the World not working correctly in some cases2018-09-21T13:16:15ZNeil Brown[GREENFOOT-800] Save the World not working correctly in some casesSee support message on 16/9/18 for a project example.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.1See support message on 16/9/18 for a project example.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.1Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2127[GREENFOOT-799] World class in new scenario extends fully-qualified greenfoot...2018-09-14T16:39:56ZNeil Brown[GREENFOOT-799] World class in new scenario extends fully-qualified greenfoot.WorldIf you make a new Java scenario in Greenfoot 3.5.0, the line of code declaring the World class says:
public class MyWorld extends greenfoot.World
That should say:
public class MyWorld extends World
Without the fully qualified...If you make a new Java scenario in Greenfoot 3.5.0, the line of code declaring the World class says:
public class MyWorld extends greenfoot.World
That should say:
public class MyWorld extends World
Without the fully qualified name, as that is confusing. I think this relates to how we make a new class, so we should special case this for greenfoot.* to leave off the greenfoot. import, without breaking the general mechanism for extending fully-qualified names.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.1Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2126[GREENFOOT-798] Save the World missing from top menu2018-09-18T10:30:27ZNeil Brown[GREENFOOT-798] Save the World missing from top menuAfter our menu rearrangement in 3.5.0, the "Save the World" option is not on the top menu bar in Greenfoot, only on the context menu. I think was accidental, and it should be re-added to the top menu as it helps discoverability, probabl...After our menu rearrangement in 3.5.0, the "Save the World" option is not on the top menu bar in Greenfoot, only on the context menu. I think was accidental, and it should be re-added to the top menu as it helps discoverability, probably under the Tools menu.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.1Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2125[GREENFOOT-797] Stop control panel buttons getting focus2018-09-10T18:39:37ZNeil Brown[GREENFOOT-797] Stop control panel buttons getting focusIn the standalone export, the buttons can get focus and this causes issues with keypresses (e.g. space triggers the button, so you cannot listen for space bar in a running scenario). The IDE version avoids this by focusing the world on ...In the standalone export, the buttons can get focus and this causes issues with keypresses (e.g. space triggers the button, so you cannot listen for space bar in a running scenario). The IDE version avoids this by focusing the world on run, but it is still a bit odd because the buttons cannot get focus again. We agreed in the meeting that the simplest fix was just to prevent the buttons (or speed slider) ever getting focus.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.1Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2124[GREENFOOT-796] Mac: Control-click on actor doesn't properly open popup menu2018-09-07T17:01:34ZDavin McCall[GREENFOOT-796] Mac: Control-click on actor doesn't properly open popup menuOn Mac, control+click should act as a right click: on an actor or world it should open the popup menu to allow calling methods interactively. In Greenfoot 3.5.0 this isn't working correctly. (The popup menu doesn't appear, or appears onl...On Mac, control+click should act as a right click: on an actor or world it should open the popup menu to allow calling methods interactively. In Greenfoot 3.5.0 this isn't working correctly. (The popup menu doesn't appear, or appears only briefly).
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.1Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2123[GREENFOOT-793] World not automatically instantiated in new scenario2018-09-11T12:36:09ZNeil Brown[GREENFOOT-793] World not automatically instantiated in new scenarioThis used to happen in 3.1.0 but does not happen in 3.5.0. I believe the reason for the change is that the logic used to be "If only one world, instantiate automatically", but we removed that as it isn't necessarily what is wanted. But...This used to happen in 3.1.0 but does not happen in 3.5.0. I believe the reason for the change is that the logic used to be "If only one world, instantiate automatically", but we removed that as it isn't necessarily what is wanted. But we should cover the new scenario case, probably most easily by setting the lastWorld property in the project file when making a new scenario.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.1Hamza HamzaHamza Hamzahttps://gitlab.bluej.org/bluej/bjgf/-/issues/2122[GREENFOOT-792] Greenfoot inspectors no longer auto-update2018-09-13T16:16:15ZNeil Brown[GREENFOOT-792] Greenfoot inspectors no longer auto-updateIn Greenfoot 3.1.0, inspectors would auto-update (every 500ms) while showing via a TimerTask. This functionality was accidentally removed in 3.5.0, but should be restored (using the FX animation API, most likely).
---
**Issue metadata...In Greenfoot 3.1.0, inspectors would auto-update (every 500ms) while showing via a TimerTask. This functionality was accidentally removed in 3.5.0, but should be restored (using the FX animation API, most likely).
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.1Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2121[GREENFOOT-791] Cannot construct world with constructor arguments more than once2018-09-17T14:45:08ZDavin McCall[GREENFOOT-791] Cannot construct world with constructor arguments more than onceIf a world constructor has parameters, the first construction attempt succeeds, the second fails with "An object with this name already exists".
Edit: this reportedly also occurs for actors.
---
**Issue metadata**
- Issue type...If a world constructor has parameters, the first construction attempt succeeds, the second fails with "An object with this name already exists".
Edit: this reportedly also occurs for actors.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.1Hamza HamzaHamza Hamzahttps://gitlab.bluej.org/bluej/bjgf/-/issues/2120[GREENFOOT-790] Writing to System.out always gives terminal window focus2018-09-20T17:15:24ZDavin McCall[GREENFOOT-790] Writing to System.out always gives terminal window focusWriting to System.out now always brings the terminal window to the front and gives it focus. While this is probably reasonable behaviour in BlueJ, it's potentially annoying in Greenfoot.
---
**Issue metadata**
- Issue type: Bug
-...Writing to System.out now always brings the terminal window to the front and gives it focus. While this is probably reasonable behaviour in BlueJ, it's potentially annoying in Greenfoot.
---
**Issue metadata**
- Issue type: Bug
- Priority: MediumHamza HamzaHamza Hamza