-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Fix drag and drop and select of workspace thumbnails in overview #270
base: master
Are you sure you want to change the base?
Conversation
This was originally implemented by @mainland. The ThumbnailsBox base class only uses the x coordinate to test whether a point is in a workspace. This is not sufficient when we may have multiple rows of thumbnails. The new _withinWorkspace function also uses the y coordinate. This requires overriding handleDragOver as well so that it passes both the x and y coordinates to _withinWorkspace. References mainland@62be78e8 References #177
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit cb29bcc failed my tests. Extension can't be activated. With error message: import declarations may only appear at top level of a module
Below is the same as above. But with details if you're interested in those.
Steps to reproduce:
-
This video shows all the steps below https://vk.com/video-225763421_456239018
-
Using Extension Manager, try activating gnome-shell-wsmatrix 38 with commit cb29bcc
-
The first challenge is that the extension can't be activated. The number 1 in this screenshot below shows this first challenge.
-
The second challenge is when trying to activate the extension, this error message is display within Extension Manager
import declarations may only appear at top level of a module
. The number 2 in this screenshot above shows error message. -
The needed end result is that users are able to activate the extension without error message
Used
• gnome-shell-wsmatrix 38 with commit cb29bcc
• Debian 12 Bookworm
• GNOME 43.9
• Extension Manager 0.4.3
• Type 64 bits
• Wayland
What I tried that did not work
-
Deactivated all GNOME extensions. Except gnome-shell-wsmatrix 38 with commit cb29bcc
-
Fresh GNOME session
-
Restart device
-
Used gnome-shell-wsmatrix 38, replaced only the file
thumbnailsBox.js
with commit cb29bcc -
Replaced all files and all folders of gnome-shell-wsmatrix 38. Which included patched file
thumbnailsBox.js
.
Sorry for the late reply. Could you please run |
@mzur :) Thanks for both your reply and contribution to WSM :) I'll try. Then post the result here. |
@mzur Done
Below is the same as above. But with detailed steps if you're interested in those. Steps
|
Thanks! Unfortunately, I don't see the "import declarations" error message there. Maybe it is reported by some other process. You can search the whole journal by executing |
Good morning @mzur :) Find my reply at #280 (comment) I created this ticket #280 to facilitate communications about this pull request #270. I'm assuming that it is easier to resolve a challenge if there is one challenge per ticket. |
Resolves #177
Note: There is a full fix for GNOME 46 proposed here #177 (comment)