Closed
Bug 310924
Opened 19 years ago
Closed 10 years ago
use X cursor theme for more cursors
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: chpe, Assigned: flying-sheep)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file, 2 obsolete files)
6.45 KB,
patch
|
Details | Diff | Splinter Review |
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.
Reporter | ||
Comment 1•19 years ago
|
||
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 :(
Updated•19 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•18 years ago
|
||
*** Bug 336665 has been marked as a duplicate of this bug. ***
Updated•17 years ago
|
Assignee | ||
Comment 3•14 years ago
|
||
check out my patch idea on https://bugzilla.mozilla.org/show_bug.cgi?id=609889#c11
Assignee | ||
Comment 5•11 years ago
|
||
people, what’s going on? GTK 2.8 is now several years old, time to simply unconditionally depend on it and fix this.
Assignee | ||
Comment 6•11 years ago
|
||
funtion to fix is now here: http://hg.mozilla.org/mozilla-central/file/757c2011df5b/widget/gtk/nsWindow.cpp#l4904
Assignee | ||
Comment 7•10 years ago
|
||
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)
Updated•10 years ago
|
Attachment #8377517 -
Flags: review?(karlt)
Updated•10 years ago
|
Attachment #8377517 -
Flags: review?(karlt) → review+
Updated•10 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 8•10 years ago
|
||
updated patch with author and stuff
Attachment #8377517 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #198308 -
Attachment is obsolete: true
Comment 9•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/068ed8d0e7c2
Keywords: checkin-needed
Comment 10•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/068ed8d0e7c2
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Updated•10 years ago
|
Assignee: blizzard → flying-sheep
You need to log in
before you can comment on or make changes to this bug.
Description
•