Buttons in building statistics window are ever shown deepened

Bug #1539906 reported by kaputtnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Medium
Unassigned

Bug Description

If you click on a building in the building statistics window, the button is shown deepened. Clicking on an other building leaves the state of previous clicked building button. So you can click on every building and each time the building (buttons) is shown deepened and all buttons are shown this way. Clicking on such a button lead sometimes into flickering, because the button is raised and deepened again.

See attachment.

I noticed this behavior some time ago, but i believe in the first implementation the previous selected building button gets raised (or is flatten the right term here?) if another building is clicked.

Tags: ui

Related branches

Revision history for this message
kaputtnik (franku) wrote :
Revision history for this message
GunChleoc (gunchleoc) wrote :

I can't confirm that on my Ubuntu.

Revision history for this message
SirVer (sirver) wrote :

I can see it on Mac OS X. It does not happen consistently, but I can reproduce it if I click around for a while.

Changed in widelands:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → build19-rc1
Revision history for this message
GunChleoc (gunchleoc) wrote :

I can reproduce this now: Click on a button, switch tabs, click on a button, switch to the previous tab, click on another button.

Revision history for this message
kaputtnik (franku) wrote :

I just have to click on another button without switching tabs.

Revision history for this message
GunChleoc (gunchleoc) wrote :

Found the bug - not all buttons were being iterated over for resetting their state. This bug was introduced with the one_tribe branch.

Changed in widelands:
status: Confirmed → In Progress
assignee: nobody → GunChleoc (gunchleoc)
tags: added: ui
GunChleoc (gunchleoc)
Changed in widelands:
status: In Progress → Fix Committed
assignee: GunChleoc (gunchleoc) → nobody
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

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.