| Summary: | Windows resize oddly when 200% scaled monitor hot-replugs itself | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Christopher Snowhill <kode54> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | xaver.hugl |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 5.93.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Wezterm Wayland debug log | ||
|
Description
Christopher Snowhill
2024-02-07 09:59:24 UTC
Xwayland apps being weird after scale changes is bug 480642, and is already fixed. I can't reproduce the issue with wezterm. Please attach the output of running it with WAYLAND_DEBUG=1 while causing the problem to happen. Created attachment 165654 [details]
Wezterm Wayland debug log
Here's a log from the terminal being launched from Konsole with WAYLAND_DEBUG=1, locking my displays, letting them power off, then waking and unlocking them, then resizing the window back to a usable size again, then closing it.
Okay, KWin sends a configure event with 150x150, the minimum size for all decorated windows. It definitely shouldn't do that. Does this still happen in Plasma 6.4? We've done a lot of work to ensure apps get resized back to how they were after whatever happens in output hotplugs. I can't say this has happened recently at all. And I have a different monitor layout now. The monitor that hot detaches itself is now my secondary monitor, so most of my windows don't live on it. |