Bug 317692 - icons on the left cannot be seen entirely on qtcurve style, a scrollbar appears instead
Summary: icons on the left cannot be seen entirely on qtcurve style, a scrollbar appea...
Status: RESOLVED UPSTREAM
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.10.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-01 18:48 UTC by avlas
Modified: 2013-10-15 02:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (22.98 KB, image/png)
2013-04-01 19:05 UTC, avlas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description avlas 2013-04-01 18:48:43 UTC
using oxygen icons appear correctly as usual, but with qtcurve only half of them appear (left part). I have to maximize and minimize and then box containing icons properly rescales to the icon size.

Reproducible: Always

Steps to Reproduce:
1. move from oxygen to qtcurve
2. open kontact
3.
Actual Results:  
half of the icons can be seen and a scrollbar appears

Expected Results:  
box should rescale to the icon size as it does in oxygen

there is this other bug I filled that may indicate something is wrong in how qtcurve and boxes in kde interact:

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

it could be the bug is in qtcurve as well. I'm in the process of filling a bug in launchpad for the qtcurve package (I actually don't know where upstream qtcurve resides)
Comment 1 avlas 2013-04-01 19:05:59 UTC
Created attachment 78553 [details]
screenshot
Comment 3 Laurent Montel 2013-06-20 05:46:37 UTC
For me it's a bug in qtcurve.
It needs to be fix.
Comment 4 Yichao Yu 2013-09-28 21:39:47 UTC
I am the current maintainer of qtcurve and I am trying to look into this bug.
I am able to reproduce this bug with qtcurve but it actually also appears on a lot of other themes that qt ships by default include clearlook, GTK+, Phase, Plastique, Windows. In fact, there are more themes that has this problem (the ones listed above plus QtCurve) than the ones that do not have  the problem (CDE, Motif, Oxygen). I do think this is probably a bug in the themes but I am just wondering what kontact is doing that makes this many themes unhappy.
Comment 5 Yichao Yu 2013-10-15 02:40:25 UTC
The problem is indeed in Kontact itself rather than QtCurve although the user's custom setting makes it easier to see. The real problem is that Kontact is (directly or indirectly) using the minimum size of the scrollbar to calculate the initial size of the sidebar content, which is different in different themes.

I believe kontact has other ways to calculate the right width since it can correctly reserve space for the sidebar and the size is correct after resizing the window.

The problem should be fixed in kontact especially because the problem also appears in more than half of the Qt default themes.

How can I request reopenning this bug?