Bug 404060 - Combobox dropdowns in QML KCMs remain open when you click on the Apply button in KCMShell or System Settings
Summary: Combobox dropdowns in QML KCMs remain open when you click on the Apply button...
Status: CONFIRMED
Alias: None
Product: frameworks-kcmutils
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.68.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-07 15:06 UTC by Patrick Silva
Modified: 2020-04-01 19:16 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2019-02-07 15:06:36 UTC
STEPS TO REPRODUCE
1. open system settings > cursor
2. open "Size" dropdown
3. while the dropdown is still open, click aside "Apply" button on botton


OBSERVED RESULT
"Size" dropdown remains open

EXPECTED RESULT
"Size" dropdown always closes when you click outside

SOFTWARE/OS VERSIONS
Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.15.80
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.0
Comment 1 Matej Mrenica 2019-02-07 15:28:24 UTC
I can also see this.

Arch Linux
KDE Plasma: 5.14.90
KDE Frameworks: 5.54.0
Qt: 5.12.1
Comment 2 Marco Martin 2019-02-11 14:18:38 UTC
this is one of the drawbacks having systemsettings being half in qml half in qwidgets: the combobox popup can be modal only in regards to the other qml contents of the bodules, while nothing outside of it (sidebar, apply button....) can have any interaction with it.

also, popups in qml are not real popup windows, but just layers on the same window, making impossible to have this kind of things managed at windowmanager level. If that can be worked around at style level i don't know, but going to be tricky
Comment 3 Patrick Silva 2019-02-18 15:26:25 UTC
I also noticed that the dropdows are not closed when the option currectly selected (that you click to open the dropdown) is clicked.
Is such behavior related to this report?
Comment 4 Nate Graham 2019-06-21 09:27:48 UTC

*** This bug has been marked as a duplicate of bug 408950 ***
Comment 5 Patrick Silva 2019-07-21 18:46:12 UTC
bug 408950 is fixed on Neon unstable edition but this issue is still reproducible on the same system...

1. open system settings > workspace theme > cursors
2. open "Size" dropdown
3. while the dropdown is still open, click aside "Apply" button on bottom

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.16.80
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.3
Comment 6 Nate Graham 2019-07-21 20:11:24 UTC
Looks like my duping was incorrect, sorry.

As Marco said, this issue may not be really resolvable without rewriting all of System Settings and KCMshell due to the hybrid QWidgets/QML architecture.

Moving it to frameworks-kcmutils anyway just in case where's something we can do about it.