System::setDefaultMouseCursor does not change cursor until it is moved over another element

Create issue
Issue #17 resolved
Former user created an issue

Automatic migration. Original reporter: "Clay"

When you call setDefaultMouse cursor on the System object, the actual mouse cursor is not updated until the mouse is moved out of the current Window or into a new Window. In the attached file, I added this code to occur when I clicked the mouse: CEGUI::System::getSingleton().setDefaultMouseCursor("TaharezLook", "MouseMoveCursor");

In the attached file, the first screenshot is when I move the mouse after changing the cursor, no update. In the second screenshot, this is what happens when I move the cursor over a Window (it changes), and from then on the mouse cursor is the default.

This also occurs if you start on a window then move it off of the window (or onto a child window).

Feel free to mail me with any questions about this bug.

Reproducibility: always

Comments (1)

  1. Paul Turner

    I have changed the behavior so that when the system default is changed, the mouse image will update immediately (meaning the next time the mouse is drawn) in the case where the mouse is over a window using the default cursor, and the cursor image has not been explicity changed from the default.

    This change has been applied in v0-4 and HEAD branches of CVS.

  2. Log in to comment