bjgf issueshttps://gitlab.bluej.org/bluej/bjgf/-/issues2022-04-21T14:05:02Zhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2187[GREENFOOT-860] Greenfoot, GreenfootSound, Color … don't autocomplete2022-04-21T14:05:02ZNeil Brown[GREENFOOT-860] Greenfoot, GreenfootSound, Color … don't autocompleteHi,
with the Stride-editor you type something like "gr" and hit cmd+space, all necessary autocompletements like Greenfoot.…, GreenfootImage… etc. are shown and can be used.
With the Java-editor this does not work. See screenshot attach...Hi,
with the Stride-editor you type something like "gr" and hit cmd+space, all necessary autocompletements like Greenfoot.…, GreenfootImage… etc. are shown and can be used.
With the Java-editor this does not work. See screenshot attached.
I used the Stride-editor for some years now, and as you use Greenfoot-methods like isKeyDown(…) all the time the autocompletement is crucial in my opinion.
So I am not sure if this is a bug or somehow intentional. If yes I would ask to urgently fix this - having the students type "Greenfoot." to get to the autocompletements is not only a waste of time but also a source of errors. (Addendum: The same, even worse, with not recognizing locally declared variables - see my comments, sorry, could not delete the wrong one).
(As attaching images is not supported with this interface please find it here: [https://efm.informatik-bg.de/210919_greenfoot-autocomplete-problem.jpg] )
---
**Issue metadata**
- Issue type: Bug
- Priority: MediumGreenfoot 3.7.1https://gitlab.bluej.org/bluej/bjgf/-/issues/2186[GREENFOOT-859] Terminating ask-method in World-constructor leads to unexpect...2021-07-06T14:31:58ZNeil Brown[GREENFOOT-859] Terminating ask-method in World-constructor leads to unexpected behavior(Related to the solved [Greenfoot-849|http://bugs.bluej.org/browse/GREENFOOT-849] )
Try this:
* Use the ask-method in the constructor of a class (e.g. in the World write var String x = Greenfoot.ask("answer me"))
* Reset. The ask-...(Related to the solved [Greenfoot-849|http://bugs.bluej.org/browse/GREENFOOT-849] )
Try this:
* Use the ask-method in the constructor of a class (e.g. in the World write var String x = Greenfoot.ask("answer me"))
* Reset. The ask-dialog appears.
* Click reset. You will be asked "The scenario is currently waiting for input. … you need to terminate the current execution." You click "terminate"
* Now the world shrinks to small size and is fully occupied by the dialog-box.
Everything works correctly, but students are worried if the World suddenly "disappears" and think they have made something wrong.
So perhaps one could think about assimilating the both behaviors - like "When Greenfoot.ask is called in a World-constructor we let the World disappear and only show the dialog-box." or, alternatively: "When the ask-method is terminated by the user via the reset-button we create the World-size and then put the ask-method on it."
---
**Issue metadata**
- Issue type: Bug
- Priority: Lowesthttps://gitlab.bluej.org/bluej/bjgf/-/issues/2185[GREENFOOT-858] The execution twirler does not show when user code takes a lo...2021-05-12T09:09:36ZNeil Brown[GREENFOOT-858] The execution twirler does not show when user code takes a long time to runGreenfoot has a feature where an execution twirler control shows if the user code takes too long, which provides help if the user has coded an infinite loop or similar. This was broken in version 3.6.1, such that it no longer shows. It...Greenfoot has a feature where an execution twirler control shows if the user code takes too long, which provides help if the user has coded an infinite loop or similar. This was broken in version 3.6.1, such that it no longer shows. It should be fixed.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.7.0Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2184[GREENFOOT-857] No reasonable fix offered2021-04-20T11:28:56ZMichael Kölling[GREENFOOT-857] No reasonable fix offeredNo reasonable fix is offered for 'Path' and 'Paths'.
They should offer "import java.nio.file.Path" (or Paths) as a fix.
Line of code used in source:
Path path = Paths.get("target");
---
**Issue metadata**
- Issue type: Bug
-...No reasonable fix is offered for 'Path' and 'Paths'.
They should offer "import java.nio.file.Path" (or Paths) as a fix.
Line of code used in source:
Path path = Paths.get("target");
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 3.6.1Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2183[GREENFOOT-856] GF installer associates GF with too many file types2021-04-27T12:26:04ZNeil Brown[GREENFOOT-856] GF installer associates GF with too many file typesUnder Linux Mint (currently 20, but the behaviour has been observed for years), the Greenfoot installer seems to associate Greenfoot with many file types that it should leave alone. The extremely annoying consequence is that every time I...Under Linux Mint (currently 20, but the behaviour has been observed for years), the Greenfoot installer seems to associate Greenfoot with many file types that it should leave alone. The extremely annoying consequence is that every time I click on a file of type ".txt" or ".bluej", Greenfoot launches and tries to open the file.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2182[GREENFOOT-855] Greenfoot editor: Tab selection menu unusable when many files...2021-03-08T15:19:04ZNeil Brown[GREENFOOT-855] Greenfoot editor: Tab selection menu unusable when many files open in editorUnder Linux Mint Xfce:
* Open many files in the Greenfoot editor (so many that their titles fill the window's width)
* click the downwards-pointing triangle button that appears to the right (I presume it is supposed to offer a tab se...Under Linux Mint Xfce:
* Open many files in the Greenfoot editor (so many that their titles fill the window's width)
* click the downwards-pointing triangle button that appears to the right (I presume it is supposed to offer a tab selection menu?)
* the menu does open, but it is only a few pixels wide and seems to have a number of empty entries;
* the menu *does* have the correct number of entries, and tab selection *does* work. It's just not rendered correctly.
I apologize for my stupidity, but I seem to be unable to attach a screenshot in Jira.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2181[GREENFOOT-854] No way to select between multiple overlapping objects when ca...2021-04-27T12:19:03ZNeil Brown[GREENFOOT-854] No way to select between multiple overlapping objects when calling a methodIf you have many objects on top of each other, and you want to pass one as an argument to a method call by clicking on it, there's no way to choose between the objects. Works fine for left-clicking one object, or right-clicking multiple...If you have many objects on top of each other, and you want to pass one as an argument to a method call by clicking on it, there's no way to choose between the objects. Works fine for left-clicking one object, or right-clicking multiple (where we show a context menu to choose).
We should also show a context menu when left-clicking on multiple objects.
---
**Issue metadata**
- Issue type: Bug
- Priority: High
- Fix versions: 3.7.0Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2180[GREENFOOT-853] Google Maps API issue2021-03-03T15:46:17ZNeil Brown[GREENFOOT-853] Google Maps API issueThe Google Maps API has updated such that you can't use it now without an API key (see https://cloud.google.com/maps-platform/user-guide/account-changes/ for some details). We should either document how to obtain an API key, or just rem...The Google Maps API has updated such that you can't use it now without an API key (see https://cloud.google.com/maps-platform/user-guide/account-changes/ for some details). We should either document how to obtain an API key, or just remove the Map class entirely if it's not easy to get a free key for educational use.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.7.0Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2179[GREENFOOT-852] Blue insert-marker sometimes disappears2021-05-11T16:53:18ZNeil Brown[GREENFOOT-852] Blue insert-marker sometimes disappearsIn school my students with Windows 10 and Greenfoot 3.6.1. While at home (macOS) I never encounter this problem, sometimes the blue marker just disappears at the machines of my students. The Stride-editor ist still working as expected ex...In school my students with Windows 10 and Greenfoot 3.6.1. While at home (macOS) I never encounter this problem, sometimes the blue marker just disappears at the machines of my students. The Stride-editor ist still working as expected except for the case that you can no more see the blue insertion-marker (so you e.g. have to press the space-key to see where you are). Restarting Greenfoot fixes it.
It's happening not often (15 students working 60 minutes, perhaps 2, 3 occurrences of the bug).
No idea how this could be replicated.
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 3.7.0https://gitlab.bluej.org/bluej/bjgf/-/issues/2178[GREENFOOT-851] Word misspeling in German2021-05-05T15:57:23ZBabis Kyfonidis[GREENFOOT-851] Word misspeling in Germanin the contextmenu in the Stride editor. The menus entry for deleting a frame is labled "Läschen", whereas "Löschen" would be correct.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.7.0in the contextmenu in the Stride editor. The menus entry for deleting a frame is labled "Läschen", whereas "Löschen" would be correct.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.7.0Pierre Weill-TessierPierre Weill-Tessierhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2177[GREENFOOT-850] Focus of insertpoint on wrong place2021-07-03T21:19:15ZNeil Brown[GREENFOOT-850] Focus of insertpoint on wrong placeWhen you are calling methods that don't need a parameter sometimes the insertpoint goes inside the brackets if you autocomplete the methodename with strg+space. This is very annoying as you always have to move the insertpoint manually ou...When you are calling methods that don't need a parameter sometimes the insertpoint goes inside the brackets if you autocomplete the methodename with strg+space. This is very annoying as you always have to move the insertpoint manually outside the brackets.
Right now I only can reconstruct cases where a method is called at the beginning of a line, but I remember that I had the same problem also in some cases in middle of a line.
Reconstruct it: Create a Stride-scenario, then
* go e.g. to an Actor-class and type getWorld() at the beginning of the line. (only type getw and autocomplete with strg-space);
* go e.g. go to a World-class and type getWidth() at the beginning of a line.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2176[GREENFOOT-849] Greenfoot.ask in World-constructor not shown / blocking World...2021-05-12T09:08:52ZNeil Brown[GREENFOOT-849] Greenfoot.ask in World-constructor not shown / blocking World-constructionOne of my students created a scenario where in the constructor some code like
{{this.username = Greenfoot.ask("What's your name?")}}
is used. In most cases the project does not compile due to "World needs compiling". I can open cla...One of my students created a scenario where in the constructor some code like
{{this.username = Greenfoot.ask("What's your name?")}}
is used. In most cases the project does not compile due to "World needs compiling". I can open classes, change everything etc. It seems that the input-dialogue somehow is hidden and waits for being sent.
I tried to duplicate the project even manually, and it worked without problems. But after a few recompilations it showed the same behavior.
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 3.7.0Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2175[GREENFOOT-848] Indentation problem 22020-04-15T11:21:36ZBabis Kyfonidis[GREENFOOT-848] Indentation problem 2New class. Load it. Create some empty lines before the comments. Set the cursor on the edge of the comments add start backspacing. Indentation is messed up
---
**Issue metadata**
- Issue type: Bug
- Priority: LowNew class. Load it. Create some empty lines before the comments. Set the cursor on the edge of the comments add start backspacing. Indentation is messed up
---
**Issue metadata**
- Issue type: Bug
- Priority: Lowhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2174[GREENFOOT-847] Indentation problem 2020-04-21T11:24:16ZBabis Kyfonidis[GREENFOOT-847] Indentation problem When you load a newly created class in Java and then you delete the comment line on the act() method and then try to add a new line in it, you can write code without indentation.
---
**Issue metadata**
- Issue type: Bug
- Priority: Me...When you load a newly created class in Java and then you delete the comment line on the act() method and then try to add a new line in it, you can write code without indentation.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2173[GREENFOOT-846] Cursor Missing2021-05-12T17:10:57ZBabis Kyfonidis[GREENFOOT-846] Cursor MissingI started GreenFoot, I added a 'try-catch' block and I deleted the outer frame immediately. It generated the empty box described in the 845 bug an the cursor disapeared
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix...I started GreenFoot, I added a 'try-catch' block and I deleted the outer frame immediately. It generated the empty box described in the 845 bug an the cursor disapeared
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.7.0Pierre Weill-TessierPierre Weill-Tessierhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2172[GREENFOOT-845] Delete outer frame creates an empty bordered box2021-05-11T15:15:31ZBabis Kyfonidis[GREENFOOT-845] Delete outer frame creates an empty bordered boxWhen I tried to delete the outer frame an empty box with a black border appeared in the screen
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 3.7.0When I tried to delete the outer frame an empty box with a black border appeared in the screen
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 3.7.0Pierre Weill-TessierPierre Weill-Tessierhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2171[GREENFOOT-844] Mouse API a bit incomplete2021-04-29T11:50:45ZNeil Brown[GREENFOOT-844] Mouse API a bit incompleteGreenfoot has a MouseInfo class that you can obtain with Greenfoot.getMouseInfo(), and that has a getActor() method which gets the actor involved; the actor that was clicked on, or dragged. But there's no way at the moment to tell the d...Greenfoot has a MouseInfo class that you can obtain with Greenfoot.getMouseInfo(), and that has a getActor() method which gets the actor involved; the actor that was clicked on, or dragged. But there's no way at the moment to tell the difference between these events (and the user may well want to know the difference). I suggest we should add a method to MouseInfo to tell the difference between clicking and dragging. We could also allow recording the start position that the actor was dragged from; this might need some design thinking.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2170[GREENFOOT-843] Ability to view prompts for filled-in Stride slots2020-01-20T15:36:47ZNeil Brown[GREENFOOT-843] Ability to view prompts for filled-in Stride slotsIn Stride, when a slot is empty, there is usually a prompt-text shown. For some frames like var frames and if frames it's initially structural hints (e.g. "type"), but for method call frames it becomes contextual parameter names, which ...In Stride, when a slot is empty, there is usually a prompt-text shown. For some frames like var frames and if frames it's initially structural hints (e.g. "type"), but for method call frames it becomes contextual parameter names, which is particularly useful. But once you've filled in (or even started to fill in) the slot, the prompt can no longer be seen. We should investigate some sort of mechanism (Mouse-over? With modifier key? Keyboard shortcut?) to allow the user to see the prompts again.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2169[GREENFOOT-842] Missing confirmation dialog when deleting class in Greenfoot2020-04-21T11:25:39ZNeil Brown[GREENFOOT-842] Missing confirmation dialog when deleting class in GreenfootWhen you delete a class in Greenfoot, you should get an "Are you sure?" confirmation dialog, but at the moment, Greenfoot just deletes the class without further prompting.
---
**Issue metadata**
- Issue type: Bug
- Priority: MediumWhen you delete a class in Greenfoot, you should get an "Are you sure?" confirmation dialog, but at the moment, Greenfoot just deletes the class without further prompting.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2168[GREENFOOT-841] Stride abstract methods don't load/save params correctly2021-04-28T11:14:13ZNeil Brown[GREENFOOT-841] Stride abstract methods don't load/save params correctlyStride's loading and saving code for MethodProtoElement doesn't align. The loading code expects the parameters to be children of a "params" sub-element, whereas the saving code saves them as children of the method. This means when you ...Stride's loading and saving code for MethodProtoElement doesn't align. The loading code expects the parameters to be children of a "params" sub-element, whereas the saving code saves them as children of the method. This means when you reload a Stride abstract method with parameters, the parameters disappear.
Also, while fixing: it's impossible to add a new parameter to an abstract method using only the keyboard. Pressing right at the end of the name does not go into the empty parameters like it should (like it does for non-abstract methods).
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.7.0Babis KyfonidisBabis Kyfonidis