Bug 356871

Summary: KScreen does not adapt to window size of QEMU/QXL/Spice VM window
Product: [Plasma] KScreen Reporter: OlafLostViking <olaf.the.lost.viking>
Component: commonAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: 5.7.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description OlafLostViking 2015-12-18 14:15:00 UTC
In my Archlinux guest with xf86-video-qxl and spice-vdagentd, GDM as login manager adapts dynamically to the size of the sourrounding host window including taking up the native resolution of my screen when I select "Full screen" in virt-manager's viewer. As soon as I login into a plasmashell, this capability is lost and only the manually set fixed resolution in kscreen is used. Resizing the window won't change the guest's resolution anymore.
Comment 1 OlafLostViking 2016-01-27 17:43:00 UTC
I may add that with xrandr the resolution change is visible:

* before resizing the window
[olaflostviking@kessel ~]$ xrandr 
Screen 0: minimum 320 x 200, current 1280 x 720, maximum 8192 x 8192
Virtual-0 connected primary 1280x720+0+0 0mm x 0mm
   1280x720      59.86*+
   1920x1200     59.88  
   1920x1080     59.96  
   1600x1200     59.87  
   1680x1050     59.95  
   1400x1050     59.98  
   1280x1024     59.89  
   1440x900      59.89  
   1280x960      59.94  
   1280x854      59.89  
   1280x800      59.81  
   1152x768      59.78  
   1024x768      59.92  
   800x600       59.86  
   848x480       59.66  
   720x480       59.71  
   640x480       59.38  
Virtual-1 disconnected
Virtual-2 disconnected
Virtual-3 disconnected
[olaflostviking@kessel ~]$


* after resizing the window
[olaflostviking@kessel ~]$ xrandr 
Screen 0: minimum 320 x 200, current 1280 x 720, maximum 8192 x 8192
Virtual-0 connected primary 1280x720+0+0 0mm x 0mm
   1768x963      60.00 +
   1920x1200     59.88  
   1920x1080     59.96  
   1600x1200     59.87  
   1680x1050     59.95  
   1400x1050     59.98  
   1280x1024     59.89  
   1440x900      59.89  
   1280x960      59.94  
   1280x854      59.89  
   1280x800      59.81  
   1280x720      59.86* 
   1152x768      59.78  
   1024x768      59.92  
   800x600       59.86  
   848x480       59.66  
   720x480       59.71  
   640x480       59.38  
Virtual-1 disconnected
Virtual-2 disconnected
Virtual-3 disconnected
[olaflostviking@kessel ~]$

Here you can see you X correctly "thinks" the preferred resolution is 1768x963.
Comment 2 OlafLostViking 2016-02-11 13:40:37 UTC
Can I provide any more details or try out something different?
Comment 3 OlafLostViking 2016-03-28 16:08:34 UTC
Still valid for 5.6.0.
Comment 4 OlafLostViking 2016-04-04 08:09:52 UTC
Still valid for 5.6.1.

(Do you even want updates on this bug report when I check out a new version? Or would it be better to keep the noise level low? :) )
Comment 5 OlafLostViking 2016-07-13 13:56:38 UTC
mgraesslin had a look in bug #356864
Comment 6 Justin Zobel 2022-10-21 23:59:56 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 7 Bug Janitor Service 2022-11-05 05:07:53 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2022-11-20 05:12:13 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!