Bug 481864 - CTRL-X and CTRL-Z are not working
Summary: CTRL-X and CTRL-Z are not working
Status: RESOLVED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-26 14:58 UTC by _Gr33n_R10t_
Modified: 2024-03-03 01:02 UTC (History)
2 users (show)

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


Attachments
kglobalshortcutsrc (16.18 KB, text/plain)
2024-03-01 09:16 UTC, _Gr33n_R10t_
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _Gr33n_R10t_ 2024-02-26 14:58:59 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Login on Fedora with X11
2. Open a text editor like Kate
3.  Type some text like asdasdasd
4. Type CTRL-Z

OBSERVED RESULT
The typed text is not cleared.

EXPECTED RESULT
I want the undo action.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora Linux 39 (KDE Plasma)
(available in About System)
KDE Plasma Version: Plasma 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version:

ADDITIONAL INFORMATION:
Comment 1 Nate Graham 2024-02-26 21:58:56 UTC
Does this only happen in Kate? Ar in any other apps as well? how about Firefox, Dolphin, or Gedit?
Comment 2 _Gr33n_R10t_ 2024-02-28 08:21:13 UTC
It happen on every applications if I kill the process the key mapping work as expeceted.

pkill kglobalaccel5
Comment 3 Nate Graham 2024-03-01 03:50:18 UTC
In that case what's going on is that there's a global shortcut bound to Ctrl+Z that's conflicting with the in-app shortcuts. This is why killing kglobalaccel fixes the issue. I'm 99% sure we don't ship anything this way by default, which would mean it's caused by distro or user misconfiguration. Look in ~/.config/kglobalshortcutsrc and see what in there is using Ctrl+Z.
Comment 4 _Gr33n_R10t_ 2024-03-01 09:16:29 UTC
Created attachment 166244 [details]
kglobalshortcutsrc

I don't have any entry for Ctrl+Z. :(
Comment 5 _Gr33n_R10t_ 2024-03-01 09:26:37 UTC
I have checked another kglobalshortcutsrc and seem that by default the Ctrl+Z and Ctrl+X is not configured in the file!
Comment 6 Nate Graham 2024-03-03 01:02:07 UTC
Hmm, then I'm not sure, but since killing kglobalaccel fixes it, and it's not affecting a new user account, then it's clear that there's *some* kind of local misconfiguration and not a bug here. I'd recommend posting about it in https://discuss.kde.org.