-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: SceneBuilder will not load missing files from recent projects. #585
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 <[email protected]>
… eventually tests are also picked up for app module.
Co-authored-by: Oliver-Loeffler <[email protected]>
Co-authored-by: Oliver-Loeffler <[email protected]>
…welcome page in oder to have correct file name rendering for filenames with underscores. (gluonhq#578) Co-authored-by: Oliver-Loeffler <[email protected]>
… 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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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