Bug 358892 - FolderView subdirectory popup slightly too narrow to accomodate for third column
Summary: FolderView subdirectory popup slightly too narrow to accomodate for third column
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-01 21:13 UTC by Kai Uwe Broulik
Modified: 2016-02-08 09:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Popup slightly too narrow (80.03 KB, image/png)
2016-02-01 21:14 UTC, Kai Uwe Broulik
Details

Note You need to log in before you can comment on or make changes to this bug.
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