View Issue Details

IDProjectCategoryView StatusLast Update
0010243Dwarf FortressTechnical -- Renderingpublic2017-06-18 16:36
ReporterRobohobo Assigned Tolethosor  
PrioritylowSeverityminorReproducibilityalways
Status confirmedResolutionopen 
OSWindowsOS Version10 
Product Version0.43.05 
Summary0010243: Mouse bmp invisible
Descriptionwhen you turn on mouse picture in init.txt it turns your mouse invisible
Steps To Reproduceturn on mouse picture in init.txt
TagsNo tags attached.

Activities

lethosor

2017-06-01 19:48

manager   ~0036584

What OS are you using?

lethosor

2017-06-18 10:08

manager   ~0036622

Updated information from http://www.bay12forums.com/smf/index.php?topic=163514.msg7488472#msg7488472

lethosor

2017-06-18 14:24

manager   ~0036623

Last edited: 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

lethosor

2017-06-18 16:36

manager   ~0036624

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.

Add Note

Note

Issue History

Date Modified Username Field Change
2017-06-01 04:08 Robohobo New Issue
2017-06-01 19:48 lethosor Note Added: 0036584
2017-06-01 19:48 lethosor Assigned To => lethosor
2017-06-01 19:48 lethosor Status new => feedback
2017-06-18 10:08 lethosor Note Added: 0036622
2017-06-18 10:08 lethosor OS => Windows
2017-06-18 10:08 lethosor OS Version => 10
2017-06-18 10:08 lethosor Description Updated
2017-06-18 10:08 lethosor Steps to Reproduce Updated
2017-06-18 14:24 lethosor Note Added: 0036623
2017-06-18 14:24 lethosor Status feedback => confirmed
2017-06-18 14:46 lethosor Note Edited: 0036623
2017-06-18 16:36 lethosor Note Added: 0036624