Inconsistent mouse behavior in action window 'build building'

Bug #1808695 reported by kaputtnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Won't Fix
Undecided
Unassigned

Bug Description

I you click on a free buildings spot the mouse pointer behave different:

1. If a flag is in front of the buildings spot, the mouse pointer stays in the tabs area. Depending on the size of the building spot, the mouse pointer is on different positions: Clicking on a red buildings spot, the mouse pointer is in the middle of the 'Small buildings' tab (correct, imho). Clicking on a yellow buildings spot, the mouse pointer is at the right edge of the 'Medium buildings' tab. Clicking or a green buildings spot the mouse pointer is in the middle of the 'Watch' tab.
2. If the building spot is free of a flag, the mouse pointer jumps below the tabs area. This causes some times flickering the work area of a building pops on and of. E.g. for Empire: If you click on a small buildings spot and the mouse pointer jumps to the empire quarry. The horizontal position of the mouse is equal to the description in 1.

Expected:
For 1.: The mouse pointer should be at the tab's center of the clicked building spot, e.g. when clicking a green spot, the mouse pointer should be in the center of the tab 'Big buildings'.
For 2.: Don't jump below the tabs area if a building spot haven't a flag in front of it.

Tags: ui
kaputtnik (franku)
summary: - Inconsistent mouse behavior in buildings window
+ Inconsistent mouse behavior in action window 'build building'
GunChleoc (gunchleoc)
Changed in widelands:
milestone: none → build21-rc1
tags: added: ui
Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.