Bug 398651 - Combobox to select a user account is vertically bigger than normal
Summary: Combobox to select a user account is vertically bigger than normal
Status: RESOLVED FIXED
Alias: None
Product: policykit-kde-agent-1
Classification: Plasma
Component: general (show other bugs)
Version: 5.26.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jaroslav Reznik
URL:
Keywords:
: 435421 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-09-15 03:00 UTC by Patrick Silva
Modified: 2023-11-13 13:36 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (31.73 KB, image/png)
2018-09-15 03:00 UTC, Patrick Silva
Details
Oversized dropdown (46.33 KB, image/png)
2018-09-19 22:38 UTC, Scott Harvey
Details
screenshot taken on neon dev unstable (188.08 KB, image/png)
2019-03-02 17:30 UTC, Patrick Silva
Details
screenshot taken on neon dev unstable (201.80 KB, image/png)
2019-03-02 17:32 UTC, Patrick Silva
Details
Gnome Disks asking for password on Plasma 5.18 beta (139.97 KB, image/png)
2020-02-02 17:30 UTC, Patrick Silva
Details
user combobox is big (705.29 KB, video/mp4)
2021-04-18 20:42 UTC, medin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2018-09-15 03:00:53 UTC
Created attachment 114969 [details]
screenshot

See the screenshot taken on Arch Linux running plasma 5.14 beta.
Comment 1 Nate Graham 2018-09-18 19:57:58 UTC
Scott, can you reproduce the issue?
Comment 2 Scott Harvey 2018-09-18 20:40:53 UTC
I'm on openSUSE Tumbleweed, and it doesn't want to show the "other user" selection. I've got a second user - Joe Test - but it won't show.

Give me some time and I'll set up a VM with Kubuntu or Neon.
Comment 3 Scott Harvey 2018-09-19 22:38:13 UTC
Created attachment 115101 [details]
Oversized dropdown

Confirmed in Neon Dev Stable. I'll dig into it and see if I can find what's going on.
Comment 4 Nate Graham 2018-09-19 23:23:50 UTC
I'm guessing it's a regression from https://cgit.kde.org/polkit-kde-agent-1.git/commit/?id=d4ee26a76a217a5beed73c44080b3a49b7b681a0
Comment 5 Scott Harvey 2018-09-19 23:27:54 UTC
I don't think so. I think there's something funky in the layout (sizeHints, etc.). 

I'll pull it into QtCreator and see if there's a weird size setting somewhere.
Comment 6 Scott Harvey 2018-09-25 21:03:09 UTC
The combobox appears to be expanding into the space reserved for the AuthDialog (?) that magically appears in the center of the dialog when the password is incorrect. That's always struck me as a very odd visual design.

(I know I didn't work on this before, because it's a PITA and I would have remembered.)

I had set up a task - https://phabricator.kde.org/T8569 - where I expected people to discuss redesigning this dialog. There were plenty of redesign/reword comments in an unrelated patch, but this Task went nowhere.

Can we pick it up again and see if there's a better visual solution? The way the dialog is built now would require tearing it apart to stop this glitch.
Comment 7 Patrick Silva 2019-03-02 17:30:29 UTC
Created attachment 118483 [details]
screenshot taken on neon dev unstable

Sometimes the dropdown is even bigger.

Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.15.80
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.0
Comment 8 Patrick Silva 2019-03-02 17:32:24 UTC
Created attachment 118484 [details]
screenshot taken on neon dev unstable
Comment 9 Patrick Silva 2020-02-02 17:30:28 UTC
Created attachment 125621 [details]
Gnome Disks asking for password on Plasma 5.18 beta

Operating System: Arch Linux 
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.1
Comment 10 Nate Graham 2021-04-07 16:09:58 UTC
*** Bug 435421 has been marked as a duplicate of this bug. ***
Comment 11 medin 2021-04-18 20:41:24 UTC
If you click on Details it appears fixed, but when you resize the dialog it becomes bigger. See attached video for more info.
Comment 12 medin 2021-04-18 20:42:53 UTC
Created attachment 137692 [details]
user combobox is big
Comment 13 Patrick Silva 2023-11-13 13:36:39 UTC
Fixed. \o/

Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland