[haiku-bugs] Re: [Haiku] #10032: StyledEdit "Save As..." window does not open under certain circustances.

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Sun, 08 Dec 2013 00:09:32 -0000

#10032: StyledEdit "Save As..." window does not open under certain circustances.
----------------------------------+-----------------------------------
   Reporter:  bga                 |      Owner:  siarzhuk
       Type:  bug                 |     Status:  assigned
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/libtracker.so  |    Version:  R1/Package Management
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+-----------------------------------
Changes (by anevilyak):

 * component:  Applications/StyledEdit => Kits/libtracker.so


Comment:

 From a quick look at this ticket, this may not be the wisest thing to
 issue a GCI task for.

 The actual problem lies down in BFilePanel itself, at least with the above
 steps to reproduce: A normal Tracker window will close itself when the
 folder it's displaying goes away. Meanwhile, StyledEdit keeps its file
 panel around and reuses it in order to remember the last location the user
 browsed to.

 In the above instance, upon volume unmount, the hidden window notices that
 via node monitor, and dutifully quits itself, so when StyledEdit asks the
 panel to re-show itself again in response to Save As, it silently fails
 due to failing to lock its (no longer valid) child window.

 Fixing this will possibly mean some Tracker refactoring, as I'm not sure
 if the appropriate hooks are present for the aforementioned behavior to be
 overridden by a BPoseVIew/ContainerWindow child class.

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

Other related posts: