Bug 358892

Summary: FolderView subdirectory popup slightly too narrow to accomodate for third column
Product: [Plasma] plasmashell Reporter: Kai Uwe Broulik <kde>
Component: Desktop icons & Folder View widgetAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Popup slightly too narrow

Description Kai Uwe Broulik 2016-02-01 21:13:39 UTC
The popup showing a subdirectory in FolderView is slightly too narrow to accomodate for a third column of icons. This could be a high-dpi issue where it hardly doesn't fit. The applet's initial size is fine, it's just the popup that is wrong.

Reproducible: Always

Steps to Reproduce:
1. Place FolderView on desktop
2. Hover a folder and click the lower icon on the left of the icon (half-filled circle, whatever that icon means)
3.

Actual Results:  
The resulting popup is slightly too narrow to fit three columns inside

Expected Results:  
Three columns fit inside the popup
Comment 1 Kai Uwe Broulik 2016-02-01 21:14:41 UTC
Created attachment 96962 [details]
Popup slightly too narrow
Comment 2 Kai Uwe Broulik 2016-02-01 21:52:26 UTC
width: cellWidth * 3 + 10 // FIXME HACK: Use actual scrollbar width.

Heh, there we have it.
Comment 3 Eike Hein 2016-02-08 09:31:47 UTC
Yeah, I've told Marco a bunch of times I want an API for getting theme element sizes for precalc use cases ...
Comment 4 Eike Hein 2016-02-08 09:54:01 UTC
Git commit 6ecb70d9980b01718aa6c7fc658dd6b74e1325d5 by Eike Hein.
Committed on 08/02/2016 at 09:40.
Pushed by hein into branch 'Plasma/5.5'.

Scale by device pixel ratio.

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

http://commits.kde.org/plasma-desktop/6ecb70d9980b01718aa6c7fc658dd6b74e1325d5