Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag-n-drop across workspaces broken if popup timeout is 0: Popup gets stuck and file cannot be dropped #200

Open
humanplayer2 opened this issue Jan 12, 2022 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@humanplayer2
Copy link

humanplayer2 commented Jan 12, 2022

I sometimes use the mouse to drag-n-drop files across workspaces and applications. I can't do that in v33 with the popup timeout set to zero.

Two issues arise:

  1. The popup is keeps showing when releasing both the "activator key" /workspace switcher shortcut key (I use Super + Arrow Keys for workspace switching, so Super in my case) and the mouse key. LMB again makes it go away.
  2. The dragged file is not dropped correctly in place, but just "floats away" as if dropped in an incompatible location.

Steps to reproduce:

  1. Set Workspace Matrix popup timeout to 0 (so the popup stays shown until the activator key is released).
  2. Open Nautilus on different workspaces A and B, viewing different folders.
  3. Pick up a file on A (RMB click-and-hold the file, move the mouse a bit), and switch to B while holding the file with LMB down.
  4. Upon releasing the activator key, the popup stays.

This does not happen if the timeout is non-zero. I'm on Matrix Workspace v33, GNOME 40.

UPDATE: On GNOME 42, Matrix Workspace v34, files can now be dragged and dropped, but the popup stays.

@ebeem
Copy link
Collaborator

ebeem commented Jan 12, 2022

Thanks for reporting, I am pretty sure this issue has something to do with #198
Probably dragging a file is one of the reserved modifier masks by gnome, I will try to debug this more and see if this PR caused any unexpected behavior. However, we can't simply revert it because it's actually fixing another bug about reserved modifiers.

@mzur mzur added the help wanted Extra attention is needed label Jan 12, 2022
@ebeem
Copy link
Collaborator

ebeem commented Feb 2, 2022

Can you please check with an earlier release of wsmatrix? like v6.3 or v6.2.
Please let me know if this fixes it as it seems like I am not able to get it working myself.

@humanplayer2
Copy link
Author

Alas no, the problem persists in both 6.2 and 6.3. I tried the former in Wayland too, without change.

If there is anything else I can check or elaborate on, then ask away!

@ebeem
Copy link
Collaborator

ebeem commented Feb 5, 2022

@humanplayer2 Thanks for letting me know!
it seems like this is not a problem with the extension then, but probably a gnome update that broke this feature.
I will try to see if I can find any open issues regarding this in their gitlab.

@mzur
Copy link
Owner

mzur commented May 1, 2022

Maybe related to #219.

@humanplayer2
Copy link
Author

On GNOME 42, Matrix Workspace v34, files can now be dragged and dropped, but the popup stays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants