#1056 Ctrl-C and Ctrl-X don't work with non-English layouts, but Ctrl-V does

debian (1)

I have the same problem as in bug [#881]. However, that bug is closed, and I can't reopen it.
I use Debian unstable on amd64. Package versions:
geany 1.24.1+dfsg-1
libgtk2.0-0 2.24.24-1
When current keyboard layout is not English, hotkeys Ctrl-X and Ctrl-C don't work. However, Ctrl-V works.


Bugs: #881


  • Lex Trotman

    Lex Trotman - 2014-06-30
    • status: open --> pending-invalid
  • Lex Trotman

    Lex Trotman - 2014-06-30

    As noted on the referenced bug report, the problem is dependent on the version of GTK/Glib which is where keyboard layout handling is done, 2.24 being the problem (the version you are using). We cannot fix it.

    You might try reporting this to GTK.

  • Evgeny Kapun

    Evgeny Kapun - 2014-06-30

    But in other GTK programs all those hotkeys work just fine!

  • Evgeny Kapun

    Evgeny Kapun - 2014-07-01

    Moreover, even in Geany those hotkeys work in text fields, such as the one in Find dialog. They work everywhere except the editor itself.

  • Lex Trotman

    Lex Trotman - 2014-07-01

    All widgets except the edit widget are standard GTK widgets, the edit widget is a custom widget from the Scintilla project (www.scintilla.org).

    I can't find the reference just now, but it is my understanding that when using a non-English keyboard layout GTK does not send the ASCII Control-C-X-V characters, instead sending the non-ASCII character that occupies those keypositions, eg a Cyrillic character code plus the control modifier.

    GTK Widgets may understand this and compensate so they still work but Scintilla may not compensate.

    Try it with a Scite (the Scintilla test editor) using the same version of GTK.

    If the problem exists there too, you could report it to Scintilla.

  • Evgeny Kapun

    Evgeny Kapun - 2014-07-01

    In Scite (Debian package version 3.0.2-3, linked against the same version of GTK), the problem doesn't appear. Debian repository has a newer version of Scite (3.4.2-1), but it is linked against GTK 3. The problem doesn't appear there either.

  • Lex Trotman

    Lex Trotman - 2014-07-03

    Ok, just to be sure can you try re-binding the cut, copy and paste keys in menu->edit->preferences->keybindings using the GUI.

    Do they work after you re-bind them (and what text shows as the binding now)?


Log in to post a comment.