Bug 358708 - Neo arrow keys do not work
Summary: Neo arrow keys do not work
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-28 21:54 UTC by Sven Brauch
Modified: 2016-04-06 08:26 UTC (History)
2 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 Sven Brauch 2016-01-28 21:54:35 UTC
In kate (and KDevelop), the alternative arrow keys on the neo keyboard do not work. To reproduce:

setxkbmap -layout de neo
start kate
type some text
press the "<" key (german keyboard) and one of ESDF, that should move the cursor, but doesn't

I have been poking around quite a while for why this is broken, but couldn't figure it out. In QtCreator it works, so it's not a Qt bug per se. However, there are various other affected applications.

It seems like the shortcut is not accepted by the QAction (which has Qt::Key_Right) set as its shortcut) for whatever reason and then passed on (to the view etc) instead.

Any ideas where else to look?
Comment 1 Kåre Särs 2016-01-29 08:22:55 UTC
What version of Qt are you using? There was a bug in Qt that prevented the keypad keys from being recognized by QAction. Maybe it is a similar problem?
Comment 2 Sven Brauch 2016-01-29 10:03:21 UTC
It's still a bug in Qt, I did some more research yesterday. This one is different though. It's related to the 4th modifier key neo has which doesn't map to any of the native modifiers.

I have a patch (actually various patch ideas on how to fix it), I'll see if I can get any of them into Qt.

Tanks Kare, I'll close this, as it's not a bug in kate.
Comment 3 Robert Riemann 2016-04-06 08:26:14 UTC
Would you please provide the upstream bug report?