Window decoration get misplaced if I plug in an external monitor
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
The problem happens with Fedora 41 (Wayland and Gnome). I can rule out that it is a general Wayland|Gnome|Linux issue because other Electron Apps like for example Signal don't have the issue
Steps to reproduce
- Start the Talk desktop client 2.Plug-in a external monitor
- The window decoration of the desktop client is misplaced.
Expected behavior
Windows decoration should be still at the right place.
Actual behaviour
If I manage to click the close button (small shaddow at the right of the screenshot) and open it again from the trayicon everything is fine again:
Diagnosis and logs
Diagnosis report
Insert a diagnosis report here.
It can be found in the About window (open from the menu or via F1 and click on "Copy report" button).
Client logs
Press Ctrl+Shift+I (Cmd+Option+C on macOS) or use the context menu to open the developer tools, then go to the Console tab.
Insert error logs here.
I just noticed, that the root of the problem was not that I plugged in another monitor but that it switched for whatever reason the scalling of the internal monitor (where the Talk app was located) from 100% to 125%.
You can reproduce it by just change the scalling in the display settings. If you increase the scallling the app content gets increated but not the window decoration, which leads to the result you see above. Scalling down leads to the opposite result, the window decoration is that larger than the actual content.
But it still only happens with the Talk app and with no other electron app that's why I assume there is something we might be able to fix.
- Yes, it's the result from https://github.com/nextcloud/talk-desktop/issues/1096