https://bugs.kde.org/show_bug.cgi?id=493569

Akseli Lahtinen <akse...@akselmo.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/-/commit/
                   |                            |ad1162258ddb1d30e07f9e4d909
                   |                            |afec5cf88aa36
         Resolution|---                         |FIXED

--- Comment #3 from Akseli Lahtinen <akse...@akselmo.dev> ---
Git commit ad1162258ddb1d30e07f9e4d909afec5cf88aa36 by Akseli Lahtinen.
Committed on 01/10/2024 at 13:14.
Pushed by akselmo into branch 'master'.

FolderViewLayer.qml: Load the icon positions when geometry changes

We need to load the icon positions when screen geometry changes,
otherwise we risk using wrong geometry when screen is turned off or
otherwise changed, then saving the icon positions of that geometry.

For example, when turning off screen in single-monitor setup,
the resolution will change to 0x0. This then moves the icons around.
Then opening the screen doesn't move the icons, so the icons stay in the
0x0 positions, and save them to the "normal" resolution.

This fixes it by loading the positions whenever the geometries change

M  +9    -0    containments/desktop/package/contents/ui/FolderViewLayer.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/ad1162258ddb1d30e07f9e4d909afec5cf88aa36

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to