Community
Participate
Working Groups
When you detach a non-closeable view, the new shell containing the detached view can be closed. This will close the non-closeable view too.
*** Bug 104596 has been marked as a duplicate of this bug. ***
Created attachment 25865 [details] Re-attach non-closable view when the DW is closed I'm sure there is an easier way to go from a view pane to its presentable part...Stefan??
It turns out you can also close the view if you make it a FastView then use the close action...I'll fix this and supply a patch for both...
Created attachment 25970 [details] Disallow closing non-closable views in both Detached and Fast Views
Nick , could you please apply this patch for me ?? Thanks
What is the state of this bug ?
Sorry, I forgot about this one. Paul, can you review the patch?
I've released half of the patch that was still needed into HEAD >20060222 It now re-attaches the view from the detached window if it's non-closeable, instead of hiding it. PW
verifiedt I20060328-0010 PW
*** Bug 107014 has been marked as a duplicate of this bug. ***
This is a great patch, and it's on it's way for a problem I'm having. However, the patch fails if the view implements ISaveablePart2. The view can implement this interface, open a dialog and the user may respond "don't close" in some way. This is within the scope of the interface, just return ISaveablePart2.NO however, to the users surprise, the view is closed anyways. Could you please re-open this bug? I'm working on another patch which honours the ISaveablePart. However, there is a problem where the ISaveablePart is called twice. Help here is welcome. Btw: I'm no fan of ISaveable part either. It can be a pain as it can veto an operation that is already started.
Forget about my last comment, everything in this patch is great, me thinks.
But it re-attaches the view in some "mysterious" place out of our expectation. It's better to re-attach the view to its original place, or if it was placed in a PlaceHolder then let it go back to the PlaceHolder. (In reply to comment #8) > I've released half of the patch that was still needed into HEAD >20060222 > > It now re-attaches the view from the detached window if it's non-closeable, > instead of hiding it. > > PW >