[haiku-bugs] Re: [Haiku] #8768: [ProcessController] Does not react to mouse clicks, when Deskbar is being debugged with Debugger.

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Tue, 24 Jul 2012 11:45:06 -0000

#8768: [ProcessController] Does not react to mouse clicks, when Deskbar is being
debugged with Debugger.
----------------------------------------------+-----------------------
   Reporter:  x-ist                           |      Owner:  nobody
       Type:  bug                             |     Status:  closed
   Priority:  normal                          |  Milestone:  R1
  Component:  Applications/ProcessController  |    Version:  R1/alpha3
 Resolution:  invalid                         |   Keywords:
 Blocked By:                                  |   Blocking:
Has a Patch:  0                               |   Platform:  x86
----------------------------------------------+-----------------------

Comment (by anevilyak):

 Replying to [comment:3 x-ist]:
 > Well, but to me it looks a bit odd since the ProcessController actually
 does not sit in the Deskbar but is dependent on it. I'm not familiar with
 desktop applets, but shouldn't such an information be stored within the
 ProcessController instance instead of the Deskbar, and why is it necessary
 to poll the Deskbar constantly with requests? What if I wanted to use
 ProcessController to kill an unresponsive Deskbar?

 The problem arises primarily because what you currently have blocked is
 the application thread. Under normal circumstances that one does very
 little besides watch for teams starting/quitting and managing settings.
 Most deskbar lockups actually happen in the window thread. Furthemore, at
 the end of the day, Deskbar is a system component which has API calls tied
 into it, so by embedding it in Tracker instead you're not really avoiding
 the problem, since the latter's quite likely to call into Deskbar to see
 what its current position is for e.g. icon positioning purposes. In
 general, when you're embedding an app as a replicant you're going to be
 dependent on whatever its host needs, since you run in the same thread.

 Just out of interest though, does the issue occur if you have
 ProcessController just running in its own window, without embedding it
 anywhere else?

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

Other related posts: