Window `restore` event doesn't trigger when unmaximizing
cadbusca opened this issue · 4 comments
Checklist
- I understand that Streamlink Twitch GUI is just a launcher for Streamlink
- I have read the contribution guidelines
- I have checked the list of open and recently closed issues
- I have checked the commit log of the master branch
Streamlink Twitch GUI version
v2.5.1
Streamlink version
No response
Operating system, environment and configuration details
Manjaro Linux / KDE / X11
Description
Clicking on the '-' and '+' buttons sometimes works as expected, but, most of the time it doesn't (has no effect).
The issue is not consistent and start happening after clicking a few times on those buttons or interacting with the UI.
Right after opening Streamlink Twitch GUI It usually works fine, then you open a stream and after a while decide to use those buttons and the issue starts to happen.
Double-clicking the app's header bar fix the issue for a while, but not permanently.
This issue does not happen on v2.4.1
Debug log
No response
No reason to open another issue for this. I am aware and have already explained it in #1008.
There will be a downgrade to NW.js 0.80 which will resolve the issue.
Thanks
The issue currently can't be fixed. Please see the linked NW.js versions meta thread above...
For now, I've disabled storing the maximized window state, so that the app doesn't launch maximized. If you want to unmaximize the window, double-click the window drag area or use your system's window manager. The maximize button depends on the internal window state, which is broken due to an NW.js issue.