[kwin] [Bug 485353] kwin_wayland forgets the highdpi scaling whenever you connect a new monitor
https://bugs.kde.org/show_bug.cgi?id=485353 Nate Graham changed: What|Removed |Added Version Fixed In||6.0.5 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 485353] kwin_wayland forgets the highdpi scaling whenever you connect a new monitor
https://bugs.kde.org/show_bug.cgi?id=485353 Zamundaaa changed: What|Removed |Added Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/kwin/-/commit/7949032411 |ma/kwin/-/commit/10af8375ee |153ebf9d87b0e936b1bc288df12 |8cfb822b5c6bbee3edc9ed93e5f |b38 |e1a --- Comment #10 from Zamundaaa --- Git commit 10af8375ee8cfb822b5c6bbee3edc9ed93e5fe1a by Xaver Hugl. Committed on 23/04/2024 at 12:32. Pushed by zamundaaa into branch 'Plasma/6.0'. outputconfigurationstore: don't overwrite output settings with kscreen configs The existing code overwrites all per-output data with the config from KScreen every time an output config is found that isn't in the KWin data base yet. That causes problems like the scale being reset to 1.0 if the user logged into Xorg before, or resetting it to whatever scale KScreen had saved on Wayland, which isn't much better. Instead of doing that, use the KScreen config as inspiration for some specific output settings, instead of copying it outright. It's not ideal, but it's better than overwriting settings the user has explicitly set up (cherry picked from commit 7949032411153ebf9d87b0e936b1bc288df12b38) M +24 -15 src/outputconfigurationstore.cpp https://invent.kde.org/plasma/kwin/-/commit/10af8375ee8cfb822b5c6bbee3edc9ed93e5fe1a -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 485353] kwin_wayland forgets the highdpi scaling whenever you connect a new monitor
https://bugs.kde.org/show_bug.cgi?id=485353 Zamundaaa changed: What|Removed |Added Latest Commit||https://invent.kde.org/plas ||ma/kwin/-/commit/7949032411 ||153ebf9d87b0e936b1bc288df12 ||b38 Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #9 from Zamundaaa --- Git commit 7949032411153ebf9d87b0e936b1bc288df12b38 by Xaver Hugl. Committed on 23/04/2024 at 11:41. Pushed by zamundaaa into branch 'master'. outputconfigurationstore: don't overwrite output settings with kscreen configs The existing code overwrites all per-output data with the config from KScreen every time an output config is found that isn't in the KWin data base yet. That causes problems like the scale being reset to 1.0 if the user logged into Xorg before, or resetting it to whatever scale KScreen had saved on Wayland, which isn't much better. Instead of doing that, use the KScreen config as inspiration for some specific output settings, instead of copying it outright. It's not ideal, but it's better than overwriting settings the user has explicitly set up M +24 -15 src/outputconfigurationstore.cpp https://invent.kde.org/plasma/kwin/-/commit/7949032411153ebf9d87b0e936b1bc288df12b38 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 485353] kwin_wayland forgets the highdpi scaling whenever you connect a new monitor
https://bugs.kde.org/show_bug.cgi?id=485353 postix changed: What|Removed |Added CC||pos...@posteo.eu -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 485353] kwin_wayland forgets the highdpi scaling whenever you connect a new monitor
https://bugs.kde.org/show_bug.cgi?id=485353 Bug Janitor Service changed: What|Removed |Added Status|CONFIRMED |ASSIGNED --- Comment #8 from Bug Janitor Service --- A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5637 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 485353] kwin_wayland forgets the highdpi scaling whenever you connect a new monitor
https://bugs.kde.org/show_bug.cgi?id=485353 Zamundaaa changed: What|Removed |Added Ever confirmed|0 |1 Status|REPORTED|CONFIRMED --- Comment #7 from Zamundaaa --- okay, cool, then the problem is exclusively in KWin's fallback code for KScreen configs. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 485353] kwin_wayland forgets the highdpi scaling whenever you connect a new monitor
https://bugs.kde.org/show_bug.cgi?id=485353 --- Comment #6 from Thiago Macieira --- I must have made a mistake in testing previously. After ensuring ~/.local/share/kscreen was deleted, logging out and back in again, kwin_wayland does not forget the laptop screen's settings when connecting the external monitor. PS: in kcm_display, you can't type % -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 485353] kwin_wayland forgets the highdpi scaling whenever you connect a new monitor
https://bugs.kde.org/show_bug.cgi?id=485353 --- Comment #5 from Thiago Macieira --- (In reply to Zamundaaa from comment #4) > When you reproduced this issue with a new user account, did you also log > into Xorg first, or does it even happen if you never do that? I had used the account first with X, but I did go and delete all the config files before trying this. I may have missed something, though. Which file is this stored in? ~/.local/share/kscreen/ ? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 485353] kwin_wayland forgets the highdpi scaling whenever you connect a new monitor
https://bugs.kde.org/show_bug.cgi?id=485353 --- Comment #4 from Zamundaaa --- Can reproduce, but only if I first log into Xorg with the monitor connected once before - in that case the KScreen fallback code loads the config stored by KScreen for Xorg, which doesn't have a scale factor for the outputs, so it defaults to 100%. We kinda need bug 479952 to fix that nicely. When you reproduced this issue with a new user account, did you also log into Xorg first, or does it even happen if you never do that? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 485353] kwin_wayland forgets the highdpi scaling whenever you connect a new monitor
https://bugs.kde.org/show_bug.cgi?id=485353 Nate Graham changed: What|Removed |Added CC||xaver.h...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 485353] kwin_wayland forgets the highdpi scaling whenever you connect a new monitor
https://bugs.kde.org/show_bug.cgi?id=485353 --- Comment #3 from Thiago Macieira --- No, I've just tried with a new account and the same problem happens. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 485353] kwin_wayland forgets the highdpi scaling whenever you connect a new monitor
https://bugs.kde.org/show_bug.cgi?id=485353 --- Comment #2 from Thiago Macieira --- (In reply to Nate Graham from comment #1) > Is this reproducible in a new clean user account, by any chance? Will test and let you know. This problem definitely happens on two different laptops that I've recently migrated to Wayland... but both have the same history of $HOME going back to 2015. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 485353] kwin_wayland forgets the highdpi scaling whenever you connect a new monitor
https://bugs.kde.org/show_bug.cgi?id=485353 Nate Graham changed: What|Removed |Added CC||n...@kde.org Keywords||multiscreen --- Comment #1 from Nate Graham --- Is this reproducible in a new clean user account, by any chance? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 485353] kwin_wayland forgets the highdpi scaling whenever you connect a new monitor
https://bugs.kde.org/show_bug.cgi?id=485353 fanzhuyi...@gmail.com changed: What|Removed |Added CC||fanzhuyi...@gmail.com -- You are receiving this mail because: You are watching all bug changes.