Bug 416535 - React to VM guest size changes
Summary: React to VM guest size changes
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: platform-drm (other bugs)
Version First Reported In: git master
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-21 14:29 UTC by Fabian Vogt
Modified: 2023-01-25 13:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Vogt 2020-01-21 14:29:12 UTC
In a VM guest, the resolution of the virtual monitor in X changes dynamically with the VM window size.

The same works with gnome-shell using wayland.

It seems like this is implemented using DRM hotplug/udev change events, which kwin seems to use only for adding and removing outputs.
Comment 1 Vlad Zahorodnii 2023-01-25 13:22:53 UTC
This should work, the drm backend reloads output modes. Reopen if the issue is still present in 5.26 or 5.27
Comment 2 Fabian Vogt 2023-01-25 13:30:11 UTC
Yep, just doesn't work OOTB because of https://bugs.kde.org/show_bug.cgi?id=455992...