Bug 487083

Summary: Desktop area out of place
Product: [Plasma] plasmashell Reporter: Angel <a.cvetkov9ml>
Component: ContainmentAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: kdedev, nate, notmart
Priority: NOR    
Version First Reported In: 6.0.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: How it looks like after changed resolution

Description Angel 2024-05-16 05:36:17 UTC
Created attachment 169523 [details]
How it looks like after changed resolution

SUMMARY
I use 2 scripts both of which i will post here since they are just a command. Since I use a nvidia gpu I use nvidia-settings instead of xrandr when I want to change my resolution. This is my scretch resolution command

nvidia-settings -a CurrentMetaMode="DPY-5: 2560x1440_144 @1440x1440 +0+0 {ViewPortIn=1440x1440, ViewPortOut=2560x1440+0+0, AllowGSYNCCompatible=On}, DPY-0: nvidia-auto-select @1920x1080 +1440+360 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"

The main problem isnt on my main monitor, but on the second, which when moved, the Desktop Containment doesn't move. I will add an attachment to show how it looks like. It also seems like everything rendered there remains there.

STEPS TO REPRODUCE
1. Move screen position in x11
2. Observe result

OBSERVED RESULT

(Attachment 1 [details])

EXPECTED RESULT

A normal looking desktop that is moveable with screen position
(Attachment 2 [details]) (Can't upload it)

SOFTWARE/OS VERSIONS
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
Reverting back to default screen position fixes positioning
Comment 1 Angel 2024-05-16 05:53:02 UTC
(In reply to Angel from comment #0)
> Created attachment 169523 [details]
> How it looks like after changed resolution
> 
> SUMMARY
> I use 2 scripts both of which i will post here since they are just a
> command. Since I use a nvidia gpu I use nvidia-settings instead of xrandr
> when I want to change my resolution. This is my scretch resolution command
> 
> nvidia-settings -a CurrentMetaMode="DPY-5: 2560x1440_144 @1440x1440 +0+0
> {ViewPortIn=1440x1440, ViewPortOut=2560x1440+0+0, AllowGSYNCCompatible=On},
> DPY-0: nvidia-auto-select @1920x1080 +1440+360 {ViewPortIn=1920x1080,
> ViewPortOut=1920x1080+0+0}"
> 
> The main problem isnt on my main monitor, but on the second, which when
> moved, the Desktop Containment doesn't move. I will add an attachment to
> show how it looks like. It also seems like everything rendered there remains
> there.
> 
> STEPS TO REPRODUCE
> 1. Move screen position in x11
> 2. Observe result
> 
> OBSERVED RESULT
> 
> (Attachment 1 [details])
> 
> EXPECTED RESULT
> 
> A normal looking desktop that is moveable with screen position
> (Attachment 2 [details]) (Can't upload it)
> 
> SOFTWARE/OS VERSIONS
> KDE Frameworks Version: 6.1.0
> Qt Version: 6.7.0
> 
> ADDITIONAL INFORMATION
> Reverting back to default screen position fixes positioning

The observed result should be a unpositioned desktop containment, as visible in attachment 169523 [details]
Comment 2 Nate Graham 2024-08-01 20:55:02 UTC
> Since I use a nvidia gpu I use nvidia-settings instead of xrandr when I want to change my resolution

I'm afraid neither of these are supported methods of changing the resolution. Please use System Settings > Display & Monitor instead. Any other method cannot be guaranteed to work properly — at least not by KDE!