wangwenx190 / framelesshelper

Project moved to: https://github.com/stdware/qwindowkit Cross-platform window customization framework for Qt Widgets and Qt Quick. Supports Windows, Linux and macOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Qmlio opened this issue · comments

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

"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.

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