bjgf issueshttps://gitlab.bluej.org/bluej/bjgf/-/issues2018-05-24T14:12:52Zhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2047[GREENFOOT-713] An empty stage changes its location and size if a new scenari...2018-05-24T14:12:52ZAmjad Altadmri[GREENFOOT-713] An empty stage changes its location and size if a new scenario is opened.The correct behaviour for different cases as agreed:
In case of a new window opened for this scenario: all properties should be loaded from the project's properties file, if they available.
In case of existing empty window: locatio...The correct behaviour for different cases as agreed:
In case of a new window opened for this scenario: all properties should be loaded from the project's properties file, if they available.
In case of existing empty window: location of the window shouldn't change; the width/height should only get bigger if the value from the properties bigger than the current one.
---
**Issue metadata**
- Issue type: Task
- Priority: MediumAmjad AltadmriAmjad Altadmrihttps://gitlab.bluej.org/bluej/bjgf/-/issues/2046[GREENFOOT-712] Automatic compilation stops, compilation state shown incorrectly2018-05-21T16:45:38ZDavin McCall[GREENFOOT-712] Automatic compilation stops, compilation state shown incorrectlyIt seems possible to get the editor in a state where automatic compilation no longer happens or errors are not reported.
# Open ants scenario, and open AntWorld in the editor
# position cursor just after the opening curly brace for t...It seems possible to get the editor in a state where automatic compilation no longer happens or errors are not reported.
# Open ants scenario, and open AntWorld in the editor
# position cursor just after the opening curly brace for the constructor (on same line)
# quickly press enter, e, r, r (i.e. new line then type "err")
# if it shows an error, remove the entire line (home + shift down + delete) and try again
# at some point it stops flagging an error.
---
**Issue metadata**
- Issue type: Task
- Priority: MediumDavin McCallDavin McCallhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2045[GREENFOOT-711] World can be instantiated even if it cannot be compiled.2018-05-21T15:46:34ZDavin McCall[GREENFOOT-711] World can be instantiated even if it cannot be compiled.If a stale .class file exists the world can be instantiated (via "reset" or opening the scenario) even if the source cannot be compiled. (Also, If it can be compiled - does this mean an out-of-date world potentially gets instantiated?).
...If a stale .class file exists the world can be instantiated (via "reset" or opening the scenario) even if the source cannot be compiled. (Also, If it can be compiled - does this mean an out-of-date world potentially gets instantiated?).
Also, editing the world class to introduce an error doesn't appear to mark the class as containing an error - occurs spuriously. Try eg inserting error, if it is marked then remove, reset, re-insert error, etc, several times.
---
**Issue metadata**
- Issue type: Task
- Priority: MediumDavin McCallDavin McCallhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2044[GREENFOOT-710] Intermittent bug when removing object from the world class2018-09-18T13:43:18ZHamza Hamza[GREENFOOT-710] Intermittent bug when removing object from the world classThis is a bug reported by one of the Greenfoot teachers. The project that shows the bug is attached. "It is solitaire game Aces Up. One team had a strange intermittent bug where, rarely, calling removeObject() on a Card caused it to be m...This is a bug reported by one of the Greenfoot teachers. The project that shows the bug is attached. "It is solitaire game Aces Up. One team had a strange intermittent bug where, rarely, calling removeObject() on a Card caused it to be moved to (0, 0) rather than disappearing from the world. The removal happens in the method Pile.removeTopCard().
The problem has occurred with Greenfoot 3.1.0 on two different Mac computers, the most recent running OS X El Capitan (10.11.6)"
There is a link of the video showing many successful card removals, followed by an occurrence of the bug [[https://drive.google.com/open?id=1wHtecsmkHHR-SBCWCMtqWI8kmgbTJFE-|https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1wHtecsmkHHR-SBCWCMtqWI8kmgbTJFE-&data=01%7C01%7CHamza.Hamza%40kcl.ac.uk%7C8d6f719ba78042201e1008d5b9c6138a%7C8370cf1416f34c16b83c724071654356%7C0&sdata=Iikq4vz9k9NqtHdfm2t4ew2y9guvrF9o47W8L8Zjr9w%3D&reserved=0]].
The rules for the game is summarised:
* Clicking on the deck deals a card to each of 4 piles.
* A card can be removed from the top of a pile by clicking on it if another card of the same suit and higher rank is at the top of a pile.
* A card can be moved from the top of a pile to an empty pile by dragging it.
* To win the game, the deck must be empty with exactly 1 ace in each pile.
It is also attached in this ticket the screenshot of the bug.
!image.png!
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.1Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2043[GREENFOOT-709] Many controls placement go wrong if the greenfoot window too ...2018-05-18T16:24:36ZAmjad Altadmri[GREENFOOT-709] Many controls placement go wrong if the greenfoot window too narrowLook to increase the minimum width of the GreefootStage (or just the effected parts of it)
---
**Issue metadata**
- Issue type: Task
- Priority: MediumLook to increase the minimum width of the GreefootStage (or just the effected parts of it)
---
**Issue metadata**
- Issue type: Task
- Priority: MediumAmjad AltadmriAmjad Altadmrihttps://gitlab.bluej.org/bluej/bjgf/-/issues/2042[GREENFOOT-708] Forbid resizing Error messages.2018-05-17T14:55:26ZAmjad Altadmri[GREENFOOT-708] Forbid resizing Error messages.FX error messages are showing on the correct size and resizing them has no benefit, and it is not visually good.
---
**Issue metadata**
- Issue type: Task
- Priority: MediumFX error messages are showing on the correct size and resizing them has no benefit, and it is not visually good.
---
**Issue metadata**
- Issue type: Task
- Priority: MediumAmjad AltadmriAmjad Altadmrihttps://gitlab.bluej.org/bluej/bjgf/-/issues/2041[GREENFOOT-707] Speed slider is not disabled when no project is open2018-05-18T12:40:14ZDavin McCall[GREENFOOT-707] Speed slider is not disabled when no project is openWhen starting Greenfoot with no project open (and possibly when closing a project to leave an empty window) the speed slider is not disabled. (Moving the slider throws an exception.)
---
**Issue metadata**
- Issue type: Task
- Prior...When starting Greenfoot with no project open (and possibly when closing a project to leave an empty window) the speed slider is not disabled. (Moving the slider throws an exception.)
---
**Issue metadata**
- Issue type: Task
- Priority: MediumDavin McCallDavin McCallhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2040[GREENFOOT-706] Greenfoot stage title not set if no project open2018-05-18T10:25:41ZDavin McCall[GREENFOOT-706] Greenfoot stage title not set if no project openIf starting Greenfoot with no default project open, the title of the main window isn't set. If closing a scenario and leaving an empty window, the title isn't updated and still refers to the scenario.
---
**Issue metadata**
- Issue ...If starting Greenfoot with no default project open, the title of the main window isn't set. If closing a scenario and leaving an empty window, the title isn't updated and still refers to the scenario.
---
**Issue metadata**
- Issue type: Task
- Priority: MediumAmjad AltadmriAmjad Altadmrihttps://gitlab.bluej.org/bluej/bjgf/-/issues/2039[GREENFOOT-705] Fixes the common About dialog for BlueJ and Greenfoot2018-05-17T14:55:56ZAmjad Altadmri[GREENFOOT-705] Fixes the common About dialog for BlueJ and GreenfootThere are many issues in international version of the about dialogs and few in the template itself.
For example, missing labels in some parts, extra ones, and others have repeated links due to the existing of labels in the labels file...There are many issues in international version of the about dialogs and few in the template itself.
For example, missing labels in some parts, extra ones, and others have repeated links due to the existing of labels in the labels file and in the code. Some labels need fixing the internationalisation. In some languages, BlueJ word appears instead of Greenfoot in the about dialog.
---
**Issue metadata**
- Issue type: Task
- Priority: MediumAmjad AltadmriAmjad Altadmrihttps://gitlab.bluej.org/bluej/bjgf/-/issues/2038[GREENFOOT-704] Tags can't be fetched during export to web2018-05-17T11:08:15ZNeil Brown[GREENFOOT-704] Tags can't be fetched during export to webWhen trying to export a scenario, this error appears:
Internal error: Error while publishing scenario
Exception message: hostname in certificate didn't match: <www.greenfoot.org> != <blackroom.bluej.org> OR <blackroom.bluej.org> OR <...When trying to export a scenario, this error appears:
Internal error: Error while publishing scenario
Exception message: hostname in certificate didn't match: <www.greenfoot.org> != <blackroom.bluej.org> OR <blackroom.bluej.org> OR <bluej.org> OR <blueroom.bluej.org> OR <bugs.bluej.org> OR <lists.bluej.org> OR <stats.bluej.org> OR <www.bluej.org>
javax.net.ssl.SSLException: hostname in certificate didn't match: <www.greenfoot.org> != <blackroom.bluej.org> OR <blackroom.bluej.org> OR <bluej.org> OR <blueroom.bluej.org> OR <bugs.bluej.org> OR <lists.bluej.org> OR <stats.bluej.org> OR <www.bluej.org>
at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:220)
at org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:149)
at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:130)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:390)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
at greenfoot.export.mygame.MyGameClient.getCommonTags(MyGameClient.java:446)
at greenfoot.guifx.export.ExportPublishTab$2.construct(ExportPublishTab.java:551)
at bluej.utility.FXWorker$1.run(FXWorker.java:64)
at java.lang.Thread.run(Thread.java:748)
It seems the issue is that our server config uses SNI, where we use multiple SSL certificates on the same IP for different sites -- SNI sends the hostname when asking for the certificate so that the server can send the right certificate. The problem seems to be that our version of Apache's HTTP client is too old to support SNI properly, this post suggests upgrading to 4.5.1 would fix it:
https://github.com/eirslett/frontend-maven-plugin/issues/325
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2037[GREENFOOT-703] Save-the-world not recording actor movement2018-05-16T08:55:20ZDavin McCall[GREENFOOT-703] Save-the-world not recording actor movementActor drags need to be recorded by the save-the-world recorder mechanism (GreenfootRecorder). The relevant method in GreenfootRecorder is currently never called (and has the wrong argument type).
---
**Issue metadata**
- Issue type:...Actor drags need to be recorded by the save-the-world recorder mechanism (GreenfootRecorder). The relevant method in GreenfootRecorder is currently never called (and has the wrong argument type).
---
**Issue metadata**
- Issue type: Task
- Priority: MediumDavin McCallDavin McCallhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2036[GREENFOOT-702] Stage gets smaller after (first) world construction2018-05-23T11:06:56ZDavin McCall[GREENFOOT-702] Stage gets smaller after (first) world constructionWhen opening a scenario, if the initial stage size is "too" large, it shrinks after the world is constructed. It shouldn't - it should only get larger (to show the whole world), never smaller.
---
**Issue metadata**
- Issue type: Task...When opening a scenario, if the initial stage size is "too" large, it shrinks after the world is constructed. It shouldn't - it should only get larger (to show the whole world), never smaller.
---
**Issue metadata**
- Issue type: Task
- Priority: MediumAmjad AltadmriAmjad Altadmrihttps://gitlab.bluej.org/bluej/bjgf/-/issues/2035[GREENFOOT-701] Adding "Open gfar Scenario.." menu option to the Scenario menu2018-05-17T15:47:03ZHamza Hamza[GREENFOOT-701] Adding "Open gfar Scenario.." menu option to the Scenario menu
---
**Issue metadata**
- Issue type: Task
- Priority: Medium
---
**Issue metadata**
- Issue type: Task
- Priority: MediumHamza HamzaHamza Hamzahttps://gitlab.bluej.org/bluej/bjgf/-/issues/2034[GREENFOOT-699] Increasing New Scenario dialog's width will not increase the ...2018-05-09T19:11:08ZAmjad Altadmri[GREENFOOT-699] Increasing New Scenario dialog's width will not increase the text fields' width.This is for both Java and Stride new scenarios.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.0This is for both Java and Stride new scenarios.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.0Hamza HamzaHamza Hamzahttps://gitlab.bluej.org/bluej/bjgf/-/issues/2033[GREENFOOT-700] New Scenario dialog's error message shows wrongly.2018-05-09T19:10:06ZAmjad Altadmri[GREENFOOT-700] New Scenario dialog's error message shows wrongly.It shows without even leaving the name text field, for example when trying to maximise the dialog.
This is for both Java and Stride new scenarios.
---
**Issue metadata**
- Issue type: Bug
- Priority: MediumIt shows without even leaving the name text field, for example when trying to maximise the dialog.
This is for both Java and Stride new scenarios.
---
**Issue metadata**
- Issue type: Bug
- Priority: MediumHamza HamzaHamza Hamzahttps://gitlab.bluej.org/bluej/bjgf/-/issues/2032[GREENFOOT-698] New Scenario dialog's title is wrong.2018-05-09T19:10:51ZAmjad Altadmri[GREENFOOT-698] New Scenario dialog's title is wrong.This is for both Java and Stride new scenarios.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.0This is for both Java and Stride new scenarios.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.0Hamza HamzaHamza Hamzahttps://gitlab.bluej.org/bluej/bjgf/-/issues/2031[GREENFOOT-697] The lines got messed up in the Java editor. 2021-04-27T12:29:34ZAmjad Altadmri[GREENFOOT-697] The lines got messed up in the Java editor. No clue why, nor there are any error messages. Test on HiDPI.
See attached screenshot.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.7.0No clue why, nor there are any error messages. Test on HiDPI.
See attached screenshot.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.7.0Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/2030[GREENFOOT-696] Update Copyright dialog.2018-05-10T17:33:44ZAmjad Altadmri[GREENFOOT-696] Update Copyright dialog.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.0
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.0Hamza HamzaHamza Hamzahttps://gitlab.bluej.org/bluej/bjgf/-/issues/2029[GREENFOOT-695] Shortcuts don't work on Mac2018-05-18T12:33:04ZAmjad Altadmri[GREENFOOT-695] Shortcuts don't work on Mac
---
**Issue metadata**
- Issue type: Task
- Priority: Medium
---
**Issue metadata**
- Issue type: Task
- Priority: MediumAmjad AltadmriAmjad Altadmrihttps://gitlab.bluej.org/bluej/bjgf/-/issues/2027[GREENFOOT-693] Importing a class caused the control buttons images to disapp...2018-05-17T14:56:03ZAmjad Altadmri[GREENFOOT-693] Importing a class caused the control buttons images to disappear. Can't reproduce, and nothing in the debug log.
Happened only with the first import in a scenario.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.0Can't reproduce, and nothing in the debug log.
Happened only with the first import in a scenario.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.0Amjad AltadmriAmjad Altadmri