First post, by airplant101
I have encountered a possible bug in text mode mouse support. The text mode block/cursor appears to be drawn by dosbox half a character towards the upper-left relative to the actual mouse position.
Download and run this text mode [Edit: warez link removed] Klondike Solitaire game. Click on a card at the top to make it blink or on the "Redeal" button. If you approach slowly from the bottom or right and stop and click as soon as you're over the button/card it will beep as if you clicked outside. Continue moving slowly up or left and stop and click as soon as you're no longer over the button/card and the action will happen as if you clicked inside.
This problem happens identically on both Windows 10 dosbox 0.74-2 and ubuntu 16.04 dosbox package 0.74-4.2
The attached patch fixes it on ubuntu by rounding up by adding 0.5 (4/8) before dividing by 8. Also don't go past the right/bottom of the screen.
Thoughts/Questions
- Why does the game work fine in the browser? Link above?
Do other games using the text mode mouse driver cursor have this problem?
Does Mouse Systems Corporation know what they are doing? Bug in game?
Did different mouse drivers implement text cursor hotspot differently?