[haiku-commits] Re: haiku: hrev45589 - in src: apps/workspaces apps/deskcalc preferences/locale apps/processcontroller apps/webpositive

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 01 May 2013 11:08:57 +0200

On 05/01/2013 02:25 AM, John Scipione wrote:
I'm just going to add a little fuel onto this fire. I just was
updating BFilePanel and guess what happens when you close a BFilePanel
window? That's right, it hides the window instead of destroying it! I
even verified this by looking at the threads in Activity Monitor,
they're still there hanging around after the window is "gone". And, it
pulls the window to the current workspace when you open it again from
a different workspace just like I did in BAboutWindow.

Additionally to what Rene said, you are comparing apples with oranges. There are good reasons for keeping the window around in a BFilePanel:
- BFilePanel::Window() is public
- You can put additional items on a panel (completely up to you) - quitting the window would make these inaccessible.
- You get a message when the file panel closes
- It's up to you to decide to keep the file panel around for the next time or not.

Bye,
   Axel.


Other related posts: