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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/
                   |ad1162258ddb1d30e07f9e4d909 |96b04ec7deaf1a03786cf0c7497
                   |afec5cf88aa36               |6a7ed35cd1ade

--- Comment #4 from Akseli Lahtinen <akse...@akselmo.dev> ---
Git commit 96b04ec7deaf1a03786cf0c74976a7ed35cd1ade by Akseli Lahtinen.
Committed on 01/10/2024 at 14:33.
Pushed by akselmo into branch 'Plasma/6.2'.

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


(cherry picked from commit ad1162258ddb1d30e07f9e4d909afec5cf88aa36)

ad116225 FolderViewLayer.qml: Load the icon positions when geometry changes

Co-authored-by: Akseli Lahtinen <akse...@akselmo.dev>

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

https://invent.kde.org/plasma/plasma-desktop/-/commit/96b04ec7deaf1a03786cf0c74976a7ed35cd1ade

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

Reply via email to