Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-42421

Backspace generated by xkb level 3 shift does not delete selected text

    XMLWordPrintable

Details

    Description

      I have assigned the right alt key to be iso_level3_shift via xkb and created a custom layout, such RALT+k is BackSpace. Here is my xkb file:
      /usr/share/X11/xkb/symbols/en-custom-colemak:

      default  partial alphanumeric_keys modifier_keys
      
      xkb_symbols "basic" {
      
          name[Group1]= "English (Custom)";
      
          key.type = "THREE_LEVEL";
      ...
          key <AB06> {	[	  k,	K,		BackSpace	]};
          key <AB07> {	[	  m,	M,		Delete		]};
      ...
          
          key <RALT> {
      	type[Group1]="ONE_LEVEL",
      	symbols[Group1] = [ ISO_Level3_Shift ]
          };
      };
      

      In qt creator 3.2.2 based on qt 5.3.2 this "level3 backspace" (RALT+k) works as intended when deleting plain text, but it does not delete selected text. Pressing "level3 delete"(RALT+m) actually deletes it.

      Also, I have tested on this example. Using pre-compiled by author binary with version with qt 5.1.0 the "level3 backspace" does not work at all, but other level3 keys (arrows, home/end, pgup/pgdown, etc.) work.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              liaqi Liang Qi
              ionivan Ivan Nezhdanov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes