Bug 429467 - Alt + A on search in Find Replace is not working
Summary: Alt + A on search in Find Replace is not working
Status: RESOLVED INTENTIONAL
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 20.08.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-21 17:11 UTC by Ken Fallon
Modified: 2020-12-02 12:58 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 Ken Fallon 2020-11-21 17:11:23 UTC
SUMMARY


STEPS TO REPRODUCE
1. Ctrl R
2. Enter something to search and something to replace
3. Press Alt + A

OBSERVED RESULT
The behaviour for Alt + Up (Previous Document) occurs

EXPECTED RESULT
Replace All

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: KDE Frameworks 5.75.0
Qt Version: Qt 5.14.2 (built against 5.14.2)

ADDITIONAL INFORMATION
LXQT On Fedora release 32 (Thirty Two)
Comment 1 David Greengas 2020-11-28 02:12:58 UTC
I followed your steps and I was unable to reproduce it. It worked as expected and did a replace all. However, I am running on Plasma and not LXQT. Is LXQT stealing the shortcut?

Kate
Version 20.08.3

---
Operating System: Manjaro Linux
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Kernel Version: 5.9.10-1-MANJARO
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Comment 2 Justin Zobel 2020-12-02 01:13:51 UTC
Ken if you can, please supply the information requested in Comment 1.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thank you.
Comment 3 Ken Fallon 2020-12-02 10:11:26 UTC
Apologies for the delay. I installed two other distros to check the issue

I confirmed that the problem is NOT in version 19.12.1 on Fedora release 31 (Thirty One), and also NOT in version 17.12.3 on GalliumOS 3.1 (ubuntu 18.04)

It is also NOT a problem on a clean install of Fedora release 32 (Thirty Two)20.08.3 

The issue is still present in Version 20.08.3 Fedora release 32 (Thirty Two)
I did notice that when I pressed ALT it placed an Underscore under the "A" in "Replace All".

I confirmed that LXQT does not have Alt + A assigned.

I did notice that when I pressed ALT it placed an Underscore under the "c" in "Replace All".
Comment 4 Kåre Särs 2020-12-02 12:58:04 UTC
I'm afraid that this is working as designed.

The automatically generated Alt-... shortcuts depend on a lot of things like the translations and probably even in which order your plugins are loaded. This is hard to fix.

A workaround could be to expose the button-actions as actions that you can assign shortcuts to manually.

Please reopen as a wish if you want the replace all button to get a configurable shortcut.