Bug 166558

Summary: Rebuild thumbnails warning window too small
Product: [Plasma] Oxygen Reporter: Dotan Cohen <kde-2011.08>
Component: generalAssignee: Camilla Boemann <cbo>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot illustrating problem
dialog

Description Dotan Cohen 2008-07-14 19:18:35 UTC
Version:           SVN: Version 0.10.0-beta2 (rev.: 832007) (using KDE 4.0.83)

The popup window warning that rebuilding the thumbnails index is too small to contain the little bit of text it presents. The window should be taller to contain the text without a scrollbar.
Comment 1 Dotan Cohen 2008-07-14 19:19:04 UTC
Created attachment 26116 [details]
Screenshot illustrating problem
Comment 2 Andi Clemens 2008-07-14 21:22:37 UTC
Created attachment 26125 [details]
dialog

can not confirm this...
Comment 3 Dotan Cohen 2008-07-14 21:59:46 UTC
It may be a theme/style issue then. I will reassign to Oxygen, as I've seen other places where this occurs. I will add other non-Digikam screenshots to the bug as well.
Comment 4 caulier.gilles 2008-07-15 11:29:58 UTC
Dotan,

Re-assign only to Oxygen component is not enough. You need to set an email to Oxygen team to be sure than somebody will see the new bug assignement

Gilles Caulier
Comment 5 Camilla Boemann 2008-07-15 15:55:37 UTC
Actually this is a known Qt bug. And as you can see the font size can have an influence.(though is not the cause)

TT says it's not even a bug, because we simply can't calculate the textlayout ahead of time.
Comment 6 Dotan Cohen 2008-07-15 16:29:46 UTC
Thanks. I'm looking around the Trolltech Task Tracker for the relevant bug, but I cannot find it. I would like to add a feature request for calculating the dimensions to the nearest 50x50 pixels based upon text content and configured font size. Maybe the same mechanism that checks and add if necessary adds a scrollbar could check and if necessary increase width and height by 50x50, then recurse until a set maximum.