Open terencode opened 5 years ago
Why do you think this relates to dash-to-dock? I can't find any link.
Because this is only printed when the extension is enabled.
Are you saying whenever you press a key or click on the mouse you get that logged? What shell/extension versions?
Should have added more information, sorry. ArchLinux, using dash to dock master branch, gnome-shell 3. 32
What I mean is if you bind a button of your mouse to a keyboard key and alternate between pressing this mouse key and an other key on a real keyboard, you'll get those warnings.
How would I bind a mouse button to a keyboard key, so that I can try to reproduce the issue?
Well you have to know if your mouse supports it. If it does and it's a well-known mouse, there is a chance you can use libratbag to bind one of its button to a keyboard key. Otherwise, I think sending a keystroke from two different devices should work too. E.g. 2 keyboards.
Trying to figure out what's going on, I can tell you that it's due to Main.wm.addKeybinding
and that the number of time it's called is the number of warning you get when switching between two input devices
@micheleg I'm seeing this issue as well...no other plugins or extensions enabled, only d-t-d.
Aug 06 12:15:27 localhost gnome-shell[1707]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Aug 06 12:15:27 localhost gnome-shell[1707]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Aug 06 12:15:27 localhost gnome-shell[1707]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
Aug 06 12:15:27 localhost gnome-shell[1707]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Aug 06 12:15:27 localhost gnome-shell[1707]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Aug 06 12:15:27 localhost gnome-shell[1707]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Aug 06 12:15:27 localhost gnome-shell[1707]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Aug 06 12:15:27 localhost gnome-shell[1707]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Aug 06 12:15:27 localhost gnome-shell[1707]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
I had the same problem. I temporarily managed to get rid of this problem. I switch off the toggle with keyboard shortcuts in dash to dock settings.
I don't know how it's related but I get the following warnings spammed when I switch from pressing a key from my keyboard to pressing a key using my mouse and vice-versa :