
On Wed, 9 Jan 2008 01:57:37 +0100 J.B.C.Engelen@...1578... wrote:
Hello all,
Because an (what I thought) important Inkscape-devel 'paradigm' is no longer valid, there are a lot of bugs concerning dockable dialogs: I am talking about having only a single instance of dialogs.
Hi, sorry for the delay...
The reason it was changed is that the single dialog "paradigm" is harder to apply for dockable dialogs. A dockable dialog is more closely tied to its document than a floating dialog.
For example, how would singleton docked dialogs work with multiple documents? Unless the docked dialogs can "move" with the focus of the document, the user can end up with dialogs docked in one document that control a selection in another document, and that's confusing. I agree that the current solution is not perfect as multiple undocked dialogs can be confusing too, but I'm not really sure what a perfect solution would be.
(By the way, the single instance paradigm is still used if the Floating dialogs behavior is chosen.)
Most widgets that I use (the Registered* widgets) are not designed to be managed by others than the creator I think. (like Gtk::Widget is, by using Gtk::manage)
It causes for example this bug: https://bugs.launchpad.net/inkscape/+bug/179982
How are we going to solve this for 0.46?
I wasn't aware of those problems, sorry. I'm going to look into that...
-- Gustav