Skip to content
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

Window State Not Persisted After Restart: Fails to Remember Full-Screen and Window Sizes #418

Closed
oh2gba opened this issue Jul 20, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@oh2gba
Copy link

oh2gba commented Jul 20, 2024

This is my screen before closing:
Screenshot_1

Close Qlog and reopen it again, the size of the main window is smaller now, and I have to maximize it
Screenshot_2

After maximizing, the window sizes are not the same anymore, see dx-cluster and online-map are smaller now.
Screenshot_3

It would be so nice if Qlog would just remember all sizes! Perhaps not a bug, but a kind request :)

John

@dimarmnes
Copy link

dimarmnes commented Jul 20, 2024 via email

@foldynl
Copy link
Owner

foldynl commented Jul 20, 2024

I know about the issue but I don't know how to fix it. It occurs only in case when the full screen layout is saved.

@foldynl foldynl added the bug Something isn't working label Jul 20, 2024
@dl2ki
Copy link

dl2ki commented Jul 22, 2024

Suggestion:

If a solution can be found here, perhaps the position and zoom factor of the band map could be saved at the same time, so that they are restored when QLog is restarted.

On the other hand, there may be reasons why other settings or no settings at all for displaying the bandmap when starting QLog may make more sense.

foldynl added a commit that referenced this issue Jul 23, 2024
QApplication::desktop is obsoleted and QT6.x does not implement it.
This commit uses QGuiApplication::screens
foldynl added a commit that referenced this issue Jul 23, 2024
Need to apply only for QT under 6.3. Otherwise, other QT issue is present.
foldynl added a commit that referenced this issue Jul 26, 2024
If it was like this, then the QT error occurred because no windows frame
was present when switching to the same profile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants