Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0010243Dwarf FortressTechnical -- Renderingpublic2017-06-01 04:082017-06-18 16:36
Robohobo 
lethosor 
lowminoralways
confirmedopen 
Windows10
0.43.05 
 
0010243: Mouse bmp invisible
when you turn on mouse picture in init.txt it turns your mouse invisible
turn on mouse picture in init.txt
No tags attached.
Issue History
2017-06-01 04:08RobohoboNew Issue
2017-06-01 19:48lethosorNote Added: 0036584
2017-06-01 19:48lethosorAssigned To => lethosor
2017-06-01 19:48lethosorStatusnew => needs feedback
2017-06-18 10:08lethosorNote Added: 0036622
2017-06-18 10:08lethosorOS => Windows
2017-06-18 10:08lethosorOS Version => 10
2017-06-18 10:08lethosorDescription Updatedbug_revision_view_page.php?rev_id=14772#r14772
2017-06-18 10:08lethosorSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=14774#r14774
2017-06-18 14:24lethosorNote Added: 0036623
2017-06-18 14:24lethosorStatusneeds feedback => confirmed
2017-06-18 14:46lethosorNote Edited: 0036623bug_revision_view_page.php?bugnote_id=0036623#r14776
2017-06-18 16:36lethosorNote Added: 0036624
2020-11-29 14:36alefIssue Monitored: alef

Notes
(0036584)
lethosor   
2017-06-01 19:48   
What OS are you using?
(0036622)
lethosor   
2017-06-18 10:08   
Updated information from http://www.bay12forums.com/smf/index.php?topic=163514.msg7488472#msg7488472 [^]
(0036623)
lethosor   
2017-06-18 14:24   
(edited on: 2017-06-18 14:46)
Confirmed on OS X with 0.43.05.

This line in libgraphics may be relevant: https://github.com/Baughn/Dwarf-Fortress--libgraphics-/blob/42b25fca171a8a0184df8efc35e3bc833c6d8513/g_src/enabler.cpp#L481 [^]
Maybe it should be moved out of the "else" clause entirely?

Edit: especially since the cursor is disabled regardless of the MOUSE_PICTURE setting here: https://github.com/Baughn/Dwarf-Fortress--libgraphics-/blob/42b25fca171a8a0184df8efc35e3bc833c6d8513/g_src/enabler.cpp#L450 [^]

(0036624)
lethosor   
2017-06-18 16:36   
Upon further investigation, interposing calls to SDL_ShowCursor and changing the parameter unconditionally to SDL_ENABLE stops the cursor from being hidden, so I think moving the call I mentioned above (to SDL_ShowCursor(SDL_ENABLE)) out of the "else" clause would help.

However, that just displays the normal cursor, not the one from mouse.png. I'm not seeing any references to mouse.png in libgraphics, but there are some in a string dump, so I'm not entirely sure what's going on there.