bjgf issueshttps://gitlab.bluej.org/bluej/bjgf/-/issues2021-08-25T14:37:15Zhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1261[BLUEJ-1287] No warning on compiling unsafe collection code2021-08-25T14:37:15ZNeil Brown[BLUEJ-1287] No warning on compiling unsafe collection codeThis code should generate a warning message:
import java.util.ArrayList;
public class TestRaw
{ private ArrayList<String> g = new ArrayList(); }
I believe this is set using the the bluej.defs option
bluej.compiler.unchecke...This code should generate a warning message:
import java.util.ArrayList;
public class TestRaw
{ private ArrayList<String> g = new ArrayList(); }
I believe this is set using the the bluej.defs option
bluej.compiler.unchecked=true
However this no longer seems to work. Also affects Version 5.
---
**Issue metadata**
- Issue type: Bug
- Priority: Highhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1260[BLUEJ-1286] Investigate fixing JavaFX bugs2020-02-17T12:35:20ZNeil Brown[BLUEJ-1286] Investigate fixing JavaFX bugsThere are a few JavaFX bugs that affect us and prevent us removing the last uses of Swing and similar from our code:
- File open bug: https://bugs.openjdk.java.net/browse/JDK-8187992
- Java Desktop: https://bugs.openjdk.java.net/br...There are a few JavaFX bugs that affect us and prevent us removing the last uses of Swing and similar from our code:
- File open bug: https://bugs.openjdk.java.net/browse/JDK-8187992
- Java Desktop: https://bugs.openjdk.java.net/browse/JDK-8091107
It looks like these are unlikely to be fixed by themselves, so we should investigate how feasible it is to fix these bugs.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1259[BLUEJ-1285] Restore Raspberry Pi GPIO functionality2020-02-17T12:35:09ZNeil Brown[BLUEJ-1285] Restore Raspberry Pi GPIO functionalityAt a point where BlueJ wasn't working on Raspberry Pi, we removed the functionality for using the GPIO ports: we removed the wiringpi library, the preferences pane, and the ability to launch as sudo.
Now that Raspberry Pi is working a...At a point where BlueJ wasn't working on Raspberry Pi, we removed the functionality for using the GPIO ports: we removed the wiringpi library, the preferences pane, and the ability to launch as sudo.
Now that Raspberry Pi is working again (via OpenJFX) we should restore this functionality.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1257[BLUEJ-1283] Can't compile while executing dialog should have Terminate button2019-10-04T14:09:33ZNeil Brown[BLUEJ-1283] Can't compile while executing dialog should have Terminate buttonIf you set some code executing, then try to compile while the code is still executing, you get a dialog which tells you that you can't compile while executing. Which is fine. The obvious two actions for the user are (a) wait, and (b) c...If you set some code executing, then try to compile while the code is still executing, you get a dialog which tells you that you can't compile while executing. Which is fine. The obvious two actions for the user are (a) wait, and (b) cancel the execution. Waiting is simple, but it may not be obvious to the user how to stop execution, if they haven't yet used the debugger. We should add a "Terminate execution" button right there in the dialog, which does the same as Terminate in the debugger.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1256[BLUEJ-1282] Add option to the editor margin menu to allow breakpoint toggling2019-10-04T14:04:05ZNeil Brown[BLUEJ-1282] Add option to the editor margin menu to allow breakpoint togglingBreakpoints in BlueJ can be toggled on and off by left-clicking the margin. If you right-click the margin, a context menu is shown which has the option to toggle line numbers. It would make sense if this menu also allows toggling a bre...Breakpoints in BlueJ can be toggled on and off by left-clicking the margin. If you right-click the margin, a context menu is shown which has the option to toggle line numbers. It would make sense if this menu also allows toggling a breakpoint on that line.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1255[BLUEJ-1281] Show source link in Javadoc should also position caret2019-10-04T14:02:13ZNeil Brown[BLUEJ-1281] Show source link in Javadoc should also position caretWhen you view the Documentation view in the editor, there is a "show source" link that we add to enable jumping back to that location in the source code. It scrolls to the given method but then it can take a moment to find that method o...When you view the Documentation view in the editor, there is a "show source" link that we add to enable jumping back to that location in the source code. It scrolls to the given method but then it can take a moment to find that method on screen. It would be better if we also positioned the caret in the source code at the method name (or selected the method name) at the same time.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1253[BLUEJ-1279] Hanging dialogues for actions on shared projected (Git) that has...2019-09-30T12:28:48ZNeil Brown[BLUEJ-1279] Hanging dialogues for actions on shared projected (Git) that has no content.An error occur on actions allowed for team work on a shared project (Git) that has been shared before any content was in the project.
To reproduce: create a project, then share it, then create a class and try to commit. The dialogue w...An error occur on actions allowed for team work on a shared project (Git) that has been shared before any content was in the project.
To reproduce: create a project, then share it, then create a class and try to commit. The dialogue would stay hanging, but an error is raised in the Git libraries we use as the base cannot be resolved to an ID.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1250[BLUEJ-1276] "Run Tests" button isn't disabled when "Test All" in menu is sel...2019-09-18T09:49:43ZNeil Brown[BLUEJ-1276] "Run Tests" button isn't disabled when "Test All" in menu is selected"Run Tests" button isn't disabled when "Test All" in menu is selected, this shows when a breakpoint is set and the debugger is at the breakpoint. I suppose the button actually never disable but when no breakpoint is set we don't have tim..."Run Tests" button isn't disabled when "Test All" in menu is selected, this shows when a breakpoint is set and the debugger is at the breakpoint. I suppose the button actually never disable but when no breakpoint is set we don't have time to notice that when tests are fast to run.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1243[BLUEJ-1269] error-message on startup2019-05-17T00:26:16ZNeil Brown[BLUEJ-1269] error-message on startupAfter launching BlueJ, while the splash-page is still showing, a window comes up with an error ( screenshot at: https://imgur.com/5aT7XwJ )
- BlueJ still finishes starting up and brings me to my most recent project (w/ the error-win...After launching BlueJ, while the splash-page is still showing, a window comes up with an error ( screenshot at: https://imgur.com/5aT7XwJ )
- BlueJ still finishes starting up and brings me to my most recent project (w/ the error-window still waiting for me to dismiss it).
- After dismissing the error, everything still continues okay. (Hence the "low priority".)
- This is on MacOS 10.14.3, BlueJ 4.2.1. ( bluej-debuglog.txt looks normal; it's below)
- This happened with a fresh install of BlueJ.
- It does *not* happen for a different user on my machine (!).
- I deleted my old bluej.properties and actually the entire ~/Library/Preferences/org.bluej/ , but it still happened.
- I'm *not* launching from a command-line where shell-environments might have some effect.
- Afaict, there aren't any symlink dirs that I'm trying to use or pass through.
- My bluej.properties *is* being correctly read and (on close) written back w/ updates.
Here's bluej-debuglog.txt:
====
BlueJ run started: Thu May 16 19:16:19 EDT 2019
BlueJ version 4.2.1
Java version 11.0.2
JavaFX version 11.0.2+1
Virtual machine: OpenJDK 64-Bit Server VM 11.0.2+9 (Oracle Corporation)
Running on: Mac OS X 10.14.3 (x86_64)
Java Home: /Applications/BlueJ 4.2.1/BlueJ.app/Contents/JDK/Home
----
Detected language "english" based on iso639-2 code "eng"
Opening project: /Users/ibarland/Foof
1558048583131: Listening for JDWP connection on address: 127.0.0.1:50556
Connected to debug VM via dt_socket transport...
Communication with debug VM fully established.
It's a bit puzzling to me -- I can't narrow down why it works for another user on my machine, but not for me!
Cheers,
--Ian B.
---
**Issue metadata**
- Issue type: Bug
- Priority: Lowhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1241[BLUEJ-1267] Object Has Private Access from Class2019-05-12T12:47:17ZNeil Brown[BLUEJ-1267] Object Has Private Access from ClassWhilst working with ArrayList i accidentally set its object to private, then i got this error. Afterwards i hanged it back to public, and yet until i quit and restarted the program i kept on getting the same bug.
---
**Issue metadata*...Whilst working with ArrayList i accidentally set its object to private, then i got this error. Afterwards i hanged it back to public, and yet until i quit and restarted the program i kept on getting the same bug.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1239[BLUEJ-1265] 'Show source' does not work in Unit test results dialogue if the...2019-04-30T11:15:12ZNeil Brown[BLUEJ-1265] 'Show source' does not work in Unit test results dialogue if the test class has an umlaut in the name'Show source' does not work in Unit test results dialogue if the test class has an umlaut in the name:
* Create class 'Kölling'
* Create test class (KöllingTest)
* Create test that fails
* Run tests
* Click 'Show source'
Sou...'Show source' does not work in Unit test results dialogue if the test class has an umlaut in the name:
* Create class 'Kölling'
* Create test class (KöllingTest)
* Create test that fails
* Run tests
* Click 'Show source'
Source does not open. Debug log shows:
Error or exception for source not in project: /Users/mik/Desktop/workbox/dumm/KöllingTest.java
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1235[BLUEJ-1261] Show source for unit doesn't work when there is a non-ASCII char...2020-02-17T13:04:06ZNeil Brown[BLUEJ-1261] Show source for unit doesn't work when there is a non-ASCII character in class nameMake a test class with an umlaut in the name, and write a failing test. Click Show Source; an exception is thrown in the debug log and the source is not opened.
---
**Issue metadata**
- Issue type: Bug
- Priority: MediumMake a test class with an umlaut in the name, and write a failing test. Click Show Source; an exception is thrown in the debug log and the source is not opened.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1230[BLUEJ-1256] Support Teamwork for Stride2019-02-12T12:09:35ZNeil Brown[BLUEJ-1256] Support Teamwork for Stride
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1226[BLUEJ-1252] Support JavaFX Javadoc by loading JavaFX as a module2020-02-17T12:35:30ZNeil Brown[BLUEJ-1252] Support JavaFX Javadoc by loading JavaFX as a moduleWe currently support Javadoc for JDK 11 by loading src.zip, then looking for module-name/fully/qualified/class/Name.java and pulling out the Javadoc. However, the same approach does not work for JavaFX by simply supplying the JavaFX src...We currently support Javadoc for JDK 11 by loading src.zip, then looking for module-name/fully/qualified/class/Name.java and pulling out the Javadoc. However, the same approach does not work for JavaFX by simply supplying the JavaFX src, seemingly because we load JavaFX via the classloader, which is loaded without module support, and thus we do not know the module name for the JavaFX classes. I think the correct solution is to load JavaFX as modules rather than individual JARs. But I don't want to make this change so close to the 4.2.0 release, so listing it for after.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1218[BLUEJ-1244] Code completion on uncompiled Enums does not show anything2019-03-05T13:17:15ZNeil Brown[BLUEJ-1244] Code completion on uncompiled Enums does not show anythingCode completion do not work neither on Enum class nor on Enum variables.
For example, if I have an Enum Called EnumWeek, , after "EnumWeek.", BlueJ should display ".values()" when I press Ctrl+Space.
When I have an Enum variab...Code completion do not work neither on Enum class nor on Enum variables.
For example, if I have an Enum Called EnumWeek, , after "EnumWeek.", BlueJ should display ".values()" when I press Ctrl+Space.
When I have an Enum variable, as:
EnumWeek myVar = EnumWeek.Monday:
myVar. // nothing displayed by code completion
Expected : ".ordinal()"
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1212[BLUEJ-1238] BlueJ does not run if it is installed in a path that contains He...2019-01-23T21:02:49ZNeil Brown[BLUEJ-1238] BlueJ does not run if it is installed in a path that contains Hebrew charactersThis has been reported by the user. I have tested it on Windows.
I have installed BlueJ 4.1.4 on "C:\טחזו\BlueJ". However when double clicking on BlueJ icon after installation, BlueJ did not run. Once I changed the path characters in...This has been reported by the user. I have tested it on Windows.
I have installed BlueJ 4.1.4 on "C:\טחזו\BlueJ". However when double clicking on BlueJ icon after installation, BlueJ did not run. Once I changed the path characters into English characters like "C:\myApp\BlueJ", BlueJ ran successfully.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1187[BLUEJ-1213] bluej.utility.javafx.HangingFlowPane should be re-written2019-01-29T14:20:37ZNeil Brown[BLUEJ-1213] bluej.utility.javafx.HangingFlowPane should be re-writtenThe class {{bluej.utility.javafx.HangingFlowPane}} is a copy of the JavaFX FlowPane class, renamed. It has numerous issues, including use of deprecated methods and a number of package private methods which aren't called directly and whic...The class {{bluej.utility.javafx.HangingFlowPane}} is a copy of the JavaFX FlowPane class, renamed. It has numerous issues, including use of deprecated methods and a number of package private methods which aren't called directly and which don't override the superclass since it is in a different package. It is effectively a snapshot of what is now quite old JavaFX code.
The whole class should be re-written (probably from scratch) to avoid these issues.
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1177[BLUEJ-1203] Add shift-drag to do multi-selection in Stride2018-12-14T12:53:40ZNeil Brown[BLUEJ-1203] Add shift-drag to do multi-selection in StrideAs suggested by a user, we could implement shift-dragging to do a multi-frame selection in the Stride editor, to augment our existing ways to do a multi-frame select.
---
**Issue metadata**
- Issue type: Bug
- Priority: MediumAs suggested by a user, we could implement shift-dragging to do a multi-frame selection in the Stride editor, to augment our existing ways to do a multi-frame select.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1169[BLUEJ-1195] Give names to text input fields2018-08-22T06:47:57ZNeil Brown[BLUEJ-1195] Give names to text input fieldsFor accessibility (e.g., blind users), text fields should have names. As currently implemented, the text fields do not have names so a utility like VoiceOver simply says "text field, text field, text field" as the user navigates around t...For accessibility (e.g., blind users), text fields should have names. As currently implemented, the text fields do not have names so a utility like VoiceOver simply says "text field, text field, text field" as the user navigates around the UI.
JavaFX has some built-in ways of giving text fields (and other input widgets) names that VoiceOver will use when speaking to the user.
I have a blind student in my classes this term. I would be happy to contribute the changes needed if someone could point me in the right direction in the source code.
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1160[BLUEJ-1186] Default methods are not shown at 2 level of inheritance.2018-07-16T14:05:24ZAmjad Altadmri[BLUEJ-1186] Default methods are not shown at 2 level of inheritance.While default methods inherited from interfaces are shown since version 4.0, this isn't true for an interface extending another interface.
If a class A implements an interface I1, while I1 extending another interface I2, only the defa...While default methods inherited from interfaces are shown since version 4.0, this isn't true for an interface extending another interface.
If a class A implements an interface I1, while I1 extending another interface I2, only the default methods of the interface I1 are shown in the context menu of instance objects of class A, even if the interface I2 has default methods as well.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium