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 cursor is not consistent #2507

Closed
Eimis-dev opened this issue Dec 17, 2020 · 9 comments · Fixed by #2518
Closed

Drag cursor is not consistent #2507

Eimis-dev opened this issue Dec 17, 2020 · 9 comments · Fixed by #2518

Comments

@Eimis-dev
Copy link

Eimis-dev commented Dec 17, 2020

Yaru cursor dragging icons are not consistent I don't know whether that is a feature or a bug though, when I drag a window I get this nice cursor:

Screenshot from 2020-12-17 10-54-30

But if I try to drag a web element, something inside a web app or even in some other desktop applications I get this:

2020-12-17_11-06

Video:

https://streamable.com/2fc0nl

That is when cursor is hovering OVER the element, if I try to click and drag, it briefly turns to that white hand from first image, and then goes back to this dark cursor image again..

To reproduce this, it's easiest to try and drag elements in scratch editor, which I did in the second picture https://scratch.mit.edu/projects/editor/?tutorial=getStarted.

I used Chromium browser on Ubuntu 20.10

@Feichtmeier Feichtmeier added this to Backlog in Yaru via automation Dec 17, 2020
@Feichtmeier
Copy link
Member

Hi @cybbro thanks for the issue
I think this could be the case of a missing cursor symlink and then the adwaita cursor jumping in.

@Eimis-dev
Copy link
Author

Hi @cybbro thanks for the issue
I think this could be the case of a missing cursor symlink and then the adwaita cursor jumping in.

That's a reasonable assumption! by default, Ubuntu 20.10 did not come with adwaita cursors, but I installed them via Synaptic. So it might be picking up those. But I have no idea how cursors work, so I don't know where to change that. Maybe I should uninstall adwaita cursors to see what it does if it can't find those?

@Jupi007
Copy link
Member

Jupi007 commented Dec 17, 2020

It's the same issue as #2219.
The problem seemed to be solved with 20.10 but I can actually reproduce it again (on 20.10 using Baobab, ToDo, Atom, ...) 😖

@Jupi007
Copy link
Member

Jupi007 commented Dec 17, 2020

Capture d’écran du 2020-12-17 11-43-42

The grab cursor (css name) is missing, see: https://developer.mozilla.org/en-US/docs/Web/CSS/cursor

@Eimis-dev
Copy link
Author

So, what would be the best next step here, should I wait for an advice how to fix it, or just close the issue since it's the duplicate of #2219 ?

@Jupi007
Copy link
Member

Jupi007 commented Dec 17, 2020

There was a PR (#2453) which was linking the hand1 icon to the grab one. But looking at /usr/share/icons/Yaru/cursors/ I can't found any grab icon.
IMO this PR is incomplete. How can we symlink a cursor? (EDIT: @Feichtmeier have you got an idea?)

So, what would be the best next step here, should I wait for an advice how to fix it, or just close the issue since it's the duplicate of #2219 ?

As it's a Yaru problem, just wait for a fix PR 🙂

@Feichtmeier
Copy link
Member

Idk, can't you just ln -s on the hand cursor ?
Otherwise just copy paste it 🤷

@Jupi007
Copy link
Member

Jupi007 commented Dec 17, 2020

Idk, can't you just ln -s on the hand cursor ?
Otherwise just copy paste it shrug

In fact I was asking how to symlink cursors in Yaru repo. 😅 I have no idea of the way to do.

I tried ln -s and it works on Todo (also Atom):

Capture d’écran du 2020-12-17 12-38-35

But that didn't resolved the problem into Firefox. By the way there is the same problem with Adwaita. IMO this is a Firefox bug (EDIT: I tried Gnome-web with the same MDN page and it use the correct Yaru grab icon).

@Muqtxdir
Copy link
Member

In fact I was asking how to symlink cursors in Yaru repo. sweat_smile I have no idea of the way to do.

@Jupiter007-43 is right, generate-symlink.sh does-not symlink cursor sets even though cursors.list is present
I think its maybe because generate-symlink.shdoes not have cursors in CONTEXT

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

Successfully merging a pull request may close this issue.

4 participants