Skip to content

Scrolling TextView instead of Cursor when using exotic keyboard layout #2011

@daniel-edler

Description

@daniel-edler

Environment

  • TeXstudio: 4.1.1+ (4.0.4 works. Looks like the 4.1.1 fix "fix weird OSX issue that cursor keys were not working" is causing the issue)
  • Qt: 5.15.2, compiled with Qt 5.15.2 R
  • OS: Arch Linux

Expected behavior

I created my own xkb keyboard layout. I have arrow keys on e,s,d,f which are reached on the third layer reached by <Alt Gr> or the <,>,| key (on a german qwertz). These arrow keys should behave as the usual arrow keys and move the cursor.

Actual behavior

Instead the whole TextView is moved. My arrow keys behave like <Alt>+<real arrow key>

How to reproduce

I borought the idea of cursors from the neo2 layout. So setting the keyboard layout to this layout should reproduce the problem. I'll check this later. Now I need to work with 4.0.4

Keyboard layout preparation:

  • Export the keyboard layout via xmodmap -pke > $keymap
  • Modify the file by adding keywords like "Up" to the third (and higher?) layer to keys like "e"
  • Load the xmodmap via xmodmap $keymap

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions