keys on keyboard bar with meta / alt modifier not working
Created by: helguson
- Device: FP2
- UT channel: 16.04 rc
- UT build: 2018-W29
- terminal-app version: 0.9.0
Background
Using the last version of ubuntu touch by canonical I created and used some custom keyboard bar layouts. Recently I transferred those layouts to ubuntu touch by ubports and noticed that my keys with meta
or alt
modifier are not received anymore.
Steps to reproduce
For demonstration we will use the preinstalled showkey
that will print the codes for pressed keys as well as a test layout.
Setup
- create user layout directory if it does not already exist
mkdir -p ~/.config/ubuntu-terminal-app/Layouts
- copy test layout to layout directory
cp 'test layout.txt' '~/.config/ubuntu-terminal-app/Layouts/test layout.json'
Procedure
- (re)start terminal-app and enter passcode
- choose
test layout
for the keyboard bar - run
sudo showkey -a
- press
x
on the on-screen keyboard - press
x
on the keyboard bar - press
C-x
on the keyboard bar forCTRL+X
- press
M-x
on the keyboard bar forALT+X
- press
C-d
on the keyboard bar forCTRL+D
Expected behavior
on 4. showkey
creates output for the key that was pressed
on 5. showkey
creates output for the key that was pressed
on 6. showkey
creates output for the key that was pressed
on 7. showkey
creates output for the key that was pressed
on 8. showkey
creates output for the key that was pressed and stops
So the output should look similar to this what I created using a bluetooth keyboard:
Actual behavior
on 4. showkey
creates output for the key that was pressed
on 5. nothing happens
on 6. showkey
creates output for the key that was pressed
on 7. nothing happens
on 8. showkey
creates output for the key that was pressed and stops
So actually I get the following output: