Closed Bug 726358 Opened 14 years ago Closed 13 years ago

Cursor_spinning should use system theme's cursor under Linux

Categories

(Firefox :: Shell Integration, defect)

10 Branch
All
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mozilla, Unassigned)

Details

Firefox defines its own busy cursor which is used for the "progress" cursor style that can be set from within CSS (cursor: progress) or Javascript. This can be seen for example every time a Facebook profile is loading. The pointer in the current X11 theme is replaced with a rather old-fashioned version that does not match the theme for the duration of the "progress" cursor. This appears to be set in widget/src/gtk2/nsWindow.cpp where it defines eCursor_spinning as MOZ_CURSOR_SPINNING. However, many cursors, for example eCursor_wait, are defined so as to use GDK cursors such as GDK_WATCH. Could eCursor_spinning also be defined in terms of a GDK pointer? "watch" would also be appropriate here, or "left_ptr_watch" would be an even better choice. Some of the other MOZ_CURSORs used in this file could also be replaced with GDK alternatives.
This appears to have been fixed in Firefox 11.0.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.