Bug 421041 - KWin does not react properly when screen size is shrinked from nvidia-settings
Summary: KWin does not react properly when screen size is shrinked from nvidia-settings
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-05 07:17 UTC by zee.mzha
Modified: 2023-02-24 03:45 UTC (History)
1 user (show)

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


Attachments
A picture of the bug, the red line was added post screenshot to mark where the first monitor is supposed to end. (3.55 MB, image/png)
2020-05-05 07:17 UTC, zee.mzha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zee.mzha 2020-05-05 07:17:25 UTC
Created attachment 128160 [details]
A picture of the bug, the red line was added post screenshot to mark where the first monitor is supposed to end.

I have two 1920x1080 monitors running on proprietary nvidia drivers, and I have a script that automatically adjusts the "resolution" on my primary monitor to 1440x1080 whenever I launch Counter-Strike. I do this by changing the ViewPortIn and Panning in nvidia-settings to 1440x1080. However for some reason my taskbar panel as well as my background continue to be drawn at 1920x1080 which causes them do draw over my second monitors background and panel (however not over any other windows). The strangest part about this is that every other window on my system behaves as if my primary is actually running at 1440x1080

STEPS TO REPRODUCE
1. Setup two monitors with an nvidia gpu
2. add a taskbar panel two each monitor set to the entire width of the monitor
3. switch the left side from native resolution to a smaller resolution using ViewPortIn and Panning in the advanced options of nvidia-settings

OBSERVED:

the left side desktop background and panel will invade the space of the right monitor


EXPECTED RESULT:

panel and desktop background should shrink to fit the new monitor size

SOFTWARE/OS VERSIONS
Linux: 5.6.10-arch1-1
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2
Comment 1 Vlad Zahorodnii 2023-01-25 13:20:48 UTC
Is it still an issue in 5.26 or 5.27? If so, please attach the output of "kscreen-doctor -o", also does restarting kwin helps?
Comment 2 Bug Janitor Service 2023-02-09 03:53:32 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 3 Bug Janitor Service 2023-02-24 03:45:47 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!