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

            Bug ID: 479243
           Summary: Single wildcard/all-resolution icon layout no longer
                    supported - icons get messed up/moved when OS window
                    is resized
    Classification: Plasma
           Product: plasmashell
           Version: 5.27.4
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Folder
          Assignee: plasma-b...@kde.org
          Reporter: javascriptj...@hotmail.com
                CC: h...@kde.org
  Target Milestone: 1.0

SUMMARY
***
In a virtual machine (e.g. VMware), when OpenSUSE/KDE 15.4/5.24.4 is migrated
to 15.5/5.27.4, if you had a global (non-resolution-specific) icon position
configuration in your ~/.config/plasma..., it will be converted to a
resolution-specific configuration, and then any resizing of the OS window will
cause the icons to lose their positioning and get messed up.  This didn't
happen in 5.24.4, so it's a regression.
***


STEPS TO REPRODUCE
1.  Create a non-resolution-specific icon position cofiguration in KDE 5.24.x
like:
[Containments][1][General]
ToolBoxButtonState=topcenter
ToolBoxButtonX=728
iconSize=2
labelWidth=0
positions=6,27,desktop:/Firefox
24ESR,2,0,desktop:/kinfocenter.desktop,5,0,desktop:/Google
Chrome,2,4,desktop:/Firefox 91ESR,2,3,desktop:/Firefox
68ESR,2,2,desktop:/XTerm,4,4,desktop:/Eclipse,1,0,desktop:/Office
Free,5,3,desktop:/SuSE.desktop,5,2,desktop:/Support.desktop,5,1,desktop:/Firefox
78ESR,3,2,desktop:/Firefox 60ESR,3,1,desktop:/Firefox
45ESR,3,0,desktop:/OpenVPN,1,3,desktop:/VScode.desktop,1,2,desktop:/IntelliJ,1,1,desktop:/Firefox,3,3,desktop:/Konsole
Green,4,3,desktop:/Amber Konsole,4,2,desktop:/XEmacs,4,1,desktop:/Firefox
52ESR,2,1,desktop:/Emacs,4,0
sortMode=-1
2.   Upgrade to KDE 5.27.x. observe that positions is converted to something
like:
positions={"1801x1023":["6"\\,"28"\\,"desktop:/Amber
Konsole"\\,"4"\\,"2"\\,"desktop:/Firefox 78ESR"\\,"3"\\,"2"\\,"desktop:/Konsole
Green"\\,"4"\\,"3"\\,"desktop:/Emacs"\\,"4"\\,"0"\\,"desktop:/Firefox
102ESR"\\,"3"\\,"3"\\,"desktop:/Firefox
45ESR"\\,"3"\\,"0"\\,"desktop:/XEmacs"\\,"4"\\,"1"\\,"desktop:/Firefox
60ESR"\\,"3"\\,"1"\\,"desktop:/SuSE.desktop"\\,"5"\\,"2"\\,"desktop:/Firefox"\\,"3"\\,"4"\\,"desktop:/Firefox
115ESR"\\,"2"\\,"4"\\,"desktop:/Office Free"\\,"5"\\,"3"\\,"desktop:/Google
Chrome"\\,"2"\\,"5"\\,"desktop:/Support.desktop"\\,"5"\\,"0"\\,"desktop:/Firefox
68ESR"\\,"2"\\,"2"\\,"desktop:/kinfocenter.desktop"\\,"5"\\,"1"\\,"desktop:/VScode.desktop"\\,"1"\\,"2"\\,"desktop:/Firefox
91ESR"\\,"2"\\,"3"\\,"desktop:/Twingate VPN
Start.desktop"\\,"1"\\,"3"\\,"desktop:/Firefox
24ESR"\\,"2"\\,"0"\\,"desktop:/Eclipse"\\,"1"\\,"0"\\,"desktop:/Firefox
52ESR"\\,"2"\\,"1"\\,"desktop:/IntelliJ"\\,"1"\\,"1"\\,"desktop:/XTerm"\\,"4"\\,"4"]}
which is resolution specific.
3.  Now resize the VM guest window containing OpenSUSE

OBSERVED RESULT
If you change the window size by more than 40px or so, the icons that were
formerly in a nice, hand-positioned grid will be skewed and messed up.  You can
"fix" the icons by reverting your resizing.

EXPECTED RESULT
Icon positions should be independent of the window size, at least as long as
the window isn't made so small that the icons can't maintain their same
position.

SOFTWARE/OS VERSIONS: 
Windows: 
macOS: 
Linux/KDE Plasma: OpenSUSE 15.5, KDE 5.27.9
(available in About System)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Tried "locking" the icons.  No effect.  Supposedly, this new syntax should
support a "*" size (i.e., instead of "1801x1023"), but that doesn't appear to
work.  Icons still get messed up when window is resized.  Bug was observed
originally in KDE 5.27.4, but persists in the updated system with the versions
reported (KDE 5.27.9,...)

This bug makes working with OpenSUSE in a VM guest more difficult.

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

Reply via email to