Closed infokiller closed 6 years ago
Can confirm.
Can you test next
branch? 7f7da66c1a92a8f034fcb4c4533ce57bed45ce64 should fix this one.
Works now, thanks!
i have ←, ↑, →, ↓, enter, backspace and delete binded to Mode_switch in combination with several other keys. it stopped working in rofi with the latest upgrade (1.4.2). that's how i got here. is it possible that this commit broke my keybindings in rofi?
edit: downgrading to 1.3.1-2 (debian) solved the problem so i confirm 1.4.2 broke it.
that is not conclusive. anything between 1.3.1 and 1.4.2 could have broken it. Can you attach your configuration so we can test? to me it is not clear how exactly your bindings are setup.
i agree saying this commit broke it is not conclusive. sorry.
in my keyboard layout file in /usr/share/X11/xkb/symbols/my_keyboard i have things like:
key <LCTL> {[ Mode_switch, Multi_Key]};
which would then let me do:
key <AC06> { [ h, H], [Left, any]};
key <AC07> {[ u, U], [Down, any]};
key <AC08> {[i, I], [Up, any]};
key <AC09> {[o, O], [Right, any]};
key <SPCE> {[space, space], [Return, any]};
key <CAPS> {[Escape]};
key <LWIN> {[Control_L]};
that config could be run by:
setxkbmap my_keyboard -option
rofi runs as this:
rofi -modi run,drun -show run -font "Terminus (TTF) 24"
the theme is configured (depending on the rofi version) in ~/.config/rofi/config as:
rofi.theme: /usr/share//rofi/themes//solarized_alternate.rasi
#include "/usr/share//rofi/themes//solarized_alternate.theme"
it worked fine before i upgraded to 1.4.2 and it works fine now after downgraded to 1.3.1 i didn't notice any particular application would have problems with my_keyboard.
my guess is that any keyboard which would have Mode_switch assigned to some key and then another one having Down set together with Mode_switch to do the ↓ should be minimal enough setup to test. these are the related lines from my keyboard configuration:
key <LCTL> {[ Mode_switch, Multi_Key]};
key <AC07> {[ u, U], [Down, any]};
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Version
Version: 1.4.1
Configuration
https://gist.github.com/infokiller/1852d7aabe5866fd2809786c615c61a6
Launch Command
The commandline used to launch rofi
rofi -show run
Steps to reproduce
rofi -show run
Super+1
What behaviour you see
1
was pressedWhat behaviour you expect to see
More details
I also tried with
Super_L
but that didn't change anything. The output when I runxev | grep key
from a terminal:I tried running rofi with the
G_MESSAGES_DEBUG=all
variable in hope to see what's the keybinding the rofi intercepts, but I don't see it's being printed.