Bug 510697 - Mod3 on de neo layout opens quick filter
Summary: Mod3 on de neo layout opens quick filter
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (other bugs)
Version First Reported In: 6.19.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-16 20:37 UTC by leonhard+kde.org
Modified: 2025-10-16 20:37 UTC (History)
1 user (show)

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


Attachments
Quick filter activated on Mod3 in Open/Save dialogue (26.07 KB, image/png)
2025-10-16 20:37 UTC, leonhard+kde.org
Details

Note You need to log in before you can comment on or make changes to this bug.
Description leonhard+kde.org 2025-10-16 20:37:05 UTC
Created attachment 185845 [details]
Quick filter activated on Mod3 in Open/Save dialogue

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY

With the German (de) keyboard layout variant Neo2 [1] using the right Mod3 key (which is used for the character "#" on the standard 105-key layout[2]) within the Open/Save dialog activates the quickfilter and also shifts the focus to it. 


[1] https://neo-layout.org
[2] https://en.wikipedia.org/wiki/Keyboard_layout#/media/File:ISO_keyboard_(105)_QWERTY_UK.svg

STEPS TO REPRODUCE
1. Switch the keyboard layout to German (Neo2)
2. Open a „Save file“ dialogue
3. Press the "#" key

OBSERVED RESULT

Quick filter bar opens

EXPECTED RESULT

No action (key is used as a modifier like shift)

SOFTWARE/OS VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION

The use of the left-hand mod3 key (caps lock) does not open the quick filter.

The key used for "#" in the German layout is apparently used for "\" on the US layout. It is or was used as a short cut for opening the filter bar — on the US layout that is. I could not open the filter bar using any single key with the “normal” German "qwertz" layout, especially not # (\ on the US layout) nor with Alt Gr+ß (prints \ on German layout). So it does not appear to be really hard coded.

I’m reasonably certain I found the code which represents the filter bar (KFileWidgetPrivate::initQuickFilterWidget()) and where it’s instantiated but understanding how a key triggers showing/hiding it is where I’m currently stuck.

First version I got around to analyse this with was kio 6.17.0-1 on Arch Linux.

https://github.com/KDE/kio/blob/508f830e56ca89086a3b79ee2713138751321d6c/src/filewidgets/kfilewidget.cpp#L1362

https://github.com/KDE/kio/blob/508f830e56ca89086a3b79ee2713138751321d6c/src/filewidgets/kfilewidget.cpp#L404

Bonus Bug: When trying to add a new keyboard layout in the system settings I can filter using umlauts, e.g. "ö", but the filter on the variant (right) side of the dialogue will be empty. If I use "deu" instead I can select "Deutsch (Österreich)" on both sides. So filtering using umlauts is probably broken.