Desktop-Cube icon indicating copy to clipboard operation
Desktop-Cube copied to clipboard

Allow use of keyboard + mouse drag to activate cube

Open shemgp opened this issue 2 years ago • 2 comments

The Motivation

If I can remember correctly, in Compiz, to activate the cube, one just uses Ctrl + Alt + mouse drag. Would be nice if this would work like that again.

This is so that the panel can be free for dragging full screen windows to scale down. Also, so that I can still use the cube even when I have Desktop Icons NG installed (prevents drag from desktop).

The Solution

Allow Ctrl + Alt + mouse drag to activate the cube. (or maybe customizable keyboard/mouse shortcuts).

The Alternatives

Use overview to show the cube and drag from there. Don't use desktop Icons NG, so you can still drag from the desktop. Just use Super + mouse drag the full screen window to un-fullscreen it. Don't use Hide Top Bar on auto-hide, so the cube won't freeze when dragging from the panel and the panel auto-hides.

Thanks for considering this.

shemgp avatar Mar 03 '22 14:03 shemgp

Hi there, thanks for the suggestion!

AFAIK, it is impossible to intercept mouse events which would normally been sent to a window (there's one hard-coded exception: Super + Right Mouse Button which summons the window menu). So this would not work on windows. Of course it could work on the panel and on the desktop with DING installed, but this is not necessarily the case, as they may be swallowing the pointer events regardless of the modifier state. I would have to test this...

Schneegans avatar Mar 03 '22 14:03 Schneegans

I'd like to have 2 fingers up gesture activate cube (meaning be able to explode it, right now only horizontal desktop switch happens) in Activities overview. Do you think we can detect this motion?

digitalillusion avatar Sep 22 '22 01:09 digitalillusion