Bug 435878 - Krunner cannot be activated from the desktop by typing accented/dead keys; only Latin keys
Summary: Krunner cannot be activated from the desktop by typing accented/dead keys; on...
Status: REPORTED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.21.4
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-18 16:00 UTC by Rind
Modified: 2024-10-03 22:13 UTC (History)
3 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 Rind 2021-04-18 16:00:16 UTC
SUMMARY
Some special keys do not activate krunner, so they are lost during the search

STEPS TO REPRODUCE
1. Set the language to pt-br (maybe it happens with other languages too)
2. On the desktop, search for "ÁREA"

OBSERVED RESULT
The accent key will be ignored, and the text in krunner will just be "AREA". This will give completely different results than expected.

AREA: https://i.imgur.com/NhLkGl0.png
ÁREA: https://i.imgur.com/qmhTmtS.png

EXPECTED RESULT
Maybe the search should be less "rigid" and ignore those accents? That is, show the same result as "ÁREA" for "AREA".

Also: I saw that there are already some patches intended to add fuzzy search to plasma, so maybe that would solve this?

Or allow these "dead keys" to activate krunner, since pressing them does not display the program window

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Kernel Version: 5.11.15-arch1-2
OS Type: 64-bit
Graphics Platform: X11
Comment 1 Nate Graham 2021-04-21 20:49:59 UTC
Does this happen only in KRunner, or also in:

1. Other Plasma applets (e.g. Kickoff)
2. Other Plasma applets and also QML-based apps (e.g. Discover)
3. Other Plasma applets, QML-based apps, and also QWidgets-based apps (e.g. Dolphin)
4. All software
Comment 2 Nate Graham 2021-04-21 20:50:53 UTC
Oh, or are you saying that only Latin keys can be used to activate KRunner by typing on the desktop?
Comment 3 Rind 2021-04-22 12:42:00 UTC
1. It does not happen with other parts of the system because they are not automatically activated like the krunner on the desktop.
2. No, the opposite of that. Those keys do not activate krunner. So some words are not accented correctly, and the search result is affected.
Comment 4 Nate Graham 2021-04-22 17:58:00 UTC
I see, thanks.
Comment 5 Bruno Gonçalves 2024-10-03 22:13:35 UTC
I tested it again now with Plasma 6.1.5 and with Plasma 6.2 beta, the problem persists, I agree with the suggestion of the first comment, in Portuguese it makes more sense not to differentiate accents, another example, the word Configuration in Portuguese is 'Configurações', it would be good if it were found if written as 'Configuracoes".

In other words, ignore accents, for example áãà and also not differentiate c and ç.