Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Unable to restore window state after minimizing it when using the ApplicationWindow component from Qt controls #324

Open
Qmlio opened this issue Nov 17, 2023 · 3 comments
Labels
won't fix This will not be worked on

Comments

@Qmlio
Copy link

Qmlio commented Nov 17, 2023

Greeting
I really like this repo and it has helped me a lot, i have noticed an issue when minimizing and restoring a Qt Quick window when using when using the ApplicationWindow component from Qt controls, i hope the video can give a better description. as you notice, if i use the FramelessApplicationWindow component and first maximize the window, then i minimize it , then later i restore it from the task bar, its original state is reserved (maximized state), but if i change the root component to *** ApplicationWindow*** and repeat the same process, its original state is not reserved... any help or work around is much appreciated.
Am using Qt 6.5.1, MSVC 2019.

f6pBB5NwFp_Trim.mp4
@wangwenx190
Copy link
Owner

"The maximization state is lost" is an ancient Qt Quick bug and it's still not fixed (latest dev code). I added workaround to Frameless(Application)Window so it doesn't have this issue. If you really care about this issue, please use Frameless(Application)Window instead.

@wangwenx190 wangwenx190 added the won't fix This will not be worked on label Nov 17, 2023
@wangwenx190
Copy link
Owner

I added "won't fix" label due to not fixable from my side. It's a QtQuick bug after all.

@Qmlio
Copy link
Author

Qmlio commented Nov 17, 2023 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
won't fix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants