Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

Dialog boxes are empty and cannot be closed (Linux) #254

Open
DWW256 opened this issue Jan 8, 2019 · 9 comments
Open

Dialog boxes are empty and cannot be closed (Linux) #254

DWW256 opened this issue Jan 8, 2019 · 9 comments

Comments

@DWW256
Copy link

DWW256 commented Jan 8, 2019

"New File" and "Confirm Exit" (Save/Don't Save/Cancel) dialog boxes appear on Linux with only the application icon, window border, and a tiny empty interior space. The box appears to be empty and is not resizeable, and buttons such as minimize/maximize/close are not accessible. This renders the IDE much less useful, because new files cannot be created.

Steps to produce (on Ubuntu Studio 18.10 with KDE Plasma 5.13 desktop):

  1. Open a project in Nightcode.
  2. Click the "New File" button.
  3. The dialog box doesn't work and has the issues/attributes described above. :-(
@oakes
Copy link
Owner

oakes commented Jan 19, 2019

Howdy, I haven't forgotten this issue, I just need to set up a linux VM to test it out. Chances are there is something wrong with JavaFX as usual. If you have a chance, can you try the JAR version of Nightcode? I wonder if it behaves differently than the deb version.

@DWW256
Copy link
Author

DWW256 commented Jan 19, 2019

A-ha! I think I was using openjdk to run the app. Would that mess up javafx?

@oakes
Copy link
Owner

oakes commented Jan 19, 2019

Should be fine as long as you have the openjfx package installed, but I'll need to try the latest ubuntu to see what the problem is.

@DWW256
Copy link
Author

DWW256 commented Jan 20, 2019

When I first ran the program I had forgotten to install openjfx, but after installing it, I still had the same problem.

@oakes
Copy link
Owner

oakes commented Jan 22, 2019

I just released 2.7.0 which uses JavaFX 11. Please try it out and let me know if it works for you now:

https://github.com/oakes/Nightcode/releases/tag/2.7.0

@DWW256
Copy link
Author

DWW256 commented Jan 22, 2019

Didn't fix it for me, here's the photo:
nightcode-issue-cropped
You can see the tiny little dialog box in the middle of the screen. Also note that the titlebar of the main window is misaligned and missing some buttons. I also noted that the application becomes unresponsive and has to be force closed at this point.

@oakes
Copy link
Owner

oakes commented Jan 22, 2019

Weird, this must be a KDE specific problem then. Here's what it looks like in my ubuntu 18.10 vm:

image

@DWW256
Copy link
Author

DWW256 commented Jan 22, 2019

Or a my-idiosyncratic-Linux-setup problem...but honestly I don't know.

@DWW256
Copy link
Author

DWW256 commented Jan 22, 2019

Maybe this is a related issue?
https://bugs.openjdk.java.net/browse/JDK-8179073

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants