Closing the manual with the mouse closes the game
issueid=3401 11-06-2014 05:39 PM
Member
Number of reported issues by Arbot: 11
Closing the manual with the mouse closes the game

From the title screen if you open up the manual and then close it by clicking where the exit game button was on the previous screen it will close the manual and then the game. Not an important bug but it could have other implications for menus such as accidentally moving in game instead of just closing a menu.
Issue Details
Issue Number 3401
Project ADOM (Ancient Domains Of Mystery)
Category All with NotEye
Status Fixed
Priority 10 - Lowest
Affected Version ADOM r52
Fixed Version ADOM r53
Milestone Initial Steam Release
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users Zeno
Tags (none)




11-24-2014 09:42 PM
The Creator
We have found the root cause: Actually you are probably (by accident= executing a double click. As most of the area of the "Quit" button on the previous screen is in the same area as the "exit manual" line you quit the game.

Idea @Zeno: Ignore all left clicks for something like 500ms (or something like that) after returning from the manual screen. Maybe even for all screen changes. Whatever is easier. As a result nor more accidental double clicks should have any effect.

11-25-2014 03:39 AM
Member
I actually tested it multiple times a single quick click in that portion of the screen will close the manual and then the game. It may be something that on effect certain OS (running windows 7) if you cannot duplicate it with a single click.

11-26-2014 05:40 PM
Ancient Member
Fixed. This was actually caused by the fact that the mouse hack in the ASCII menus emitted the keypress on the mouse down event, and the graphical menus emitted the keypress on the mouse up event. So, mousedown closed the manual, and mouseup pressed the button in the main menu, which was already visible at that time. I have changed the mouse hack to also act on mouse up (and also changed the highlight to brighter while the mouse button is pressed).

+ Reply