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

MacOS floating utility window bug #576

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

kyleboyle
Copy link

It appears order matters on app start for floating windows affected by restoreState. The report was that the floating windows were disappearing on app blur. This was happening when the floating windows were restored as floating windows from a restoreState call on app launch. New floating windows created during the app run time worked as expected.

I don't know why this works this way, some idiosyncrasy with QT I suppose. I narrowed it down to an interaction of this attribute with restoreState and tried setting the attribute before restoreState and it started working in all cases.

…y restoreState

If this attribute is set before restoreState is called, functionality is as expected.
The previous code would result only in new floating windows during app runtime showing the correct behaviour.
@foldynl
Copy link
Owner

foldynl commented Jan 18, 2025

thank you for the fix.

@foldynl foldynl merged commit 899ef75 into foldynl:master Jan 21, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants