[haiku-bugs] Re: [Haiku] #2416: [Interface kit] Resizing tracker window flickers address bar

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 27 Dec 2018 11:20:52 -0000

#2416: [Interface kit] Resizing tracker window flickers address bar
----------------------------------+----------------------------
   Reporter:  diver               |      Owner:  nobody
       Type:  bug                 |     Status:  assigned
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:  11803
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by stippi):

 Normal drawing updates in Haiku are actually flicker free. When windows
 are resized however, there are two mechanisms: The widgets get a new size,
 and are requested to draw. When the widget has a background color set, the
 app_server will pre-fill the exposed areas with that color. Widgets can
 set a transparent view color to prevent that from happening. In addition,
 some widgets request to be redrawn in full when they are resized. Perhaps
 the process could be more optimized to prevent flickering, but when it
 happens, it is due to these circumstances. The combination full update +
 non-transparent view color should be the one that leads to flickering.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/2416#comment:11>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: