Bug 417539

Summary: Folder view pop-up is not wide enough and items are not ordered correctly.
Product: [Plasma] plasmashell Reporter: Topi <ritalat>
Component: FolderAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: ahiemstra, bugseforuns, hoperidesalone, nate, notmart, plasma-bugs
Priority: HI Keywords: regression, usability
Version: 5.18.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.24.5
Sentry Crash Report:
Attachments: Pop-up not wide enough and ordering is not correct (file5 appears before file4)

Description Topi 2020-02-13 05:49:04 UTC
Created attachment 125930 [details]
Pop-up not wide enough and ordering is not correct (file5 appears before file4)

SUMMARY
Folder view pop-up is not wide enough to hold three items side by side once the scroll bar appears. This also messes up the ordering of files.

STEPS TO REPRODUCE
1. Open the folder view pop-up on a folder with more than six items.

OBSERVED RESULT
Only two items are shown in a row and the items are not ordered correctly.

EXPECTED RESULT
Three items are shown like in the case without a scroll bar and items are ordered correctly.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67
Qt Version: 5.14.1
Comment 1 Nate Graham 2020-02-15 03:20:25 UTC
Possibly fallout from the recent scrollbar changes.
Comment 2 Nate Graham 2022-03-30 02:44:09 UTC
Git commit 2ebde10325ac9077469210a4cc7fa89480113053 by Nate Graham.
Committed on 30/03/2022 at 02:43.
Pushed by ngraham into branch 'master'.

Folder View: Make popup dialog wide enough for one more grid cell

Right now it is 2 pixels too narrow, so there is always a huge gap on
the right side. Use a standard Unit that knows how to adjust with the
font size to avoid this, in lieu of being able to get the scrollbar
width.
FIXED-IN: 5.24.5

M  +1    -1    containments/desktop/package/contents/ui/FolderViewDialog.qml

https://invent.kde.org/plasma/plasma-desktop/commit/2ebde10325ac9077469210a4cc7fa89480113053
Comment 3 Nate Graham 2022-03-30 02:45:07 UTC
Git commit c0405586a7411d995a02411979058c2335285737 by Nate Graham.
Committed on 30/03/2022 at 02:44.
Pushed by ngraham into branch 'Plasma/5.24'.

Folder View: Make popup dialog wide enough for one more grid cell

Right now it is 2 pixels too narrow, so there is always a huge gap on
the right side. Use a standard Unit that knows how to adjust with the
font size to avoid this, in lieu of being able to get the scrollbar
width.
FIXED-IN: 5.24.5
(cherry picked from commit 2ebde10325ac9077469210a4cc7fa89480113053)

M  +1    -1    containments/desktop/package/contents/ui/FolderViewDialog.qml

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