bjgf issueshttps://gitlab.bluej.org/bluej/bjgf/-/issues2021-07-06T14:31:58Zhttps://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/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/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/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/1779[GREENFOOT-435] Editor preferences need rethinking2020-02-17T13:07:45ZMichael Kölling[GREENFOOT-435] Editor preferences need rethinkingThe editor preference pane currently applies to the Java editor only.
We either need another one for the Stride editor, or two sections in the editor pref pane \\- maybe the font size should apply to both.
In any case, there should be ...The editor preference pane currently applies to the Java editor only.
We either need another one for the Stride editor, or two sections in the editor pref pane \\- maybe the font size should apply to both.
In any case, there should be a numerical preference setting for font size in preferences that applies to the Stride editor.
---
**Issue metadata**
- Issue type: Task
- Priority: LowNeil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2093[GREENFOOT-762] Stride printing issues2020-02-17T13:07:44ZHamza Hamza[GREENFOOT-762] Stride printing issuesWhen printing Stride source code, it does not show the complete line if the line is long [^STRIDE.pdf]
---
**Issue metadata**
- Issue type: Task
- Priority: MediumWhen printing Stride source code, it does not show the complete line if the line is long [^STRIDE.pdf]
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1977[GREENFOOT-642] Change the field image in Stride’s cheat sheet2020-02-17T13:07:42ZAmjad Altadmri[GREENFOOT-642] Change the field image in Stride’s cheat sheetThis is suggested by Neil after a discussion in JavaOne4Kids to eliminate the confusion students have between local variables and fields.
---
**Issue metadata**
- Issue type: Task
- Priority: MediumThis is suggested by Neil after a discussion in JavaOne4Kids to eliminate the confusion students have between local variables and fields.
---
**Issue metadata**
- Issue type: Task
- Priority: MediumNeil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1924[GREENFOOT-586] Spacing too tight with larger font sizes2020-02-17T13:07:42ZMichael Kölling[GREENFOOT-586] Spacing too tight with larger font sizesWhen increasing font sizes (e.g. for projection), the spacing between some elements is too small.
For example, in field declarations: between type and field name. Also between access modifier and type.
Other elements should also b...When increasing font sizes (e.g. for projection), the spacing between some elements is too small.
For example, in field declarations: between type and field name. Also between access modifier and type.
Other elements should also be checked (class declaration header, etc.)
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1894[GREENFOOT-556] Creating variables with diamond notation and autocomplete, sh...2020-02-17T13:07:42ZNeil Brown[GREENFOOT-556] Creating variables with diamond notation and autocomplete, should have focus on the generic typeWhen creating a variable of a class that uses the diamond notation
using autocomplete (e.g.: ArrayList), after selecting the type, the
focus go straight to the name of the variable. This may be the most
common case, but if the clas...When creating a variable of a class that uses the diamond notation
using autocomplete (e.g.: ArrayList), after selecting the type, the
focus go straight to the name of the variable. This may be the most
common case, but if the class has a diamond notation wouldn't be better
to somehow indicate this?
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1881[GREENFOOT-543] Reduce amount of code regeneration2020-02-17T13:07:42ZNeil Brown[GREENFOOT-543] Reduce amount of code regenerationIn the Stride editor we call regenerateAndReparse whenever we need to be sure the code is up to date. At the moment, this plays safe, and regenerates the code every time. I think we can improve this to reduce the amount of regeneration...In the Stride editor we call regenerateAndReparse whenever we need to be sure the code is up to date. At the moment, this plays safe, and regenerates the code every time. I think we can improve this to reduce the amount of regeneration (and especially, the amount of reparsing). I'm hesitant to make a big change to this just before the 3.0.3 release, but it's something to do for the release after.
---
**Issue metadata**
- Issue type: Task
- Priority: MediumNeil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1819[GREENFOOT-478] Display bracket shortcuts in cheat sheet2020-02-17T13:07:42ZNeil Brown[GREENFOOT-478] Display bracket shortcuts in cheat sheetIn Stride, one functionality that is not obvious is being able to select text and press bracket to surround it with a bracket. We could make this more discoverable by showing it in the cheat sheet once a selection is made. (And similar...In Stride, one functionality that is not obvious is being able to select text and press bracket to surround it with a bracket. We could make this more discoverable by showing it in the cheat sheet once a selection is made. (And similarly, show delete-bracket-with/without-content when we are near a bracket).
---
**Issue metadata**
- Issue type: Task
- Priority: LowNeil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1812[GREENFOOT-468] Add class and method comments to all classes2020-02-17T13:07:41ZMichael Kölling[GREENFOOT-468] Add class and method comments to all classesA subtask should be created for every task where the documentation is currently incomplete.
---
**Issue metadata**
- Issue type: Task
- Priority: MediumA subtask should be created for every task where the documentation is currently incomplete.
---
**Issue metadata**
- Issue type: Task
- 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/2158[GREENFOOT-831] Scenario does not compile/not react without reason2019-11-17T18:16:31ZNeil Brown[GREENFOOT-831] Scenario does not compile/not react without reasonIn classroom I often encounter the problem that the scenario greys out and no interaction with the editor is possible (windows still can be switched, but also no reaction on clicking the reset or act-button). You have to quit Greenfoot c...In classroom I often encounter the problem that the scenario greys out and no interaction with the editor is possible (windows still can be switched, but also no reaction on clicking the reset or act-button). You have to quit Greenfoot completely/restart, then the scenario is working again. As far as I can see there is no particular reason for this behavior (like errors in the code).
The problem is concerning Windows 10 with 3.5.3, Stride.
Some weeks ago I gave a lesson for other teachers, also Windows 10 with (I hope I remember well) 3.5.4, Stride. Same problems.
At home I am working with Mac (no problems), so excuse me being not very specific in my description of the errors (in lessons I am running around helping students, so I am distracting from analyzing the bugs).
As I have encountered this problems in two different locations I am sure that this is nothing specific to your school-network or anything.
I am marking this bug as "high", because such bugs are very, very frustrating. The teachers I have been interacting came to the conclusion "Greenfoot is a buggy amateur-tool", my pupils get angry when they don't know if the world is not compiling because of their own fault or because the software doesn't work correctly.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2155[GREENFOOT-828] Allow inclusion of custom library in exported JAR2019-05-03T15:42:01ZNeil Brown[GREENFOOT-828] Allow inclusion of custom library in exported JARGreenfoot allows use of custom JARs, but unlike BlueJ, there's no option to include extra JARs into the exported standalone JAR (made via the Share menu). We should probably add checkboxes like in BlueJ. This may depend somewhat on how...Greenfoot allows use of custom JARs, but unlike BlueJ, there's no option to include extra JARs into the exported standalone JAR (made via the Share menu). We should probably add checkboxes like in BlueJ. This may depend somewhat on how we solve GREENFOOT-827 which has a similar issue with how to depend on/include OpenJFX for export under Java 11.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2145[GREENFOOT-818] UserInfo.getUserImage() does not seem to work2018-11-13T11:37:31ZMichael Kölling[GREENFOOT-818] UserInfo.getUserImage() does not seem to workUserInfo.getUserImage() does seems broken on the Gallery. See
[https://www.greenfoot.org/scenarios/4714]
(Returns plain grey image instead of user image.)
---
**Issue metadata**
- Issue type: Bug
- Priority: MediumUserInfo.getUserImage() does seems broken on the Gallery. See
[https://www.greenfoot.org/scenarios/4714]
(Returns plain grey image instead of user image.)
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2142[GREENFOOT-815] UserInfo.isStorageAvailable() broken on gallery2018-11-12T18:02:28ZMichael Kölling[GREENFOOT-815] UserInfo.isStorageAvailable() broken on galleryThe UserInfo.isStorageAvailable() method should return false when run on the Gallery while not being logged in. Instead, it returns true.
---
**Issue metadata**
- Issue type: Bug
- Priority: MediumThe UserInfo.isStorageAvailable() method should return false when run on the Gallery while not being logged in. Instead, it returns true.
---
**Issue metadata**
- Issue type: Bug
- Priority: MediumDavin McCallDavin McCallhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1754[GREENFOOT-410] Allow UserInfo.getTop(...) to function when not logged in (ap...2018-10-19T16:11:41ZDavin McCall[GREENFOOT-410] Allow UserInfo.getTop(...) to function when not logged in (applets on greenfoot.org website)See this discussion:
http://www.greenfoot.org/topics/7595/0
Implementing this feature request would require:
\\- updating Greenfoot itself (the relevant functionality is in the shared public jar, so would not require a Greenfoot releas...See this discussion:
http://www.greenfoot.org/topics/7595/0
Implementing this feature request would require:
\\- updating Greenfoot itself (the relevant functionality is in the shared public jar, so would not require a Greenfoot release to activate)
\\- update the storage server
\\- update Greenfoot documentation
---
**Issue metadata**
- Issue type: Task
- Priority: LowNeil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1748[GREENFOOT-404] Volume-methods for SoundStreams is dysfunctional2018-10-19T16:11:30ZNeil Brown[GREENFOOT-404] Volume-methods for SoundStreams is dysfunctionalthe setVolume\- and getVolume-methods in class SoundStream does not match their expected behaviours.
I: (Package sound, class SoundStream)
setVolume delegates a change of the volume to a logarithmic transformed value to the audio line....the setVolume\- and getVolume-methods in class SoundStream does not match their expected behaviours.
I: (Package sound, class SoundStream)
setVolume delegates a change of the volume to a logarithmic transformed value to the audio line.
getVolume however directly returns the volume of the audioline.
Thus, for a given GreenfootSound-reference "gsound" resulting from an mp3-file the following odd behaviour occurs:
{noformat}
gsound.setVolume(5);
System.out.println(gsound.getVolume()); // result: 34
{noformat}
Basically, if you give a specific value to the setVolume-methode, the getVolume-method should return exactly that value after that.
II: (Package sound, class SoundUtils)
Also, for performing the logarithmic transformation the method logToLin in class SoundUtils is used. This method claims to convert a value between 0-100 to a value in the same range.
Actually, if 0 is the given parameter, this is incorrect. Instead, Math.log(0) is conducted and thus, the resulting value is something resulting from an operation on "negative infinity" (e.g. \-2147483648); see javadoc of Math.log.
{noformat}
gsound.setVolume(0);
System.out.println(gsound.getVolume()); // result: -2147483648
{noformat}
---
**Issue metadata**
- Issue type: Bug
- Priority: MediumNeil BrownNeil Brown