fix: SceneBuilder will not load missing files from recent projects.#585
fix: SceneBuilder will not load missing files from recent projects.#585abhinayagarwal merged 44 commits intogluonhq:masterfrom
Conversation
Bildschirmaufnahme.2022-10-10.um.23.58.04-1.movWindow positioning is not yet okay. I am hesitating to touch the |
|
The new tests added to the app project doesn't seem to run. |
|
I've moved the surefire-plugin from |
Co-authored-by: Oliver-Loeffler <Oliver-Loeffler@users.noreply.github.com>
… eventually tests are also picked up for app module.
Co-authored-by: Oliver-Loeffler <Oliver-Loeffler@users.noreply.github.com>
Co-authored-by: Oliver-Loeffler <Oliver-Loeffler@users.noreply.github.com>
…welcome page in oder to have correct file name rendering for filenames with underscores. (gluonhq#578) Co-authored-by: Oliver-Loeffler <Oliver-Loeffler@users.noreply.github.com>
… confirming the error dialog.
143f925 to
e676e1a
Compare
|
This PR now additionally addresses issue #600 which describes the behavior of unintended closing of SceneBuilder. |
|
Hi @abhinayagarwal, I have now corrected the POM for app. Tests are running now. Could you please review this one again? |
7e27963 to
f360fe2
Compare
|
@AlmasB Hi Almas, may be you also could have a look on this one! |
…m recent items and for cases where errors occured during FXML loading.
fb9ad13 to
f11a8a1
Compare
|
Happy new year SceneBuilder! @abhinayagarwal, could you please review this one again? The tests are now triggered properly. |
|
A very happy new year to you too! Hopefully, I can get back to this PR some time this week. |
|
Can you please update the branch with latest changes? |
|
I've now merged the latest changes into this one. Also applied reformatting according what checkstyle finds for the change files in main. |
|
Thanks, very good example. Well I will rework it accordingly tonight.
|
|
With the reworked ErrorDialog it is also now possible to have a useful title for the error detail. Also in SceneBuilderApp the dialog is now called in such way, so we always have a correct modality and one cannot loose a window. As mentioned before, the error detail is a detail, the dialog requires user action to open. Actually, it would be quite useful to add some proper log messages here. |
app/src/main/java/com/oracle/javafx/scenebuilder/app/SceneBuilderApp.java
Outdated
Show resolved
Hide resolved
app/src/main/java/com/oracle/javafx/scenebuilder/app/SceneBuilderApp.java
Show resolved
Hide resolved
app/src/main/java/com/oracle/javafx/scenebuilder/app/SceneBuilderApp.java
Outdated
Show resolved
Hide resolved
…th WelcomeDialogWindow as owner as a new method.
app/src/main/java/com/oracle/javafx/scenebuilder/app/SceneBuilderApp.java
Outdated
Show resolved
Hide resolved
app/src/main/java/com/oracle/javafx/scenebuilder/app/SceneBuilderApp.java
Outdated
Show resolved
Hide resolved
app/src/main/resources/com/oracle/javafx/scenebuilder/app/i18n/SceneBuilderApp_ja.properties
Show resolved
Hide resolved
app/src/test/java/com/oracle/javafx/scenebuilder/app/JfxInitializer.java
Outdated
Show resolved
Hide resolved
|
It took a while but actually I am also now happy with the outcome. Thanks for your feedback. |
kit/src/main/java/com/oracle/javafx/scenebuilder/kit/editor/panel/util/dialog/ErrorDialog.java
Show resolved
Hide resolved
app/src/main/java/com/oracle/javafx/scenebuilder/app/SceneBuilderApp.java
Show resolved
Hide resolved
Oliver-Loeffler
left a comment
There was a problem hiding this comment.
Thanks for the feedback @abhinayagarwal and @AlmasB. That seems to be okay now. The issues with the error dialog are valid but should be resolved in a separate PR.
app/src/main/resources/com/oracle/javafx/scenebuilder/app/i18n/SceneBuilderApp_ja.properties
Show resolved
Hide resolved
app/src/main/java/com/oracle/javafx/scenebuilder/app/SceneBuilderApp.java
Show resolved
Hide resolved
kit/src/main/java/com/oracle/javafx/scenebuilder/kit/editor/panel/util/dialog/ErrorDialog.java
Show resolved
Hide resolved
|
This one fixed also #600. |



Scene Builder will ask to remove missing files from recent files list.
Welcome Page will not close, there will not be an error message.
Issue
Fixes #582
Progress