Bug 442538 - Combobox's popup doesn't become wider than the combobox itself when needed
Summary: Combobox's popup doesn't become wider than the combobox itself when needed
Status: REPORTED
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-16 15:44 UTC by David REVOY
Modified: 2021-10-03 09:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
^ a gif animation screenrecord of the bug in action (1.21 MB, image/gif)
2021-09-16 15:44 UTC, David REVOY
Details
^ a gif animation screenrecord of the same in appimage (solved) (879.08 KB, image/gif)
2021-09-16 20:48 UTC, David REVOY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David REVOY 2021-09-16 15:44:56 UTC
Created attachment 141602 [details]
^ a gif animation screenrecord of the bug in action

Hi!
When the brush preset docker is resized in width to be very compact and thin (eg. used as a column), the tag drop-down menu display only "..." 

STEPS TO REPRODUCE
1. Reduce the width of the brush preset docker to its extreme.
2. Press the first button on top left of the docker to list the tags.

OBSERVED RESULT
All the list is populated with:
"..."
"..."
"..."
"..."
Making the selection of a tag impossible to predict.


EXPECTED RESULT
Have the drop down list large enough to see at least the first letter of the name of each tags to ease selecting them.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 20.04LTS

GIT LOG/VERSION
Built from source
commit bce9b2d81d687e0fcec58fd393a89cae291e2f31 (HEAD -> krita/5.0, origin/krita/5.0)
Author: Alvin Wong <alvin@alvinhc.com>
Date:   Thu Sep 16 21:10:16 2021 +0800
Fix duplicated connections for Storyboard Docker
Comment 1 David REVOY 2021-09-16 20:48:10 UTC
Created attachment 141618 [details]
^ a gif animation screenrecord of the same in appimage (solved)

The bug doesn't happen in the appimage ( krita-5.0.0-beta1-x86_64.appimage ); the list of tag is fully visible, as shown on the gif animation in attachement.

It might be because I built Krita5 with an old Qt (the one coming with Kubuntu 20.04LTS is certainly not a fresh version anymore), or because Krita tries to use the Breeze theme when compiled.
Comment 2 David REVOY 2021-09-17 03:27:14 UTC
I tested to tweak a bit my Git~Krita/5.0 install and found the culprit: It's the Breeze style. Other style with issue: Oxygen. For the theme "Windows", it shows the first letter, dots, then the last (not good either).

Changing it to 'Fusion' solves it.
Comment 3 Halla Rempt 2021-09-17 08:24:24 UTC
Okay -- let's move the bug to breeze then.
Comment 4 Nate Graham 2021-09-21 23:22:57 UTC
So the issue is that with the Breeze theme, the combobox's popup doesn't become wider than the combobox itself when needed? Do I have that right?
Comment 5 Halla Rempt 2021-09-24 09:01:13 UTC
Yes, that's correct.
Comment 6 David Redondo 2021-09-24 09:51:13 UTC
Is that a regression or was it always like that in breeze?
Comment 7 Halla Rempt 2021-09-24 10:10:05 UTC
I can't check since I don't have older versions of breeze around, but I'm pretty sure it's a regression.
Comment 8 Noah Davis 2021-09-24 12:41:43 UTC
I'm not actually able to make that dock thin enough to reproduce the bug. How did you make it so thin?
Comment 9 Halla Rempt 2021-10-03 09:34:36 UTC
If you undock the docker, you made it very narrow.