konami-command icon indicating copy to clipboard operation
konami-command copied to clipboard

Alt+Click conflicts window move in Linux

Open pankkake opened this issue 11 years ago • 3 comments

But CTRL+ALT+Click and all other works. I have the issue with both Firefox and Chromium, under Linux.

pankkake avatar Dec 01 '14 09:12 pankkake

Copy the following line of code :

javascript:document.addEventListener("click", function(e){alert(e.altKey)});

Could you try those two things and tell me if you see true or false ? :)

Firefox

  1. go to any web page
  2. hit SHIFT+F4
  3. paste
  4. click Run
  5. ALT click in the web page background

Chromium

  1. go to any web page
  2. paste in address bar
  3. ALT click in the web page background

jesus2099 avatar Dec 01 '14 14:12 jesus2099

For both: click = alert(false) alt+click = nothing happens

And... I got it now :( It's a shortcut of my window manager, the browser actually never gets it. I found it and disabled it, it works. Sorry!

pankkake avatar Dec 01 '14 15:12 pankkake

After the loss of pankkake, I went through this issue. In fact it's the same for me now that I am using Debian Xfce where Alt+click stands for a shortcut for window move. I don't know if I want to deactivate this default Xfce shortcut or rather change my script for compatibility with all the people who will not want to change default Xfce.

jesus2099 avatar Feb 03 '21 10:02 jesus2099

Fixed by using Ctrl+Shift+click instead of Alt+click in #736.

jesus2099 avatar Feb 24 '23 00:02 jesus2099