While the gtk2 widget code makes use of some themeable cursors (those available in stock gtk2 with gdk_cursor_new), it only uses its builtin images for some other cursors, like "help" and "copy", which may be available in the X cursor theme and be used with gdk_cursor_new_from_name.
Created attachment 198308 [details] [diff] [review] first patch The patch still has some shortcoming: - themed gdkcursors automatically update themselves when the theme changes. However in case the previous theme didn't have the cursor and therefore we used our builtin pixmap, this update does not happen (until the next start, of course) - gdk_cursor_new_from_name is only available in gdk 2.8 and the patch uses it unconditionally. Probably needs to resort to the usual dynamic lib stuff :(
13 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
13 years ago
*** Bug 336665 has been marked as a duplicate of this bug. ***
check out my patch idea on https://bugzilla.mozilla.org/show_bug.cgi?id=609889#c11
people, what’s going on? GTK 2.8 is now several years old, time to simply unconditionally depend on it and fix this.
funtion to fix is now here: http://hg.mozilla.org/mozilla-central/file/757c2011df5b/widget/gtk/nsWindow.cpp#l4904
Created attachment 8377517 [details] [diff] [review] cursors.patch so, i hope someone sees this. i did it. all cursors (except the zoom ones) now work with GNOME’s default theme DMZ, and all cursors except the crosshair work in KDE (which is a bug there: https://github.com/ruphy/oxy-cursors/issues/2 and https://bugs.kde.org/show_bug.cgi?id=290356)
Attachment #8377517 - Flags: review?(karlt) → review+
Created attachment 8378172 [details] [diff] [review] cursors.patch updated patch with author and stuff
Attachment #8377517 - Attachment is obsolete: true
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.