-----Original Message----- From: inkscape-devel-bounces@lists.sourceforge.net [mailto:inkscape-devel-bounces@lists.sourceforge.net] On Behalf Of Gustav Broberg Sent: maandag 14 januari 2008 20:48 To: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] Dockable dialog bugs
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.)
Sry I was unclear. The dockable dialogs are good and nice to have! I did not mean to maintain the 'paradigm', just stating that I thought it was there. (plus that I never liked the paradigm, nor the RegisteredWidgets classes)
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...
I am affraid there are several bugs :( and it is not easy to fix without making new bugs I am affraid. It would help a lot when registered* widgets are subclassed from Gtk::Widget, and rewrite implementations. Then we can just gtk::manage(new Registered* ) things.
Simple solution is to disable docking for the dialogs that are bugged: LPE and document properties that I know of.
Cheers, And thanks for the much requested (by myself aswell) dockable dialogs :) Johan