Bug 368019 - Resolution selection box not wide enough with scrollbars
Summary: Resolution selection box not wide enough with scrollbars
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (show other bugs)
Version: 5.7.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL: http://susepaste.org/view/raw/25387863
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-30 17:04 UTC by Fabian Vogt
Modified: 2016-11-03 10:11 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Vogt 2016-08-30 17:04:11 UTC
The URL points to a screenshot.

If the amount of available resolutions does not fit into the box without scrollbars, it causes eliding of some digits. This makes selection much harder.

Reproducible: Always
Comment 1 Sebastian Kügler 2016-08-30 19:54:13 UTC
Thanks for the report.

The kscreen kcm doesn't do anything special with the ComboBox, so this is either a bug in Breeze or a bug in Qt.

Hugo, can you have a look?
Comment 2 Hugo Pereira Da Costa 2016-09-05 10:18:52 UTC
mmm. My configuration panel does not show a combobox, but a slider (see: http://wstaw.org/m/2016/09/05/plasma-desktopHJ3061.png)

This is possibly because I do not have enough resolutions available. Makes it hard to reproduce the problem. In any case, the easyway to see if this is a style issue is to run

systemsettings5 -style fusion

look for the same configuration panel, and see if the problem persists. 
@Fabian: can you test/check ? 
In the meanwhile I'll try setup a test case.

@Sebastian, maybe this is related to the way the combobox is filled. I know combobox have different SizeAdjustPolicy, and they do matter, if for instance the combobox is filled after it was first shown. 
Again. Can't really test for now.
Comment 3 Fabian Vogt 2016-10-01 17:41:39 UTC
(In reply to Hugo Pereira Da Costa from comment #2)
> In any case, the easyway to see if this is
> a style issue is to run
> 
> systemsettings5 -style fusion
> 
> look for the same configuration panel, and see if the problem persists. 
> @Fabian: can you test/check ? 
> In the meanwhile I'll try setup a test case.

With the fusion style the combobox seems to use up the available space: https://i.imgur.com/rsEuMKc.png
Comment 4 Antonio Larrosa 2016-10-31 16:21:40 UTC
This patch fixes this issue: https://phabricator.kde.org/D3192

(Although I'm not sure that's the correct way to fix it, so a comment from someone with experience on breeze should comment on it)
Comment 5 Antonio Larrosa 2016-11-03 10:11:00 UTC
Fixed in breeze 5.8.3 (by https://quickgit.kde.org/?p=breeze.git&a=commit&h=3c7fd5a87e2e176f480b9bb67b594f59a08c9551 )