Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010243Dwarf FortressTechnical -- Renderingpublic2017-06-01 04:082017-06-18 16:36
ReporterRobohobo 
Assigned Tolethosor 
PrioritylowSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformOSWindowsOS Version10
Product Version0.43.05 
Target VersionFixed in Version 
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.
Attached Files

- Relationships

-  Notes
(0036584)
lethosor (manager)
2017-06-01 19:48

What OS are you using?
(0036622)
lethosor (manager)
2017-06-18 10:08

Updated information from http://www.bay12forums.com/smf/index.php?topic=163514.msg7488472#msg7488472 [^]
(0036623)
lethosor (manager)
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 (manager)
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.

- 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 => needs 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 View Revisions
2017-06-18 10:08 lethosor Steps to Reproduce Updated View Revisions
2017-06-18 14:24 lethosor Note Added: 0036623
2017-06-18 14:24 lethosor Status needs feedback => confirmed
2017-06-18 14:46 lethosor Note Edited: 0036623 View Revisions
2017-06-18 16:36 lethosor Note Added: 0036624
2020-11-29 14:36 alef Issue Monitored: alef


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker