Flickering while mouseover the first time

Bug #1509791 reported by kaputtnik
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Undecided
Unassigned

Bug Description

As described in https://wl.widelands.org/forum/topic/1830/

Some things flicker while hovering a mouse over one stock item the first time. Hovering a second time the flickering will disappear. This happens to each stock item until all items are hovered.

Some of flickering:
- The shadow of trees gets bright
- The fog of war disappear in a small area on the bottom left corner

This occurs also in the editor, mostly while de-/increase values f.e. in the height tool.

Tags: graphics

Related branches

GunChleoc (gunchleoc)
tags: added: graphic
Revision history for this message
Jens Beyer (qcumber-some) wrote :

This is caused by commit 7566 (and this time, I made sure the numbers are correct ;-) )

Revision history for this message
GunChleoc (gunchleoc) wrote :

Thanks for tracking down the commit. I'll look into this.

Changed in widelands:
milestone: none → build19-rc1
assignee: nobody → GunChleoc (gunchleoc)
status: Confirmed → In Progress
Revision history for this message
GunChleoc (gunchleoc) wrote :

The flickering is caused by calls of fh1->render(). I have reduced it to a minimum in 7645 by prerendering the text labels. So, it now only happens once when you open the window for the first time.

Changed in widelands:
assignee: GunChleoc (gunchleoc) → nobody
status: In Progress → Confirmed
kaputtnik (franku)
Changed in widelands:
status: Confirmed → Fix Committed
GunChleoc (gunchleoc)
tags: added: graphics
removed: graphic
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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