
On 3/26/07, Gustav Broberg <broberg@...370...> wrote:
The patch adds a dockable pane to the desktop on which any GTKmm:ified dialog can be docked. Here are some screenshots showing what it's all about: http://wiki.inkscape.org/wiki/index.php/Image:Dock_patch_1.png http://wiki.inkscape.org/wiki/index.php/Image:Inkscape_dock2.png
This is an extremely desirable change. It turns Inkscape from a clunky and messy Gimp lookalike into a clean, modern-looking application. I'm all for it.
However, I foresee one problem. Currently all of our dialogs are built around the "one dialog serves all open windows" concept. Making them dock to the editing window seems to switch them to the "each window has its own dialog" paradigm. This therefore may not be as straightforward, because in each dialog we will also need to find and fix code which (1) assumes there's always only one copy of the dialog and (2) switches its state and display when a new window gets focus, and (3) applies the changes in dialog to the currently active window.
Gustav, have you looked into these problems at all? I suspect the severity of the required changes varies from dialog to dialog, but at least for Fill&Stroke it's going to be rather major (although it hasn't even been ported to GTKmm and Dialog class yet, as are many other dialogs).