Comment 5 for bug 1979691

Revision history for this message
zzarko (zzarko-gmail) wrote :

On my old installation, after starting imwheel in debug mode and pressing any of reprogrammed buttons I get something like this when browsers aren't started:
----------------------------------------------
ButtonPress:window=4000007(4fb)
resource name ="mate-terminal"
class name ="Mate-terminal"
findWA:button=100
No Match for : win="Terminal" res="mate-terminal" class="Mate-terminal"
ButtonPress
findWA:button=9
Testing: "^Firefox$" ?= "Terminal"
Testing: "^Firefox$" ?= "mate-terminal"
Testing: "^Firefox$" ?= "Mate-terminal"
Window ID doesn't match
input button(9) doesn't match rule-button(8)
Testing: "chromium-browser" ?= "Terminal"
Testing: "chromium-browser" ?= "mate-terminal"
Testing: "chromium-browser" ?= "Mate-terminal"
Window ID doesn't match
input button(9) doesn't match rule-button(8)
No Match for : win="Terminal" res="mate-terminal" class="Mate-terminal"
Taking default action.
doWA:
WinAction (0x7ffc5173bd40):
 Priority : 0
 Window Regex : "Terminal"
 Keysyms Mask (0x7ffc5173bcd0):
 Button : 9
 Keysyms Out (0x7ffc5173bd00) :
  "Button9 "
 Reps: 1
 Rep Delay: 0
 Key Up Delay: 0
rep=0
Ungrab buttons!
Ungrabbing Button 8...
Ungrabbing Button 9...
setbit:n=1,1 val=1
Grab buttons!
Grabbing Button 8...
Grabbing Button 9...
doWA: keyup delay=0
Ungrab buttons!
Ungrabbing Button 8...
Ungrabbing Button 9...
setbit:n=1,1 val=0
Grab buttons!
Grabbing Button 8...
Grabbing Button 9...
----------------------------------------------
So, imwheel got the access to buttons and was able to remap them to other actions and it prints out that it searches for browser windows.

When I start it on my new installation, I only get the error I posted, and pressing one of remapped buttons gives nothing as output. My guess is that imwheel for some reason could not intercept mouse buttons (it looks like it does not have access rights), so it could not even detect presses on them, let alone send anything to browsers.

It looks to me that error does not have anything to do with the programs I'm trying to control with imwheel (I use if for text editors too), but nevertheless I'm using Firefox and Chrome from PPA, and Vivaldi form repository.