We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2355 - SDL_SYSTEM_CURSOR_WAITARROW May Not Work Properly
Summary: SDL_SYSTEM_CURSOR_WAITARROW May Not Work Properly
Status: RESOLVED ABANDONED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.0
Hardware: x86 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-19 19:43 UTC by N. de Jonge
Modified: 2018-08-06 21:20 UTC (History)
1 user (show)

See Also:


Attachments
WAITARROW in Xfce (5.71 KB, image/gif)
2014-01-19 21:11 UTC, N. de Jonge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description N. de Jonge 2014-01-19 19:43:54 UTC
There may be a problem with cursor type SDL_SYSTEM_CURSOR_WAITARROW. In SDL_mouse.h it says:
-----
SDL_SYSTEM_CURSOR_WAITARROW, /**< Small wait cursor (or Wait if not available) */
-----
But it may be falling back to SDL_SYSTEM_CURSOR_WAIT even on systems where SDL_SYSTEM_CURSOR_WAITARROW is available.

When I run this sample code http://pastebin.com/uPx6DZs8 I see WAIT instead of WAITARROW even though in my Xfce setup both are available:
http://i.imgur.com/mchaUcH.png
Mirror: http://s2.postimg.org/4xbz1oant/Xfce.png
From what I can tell, the DMZ (White) theme is the same as the Default theme since /usr/share/icons/default/index.theme says...
-----
[Icon Theme]
Inherits=DMZ-White
-----
... but just to be sure I selected DMZ (White). That theme has both WAIT and WAITARROW; GIMP can open them:
/usr/share/icons/DMZ-White/cursors/left_ptr_watch
/usr/share/icons/DMZ-White/cursors/watch

I asked someone in #SDL@FreeNode to run my code and he ran into the same thing.
Comment 1 N. de Jonge 2014-01-19 21:11:11 UTC
Created attachment 1526 [details]
WAITARROW in Xfce

Just to show that WAITARROW is available in (my) Xfce.
Comment 2 Ryan C. Gordon 2014-02-22 22:45:07 UTC
The problem is that we do this at the X11 level, so we have code that does this...

    case SDL_SYSTEM_CURSOR_WAIT:      shape = XC_watch; break;
    case SDL_SYSTEM_CURSOR_WAITARROW: shape = XC_watch; break;

...which is why you get the same result for both.

We only go with the system cursors, built into the X server, even if the X11 window manager has more in some form, so here are the available X11 options:

    http://tronche.com/gui/x/xlib/appendix/b/

I'm not familiar enough with this part of X11 to understand if accessing the Xfce cursors are something we can do (and do reasonably), though, but I suspect this is something we can't fix.

--ryan.
Comment 3 Ryan C. Gordon 2018-08-06 21:20:22 UTC
Hello, and sorry if you're getting dozens of copies of this message by email.

We are closing out bugs that appear to be abandoned in some form. This can happen for lots of reasons: we couldn't reproduce it, conversation faded out, the bug was noted as fixed in a comment but we forgot to mark it resolved, the report is good but the fix is impractical, we fixed it a long time ago without realizing there was an associated report, etc.

Individually, any of these bugs might have a better resolution (such as WONTFIX or WORKSFORME or INVALID) but we've added a new resolution of ABANDONED to make this easily searchable and make it clear that it's not necessarily unreasonable to revive a given bug report.

So if this bug is still a going concern and you feel it should still be open: please feel free to reopen it! But unless you respond, we'd like to consider these bugs closed, as many of them are several years old and overwhelming our ability to prioritize recent issues.

(please note that hundred of bug reports were sorted through here, so we apologize for any human error. Just reopen the bug in that case!)

Thanks,
--ryan.