[haiku-bugs] Re: [Haiku] #8539: [Deskbar] deadlocks during icon resize

  • From: "jscipione" <trac@xxxxxxxxxxxx>
  • Date: Thu, 21 Mar 2013 17:16:17 -0000

#8539: [Deskbar] deadlocks during icon resize
------------------------------------+----------------------------
   Reporter:  diver                 |      Owner:  jscipione
       Type:  bug                   |     Status:  in-progress
   Priority:  normal                |  Milestone:  R1
  Component:  Applications/Deskbar  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:  9481                  |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by jscipione):

 This bug is not directly related to icon resizing, but by any action that
 triggers a deadlock due to rapidly deleting and rebuilding the fExpando
 menu bar. I'm not surprised that the above command, which turns the
 expander arrows on and off repeatedly, causes the Deskbar to get into an
 invalid state. I have a branch pending that fixes the problem (I hope) by
 building the menu bar object one time in the constructor and then only
 updates the list inside rather than deleting and rebuilding updating the
 whole menu bar. I have this working pretty well, there are just a few more
 cases that I need to work out before it is ready to go. Not only will this
 fix this bug but should make changes to Deskbar noticeably more
 responsive.

--
Ticket URL: <http://dev.haiku-os.org/ticket/8539#comment:11>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: