Bug 434811 - Tab mnemonic messes with other mnemonics
Summary: Tab mnemonic messes with other mnemonics
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 20.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-23 03:47 UTC by John Salatas
Modified: 2021-03-23 12:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 21.04
Sentry Crash Report:


Attachments
screenshot showing the two conflicted mnemonics (475.22 KB, image/png)
2021-03-23 03:47 UTC, John Salatas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Salatas 2021-03-23 03:47:40 UTC
Created attachment 136965 [details]
screenshot showing the two conflicted mnemonics

When kate is showing tabs for open files, if you press the ALT key, you will notice that each tab is assigned a mnemonic according to its file name (I suppose). This causes issues if the same mnemonic is used in some other component.

STEPS TO REPRODUCE
1. create two or more documents and save these.  For one of these, use a filename that starts with "a" (like "a file.txt"). The other two filenames don't really matter.
2. go to a document the its filename isn't the one starting with "a"
3. Try to globally replace something. This usually would involve hitting CTRL+R, then typing what you want to replace to what and then hitting ALT+A (the mnemonic for "Replace &All").

OBSERVED RESULT
Unfortunately, instead of performing the global replacement, it switches tabs :(

EXPECTED RESULT
It should perform the f**ing replacement :)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon User Edition
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
As the proverb says, A picture is worth a thousand words, attached is a picture of what I'm trying to describe above :)
Comment 1 Nate Graham 2021-03-23 12:59:52 UTC
This was fixed for Kate 21.04! :)