[haiku-bugs] Re: [Haiku] #4830: "Expand New Applications" not always practical

  • From: "jscipione" <trac@xxxxxxxxxxxx>
  • Date: Mon, 03 Jan 2011 18:52:07 -0000

#4830: "Expand New Applications" not always practical
-----------------------------------+------------------------------
  Reporter:  humdinger             |        Owner:  nobody
      Type:  enhancement           |       Status:  new
  Priority:  normal                |    Milestone:  R1
 Component:  Applications/Deskbar  |      Version:  R1/Development
Resolution:                        |     Keywords:
Blocked By:                        |  Has a Patch:  0
  Platform:  All                   |     Blocking:
-----------------------------------+------------------------------

Comment (by jscipione):

 I experimented with changing "Expand New Applications" to "Expand All
 Applications" and created a function in BarView.cpp that would do just
 that. It works great, when you check the option it expands all your
 applications and when you un-check it, it un-expands all your
 applications. I call the function from ChangeState() so that when new
 applications get launched they also get expanded. The problem I am having
 is that on reboot the Deskbar tries to expand Tracker (which it can do
 since you might have open Tracker windows on boot) and somewhere in the
 ToggleExpandedState() function Deskbar crashes. I think a better name for
 this would be "Auto-expand Applications" since you can selectively un-
 expand apps using the up/down arrow. I'll submit a patch as soon as I
 track down what is causing Deskbar to crash on boot.

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

Other related posts: