[Ubuntu] Zooming in on an image doesn't change the cursor into a magnifying-glass
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: obotisan, Assigned: emilio)
References
Details
(Keywords: regression)
Attachments
(1 file)
Comment 1•8 years ago
|
||
Updated•8 years ago
|
Comment 2•8 years ago
|
||
Updated•8 years ago
|
Comment 3•8 years ago
|
||
| Reporter | ||
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
Updated•8 years ago
|
Comment 6•8 years ago
|
||
| Reporter | ||
Comment 7•8 years ago
|
||
Updated•8 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 9•6 years ago
|
||
Not amazing, but should do the trick. Cursors are cached anyway so it should be
fine to be slightly slower.
| Assignee | ||
Comment 10•6 years ago
|
||
I don't have Ubuntu but this should work. Does it work for you Jonathan?
Comment 11•6 years ago
|
||
No, I still don't see zoom-in/out cursors, I'm afraid. gdk_cursor_new_from_name is returning a separate cursor for each of zoom-in and zoom-out, not simply a reference to the standard leftPtrCursor.
| Assignee | ||
Comment 12•6 years ago
|
||
buuh
Comment 14•6 years ago
|
||
Nope, sorry - I still get a left arrow. I expect gdk_cursor_get_cursor_type is just comparing against the standard cursor that gdk_cursor_new_for_display would have returned, or something like that, but doesn't recognize an entirely separate cursor that's been created with the same image.
Comment 15•6 years ago
|
||
BTW, while we're here, I notice that cursor: context-menu has the same problem: it seems to be missing from the theme, and we don't get a fallback because gdk just gives us a copy of the standard arrow cursor.
(Trying Chrome on the same system, they do manage to fall back to a built-in cursor for these three, although they look pretty terrible on my high-res screen because they're not scaled appropriately for the resolution, and appear minuscule.)
| Assignee | ||
Comment 16•6 years ago
|
||
Chromium seems to use XcursorLibraryLoadCursor directly rather than gdk. I uploaded a patch that tries to detect it properly. But I didn't manage to get it to link, and I don't have that much time left for the day so I just left it there.
Anyhow. It seems in the upcoming gdk 4, fallback cursors are created eagerly, which is nice, but we'd still get the left pointer for the zoom-in icon :/
I'll file an issue upstream to see how to best fix it.
| Assignee | ||
Comment 17•6 years ago
|
||
Updated•3 years ago
|
Comment 22•8 months ago
|
||
Restricting comments as this has been attracting spam.
Description
•