By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 426

Summary: Ctrl+y doesn't work in Kmail
Product: TDE Reporter: Luc <lucmove>
Component: other (any)Assignee: Timothy Pearson <kb9vqf>
Status: NEW ---    
Severity: trivial CC: bugwatch, darrella, office, slavek.banko
Priority: P5    
Version: 3.5.13.x [Trinity]   
Hardware: i386   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:

Description Luc 2011-02-02 23:45:59 CST
I have KDE configured globally to "undo" text editing with the Ctrl+z shortcut and "redo" with Ctrl+y. The "redo" shortcut does not work in Kmail. The correct action works if I select Edit > Redo, but the keyboard shortcut will not work. The default Ctrl+Shift+z combination will work, though. I don't think I've had that problem in other KDE applications, just Kmail.
Comment 1 Darrell 2012-08-15 20:37:24 CDT
Confirmed in R14.
Comment 2 Slávek Banko 2012-08-16 06:12:30 CDT
In KMail v3.5.13.1 is also the Redo to Ctrl+Shift+Z. However, as I watched, I have here a global keyboard shortcut for Redo as the default just to Ctrl+Shift+Z. So from my perspective, everything is in perfect order.
Comment 3 Darrell 2012-08-16 10:51:16 CDT
Ctrl+Shift+Z is the default redo shortcut for KMail editing. Adding Ctrl+Y in KMail as a second shortcut option does not work. In my system, Ctrl+Y is not declared anywhere as a global shortcut or as a shortcut in KMail.
Comment 4 Slávek Banko 2012-08-16 10:56:08 CDT
Oh. In this case, also confirmed in 3.5.13.1.
Comment 5 Darrell 2012-08-16 11:07:38 CDT
I can't get Ctrl+Y to function 3.5.10. Looks like this bug has been around a while.
Comment 6 Darrell 2013-05-22 21:32:28 CDT
This bug still exists in GIT (2013-05-22). Strange bug.
Comment 7 Nikolaus Klepp 2015-11-22 03:38:57 CST
I just ran int this bug again ... and found a solution that works for me:

Symtoms:

I have these keybindings defined in .trinity/share/config/kdeglobals:

[Shortcuts]
Redo=Ctrl+Shift+Z
Undo=Ctrl+Z

And I have these keybindings defined in .trinity/share/config/katerc:

[Katepart Shortcuts]
backspace=Backspace;Shift+Backspace
delete_line=Ctrl+Y

But <Ctrl>+Y does "Undo" instead of "Delete Line".



Solution - kind of:

Disable KHotKeys here:
kcontrol -> Regiolal & Accessibility -> Input Actions -> General Settings (2. Tab) -> Disable KHotKey daemon

German localisation:
kcontrol -> Regionaleinstellungen -> Tastenkombinationen -> Allgemeine Einstellungen (2. Tab) -> KHotKey-Dienst deaktivieren

Funny thing is, I cannot find Ctrl+Y in ~/.trinity/share/config/khotkeysrc nor in any other file in ~/.trinity despite .trinity/share/config/katerc.
Comment 8 Nikolaus Klepp 2015-11-22 03:48:12 CST
Maybe this is part of the explanation:

setxkbmap -model pc104 -layout at,us -variant ,nodeadkeys

so maybe when khotkeys is started, it uses the us layout first and uses the keyboard scancodes from it. When the regional settings are changed, it does not wipe the previous assignments but adds the new ones to the list of keycombinations. So the new keycombinations are shadowed by the old ones.