Bug 456352 - Inconsistency of properties displayed and used when reverting changes of scaling in KScreen
Summary: Inconsistency of properties displayed and used when reverting changes of scal...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kscreen (other bugs)
Version First Reported In: 5.25.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-05 12:03 UTC by postix
Modified: 2022-12-01 15:40 UTC (History)
6 users (show)

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


Attachments
kWin Support Info before step 1 (408.96 KB, image/png)
2022-07-05 12:03 UTC, postix
Details
Screenshot (408.96 KB, image/png)
2022-07-05 12:04 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2022-07-05 12:03:16 UTC
Created attachment 150413 [details]
kWin Support Info before step 1

SUMMARY
I got two screens, with the initial resolution: 2k@100% (A) and 4k@200% (B)

STEPS TO REPRODUCE
1.  Change scaling of B to 100% and hit "apply" and select "keep"
2. Change scaling of B back to 200% and hit "apply" and select "revert"

OBSERVED RESULT
B keeps scaling of 100% but KScreen says it scales with 200%.

EXPECTED RESULT
B keeps scaling of 100% but KScreen says it scales with 100%.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220703
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
Kernel Version: 5.18.6-1-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series
Comment 1 postix 2022-07-05 12:04:55 UTC
Created attachment 150414 [details]
Screenshot

Same steps but 100% <--> 200% interchanged leads to the same result. In the screenshot the window scales with 200% but KScreen reports a 100% scaling.
Comment 2 Nate Graham 2022-11-12 15:01:12 UTC
Seems like the model has gotten out of sync with the UI.
Comment 3 Méven 2022-12-01 11:36:48 UTC
Should be fixed with https://invent.kde.org/plasma/kscreen/-/merge_requests/74 in next Plasma.