Opened 14 years ago

Last modified 4 years ago

#539 new defect

take wrong icon (pointer) in menu of the game — at Version 9

Reported by: Sergio Fabian Vier Owned by:
Priority: Nice to Have Milestone: Backlog
Component: UI – In-game Keywords: patch
Cc: Yves Patch:

Description (last modified by Kieran P)

When you are playing, select a soldier and click over a tree, appear an wood icon. If you press ESC key and quit of the game to main menu, this icon persist in this place

Edit: The same bug can occur when pressing F10 to open the in-game menu

Change History (9)

comment:1 by (none), 14 years ago

Milestone: Unclassified

Milestone Unclassified deleted

comment:2 by Andrew, 14 years ago

Milestone: OS Alpha 2

comment:3 by Kieran P, 14 years ago

Resolution: invalid
Status: newclosed

comment:4 by Kieran P, 14 years ago

No longer valid. In the next release, ESC closes menus, it doesn't open them.

comment:5 by Philip Taylor, 14 years ago

Milestone: OS Alpha 2OS Alpha 3
Resolution: invalid
Status: closedreopened

The same bug can occur when pressing F10 to open the in-game menu (the cursor doesn't change back to default unless you move the mouse, and if you somehow exit to the main menu without moving the mouse then I believe it'll be stuck on the wrong cursor since nothing will try to reset it).

I'm not certain what's the best solution. Maybe the cursor changes should be scoped to the current GUI page, so session cursors can't leak out, and/or maybe we should send mouse movement events when showing/hiding pages (even if the mouse didn't really move), so the session code doesn't forget to set its cursor after changes.

comment:6 by Andrew, 14 years ago

Owner: set to Andrew
Status: reopenednew

comment:7 by Kieran P, 14 years ago

Priority: trivialminor

comment:8 by Kieran P, 14 years ago

Owner: Andrew removed

comment:9 by Kieran P, 13 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.