-
Notifications
You must be signed in to change notification settings - Fork 260
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
View dialog windows open minimized #1619
Comments
I can also confirm this behavior: OS: Archlinux JDK: sdrtrunk version: 0.5.3 |
@hans109h and @mwsltn I'm unable to reproduce this error. However, I did find a code error in the JavaFxWindowManager where it wasn't monitoring the Java FX window size and position correctly. It is supposed to monitor the windows so that it can record where the user last placed the window so that on restoration it will resize and position the window at the same place. I'm going to submit that change against this issue and that will close out this issue. If the change doesn't resolve this issue, please reopen this issue and we'll try again. |
…w minimized after application is started and an initial JavaFX window is opened and then closed, where it impacted subsequent JavaFX window openings. Corrects issue where JavaFX stage monitors were not being registered correctly, so that they could be deregistered prior to application shutdown.
…mized #1619 JavaFX Windows Show Minimized
@DSheirer unfortunately it didn't resolve the issue. I can confirm that it does indeed remember the location (and size) of the window, so that when initially opened it returns there, but any opening of the dialog window after the initial result in the window completely minimized and only visible as a thin line on the screen. |
Reopening. Will attempt to force the window out of the 'iconified' state before invoking show and focus. |
…conified #1619 JavaFX Windows Restore to Previous Size/Location On View Request
@hans109h I merged some additional changes to attempt to fix this issue. The nightly build process just completed generating a new build with this change. Can you please access the nightly build and verify if the issue is resolved? |
Negative, issue still present. Window opens normal on first open, after being closed it only opens in its iconified state. If location of window is changed, the location is accurately remembered when opened even in iconified state. |
On any open of the Playlist Editor, getting this in the syslog: On open of the Icon Manager, getting this in the syslog: |
Same as above, on the latest nightly release (as of Nov 12, 2023) I get same message after opening the playlist editor once, closing it, and then reopening it, it opens in an extremely small/skinny window.
|
@hans109h @lwvmobile have these warnings just started to appear with the 'tweaks' that I've been making to get the minimized windows to restore? |
I just went back and downloaded Version 0.5.3 (final) and it also occurs there, so its nothing to do with any recent updates unless it predates that release somehow. I honestly think this is more to do with newer Gnome or Mutter updates in my case, but could be present in other desktop environments as well. This is using GNOME version 45.0 with Mutter window manager (Arch). |
I'm running KDE ... not seeing the error logging and not seeing this issue with restoring windows. I'll have to dig a bit more to see if it's been identified elsewhere. |
I feel like I would have noticed the syslog message back in July had it been there. I'm currently on a later release of gnome and mutter since then, so I'm thinking the log message is likely a result of those updates rather than changes to sdrtrunk. |
@hans109h it seems like the window is restoring from its minimized state and it's positioning (x/y) correctly, but it appears that the width and height might be set to zero. I'm wondering if this is a bug for JavaFX. Could you run from master code branch and add the following logger to the end of the
I'm curious what Java reports as the height and width of that stage once it thinks the window has been restored. |
Line 1, initial playlist editor open. Line 2, 2nd open. After the second open I resized the iconified window and moved it, then closed it. Line 3, third open. Just not doing what it's told! `Stage [sdrtrunk - Playlist Editor] restored - width[959.0] height [355.0] Stage [sdrtrunk - Playlist Editor] restored - width[959.0] height [355.0] Stage [sdrtrunk - Playlist Editor] restored - width[834.0] height [328.0]` |
Update JavaFxWindowManager.java for #1619
@hans109h Thank you for the PR! |
I reverted the changes from the PR associated with this issue here: #2047 If this issue reappears, we'll need a different solution. |
… (#2047) Co-authored-by: Dennis Sheirer <[email protected]>
sdrtrunk Version
master-branch (6.0-alpha7)
Describe the bug
Playlist editor, DMR recording viewer, icon manager, and user preferences dialog windows open as completely minimized (vertical black bar) after one of them has been opened and then closed.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Window should open in default size and location with window contents visible.
Screenshots
Application Log
Nothing useful.
Desktop (optional - complete the following information):
Additional context
It's been doing this for a while, I haven't had a chance to see if I can find the regression.
The text was updated successfully, but these errors were encountered: