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

Dragging a window to 2nd row or more fails in Overview #274

Open
Francewhoa opened this issue Feb 23, 2024 · 4 comments
Open

Dragging a window to 2nd row or more fails in Overview #274

Francewhoa opened this issue Feb 23, 2024 · 4 comments

Comments

@Francewhoa
Copy link

Francewhoa commented Feb 23, 2024

Summary

Dragging a window to a workspace only works for the first row of the grid. Dragging a window to a workspace on the second or more row of the same grid, are automatically moved to the first row. This short two minutes video shows this challenge at:

The needed end result is that users are able to drag a window to any workspaces on any rows within the grid

Any volunteer for a patch? Both me and the Ubertus.Org team would be happy, as volunteer, to contribute testing and documentation, if needed.

Steps to reproduce

  1. Watch this short 2 minutes video for the Workspace-Matrix configuration and a summary of all the steps at:

  2. Use the most recent stable Debian 12 Bookworm, GNOME 43.9, Wayland, and Workspace-Matrix 38

  3. Using Workspace-Matrix, create a 5 x 4 grid. So total 20 Workspaces.

  4. Using the Overview/Activities window, try to drag and drop a window to any Workspace between the Index 6 and 20. This fails. This is the challenge. The needed end result is that users are able to drag and drop windows to any Workspaces. Not just from 1 to 5 in this example.

  5. Same result with GNOME Wayland or X11 (Xorg)

Speculated cause

My guess is that the cause of this challenge is related to this array of list. In other words, the drag and drop works only in the first array. Details about this are in those 2 comments:

Suggested resolution

How about those 2 steps:

  1. Migrate _lists to one list? So that the drag and drop works. Another benefit of only one array is a better compatibility with other GNOME extensions.

  2. Instead of arrays, use CSS to create the grid. This would keep the data and the display fully independent. Not interfering with each other.

Related tickets

Those tickets below seems to be about different challenges. Some tickets claim that the drag and drop is resolved. But this present ticket is to confirm that it is not resolved. This challenge can be reproduced with the steps above.

#177

#200

#231

#234

#259

#267

#273

@mzur
Copy link
Owner

mzur commented Feb 24, 2024

Hi thanks a lot for the detailed report. Can you please try the changes of #270 and see if this fixes the issue for you?

@Francewhoa
Copy link
Author

Thanks for your reply @mzur :) Will do. I'll add my result here.

@Francewhoa
Copy link
Author

Done. Test result at #270 (review)

@Francewhoa
Copy link
Author

Francewhoa commented May 1, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants