Re: [Inkscape-devel] Dockable dialog bugs
-----Original Message----- From: Gustav Broberg [mailto:broberg@...370...] Sent: woensdag 16 januari 2008 4:00 To: Engelen, J.B.C. (Johan) Subject: Re: [Inkscape-devel] Dockable dialog bugs
On Tue, Jan 15, 2008 at 05:17:45PM +0100, J.B.C.Engelen@...1578... wrote:
OK, I just came up with a solution for our problems and
tested it on
one of the parameter types. This seems to work very very nicely and can be generalized to all "registered widgets". I will try
to do this asap.
That's great news Johan! After your changes I'm not able to reproduce #179982 anymore.
I'm not familiar enough with the registered widgets to evaluate the class design, but just looking diffs themselves, I can't see any problems with it. One minor nit though, couldn't the static cast line in RegisterRandom::setValue be replaced with just "Scalar::setValue (val);"?.
First I had "setValue(val)" there without any cast, but the compiler could not find the Scalar function. I can try what you say as it seems better.
Do you think you'll be able to rewrite the remaining widgets and completely deprecate the old RegisteredWdg in time for the release?
Just tell me if I should prepare a Plan B, e.g. to make just the Document Properties and LPE dialog singleton as you suggested...
I hope I can finish the work today, luckily it will not show up in the bug fixing points scheme, so there's still some time. I often stumble upon bugs that still need reporting/fixing :(, was really glad this one turned out to be fixable pretty fast.
Regards, Johan
On Jan 16, 2008 11:59 AM, J.B.C.Engelen wrote:
I hope I can finish the work today, luckily it will not show up in the bug fixing points scheme, so there's still some time. I often stumble upon bugs that still need reporting/fixing :(, was really glad this one turned out to be fixable pretty fast.
For some reason I hesitated to ask this question, but is it possible to make docked dialogs always use minimum space?
Example:
1. Dock LPE and, say, Fill'n'Stroke dialogs, with LPE dialog at the top of the dock. 2. Apply an LPE to a path. LPE dialog grows vertically and pushes the underlying dialog towards bottom. 3. Switch to some other object that has no LPE applied. 4. Then you'll see a big ugly LPE dialog with a huge combobox, because LPE dialog doesn't care if it's size is OK for a chosen object (and if there is no selection), it's just happy with the last size :)
Would be great to get rid of that. Wanna a bug report on that? :)
Alexandre
participants (2)
-
unknown@example.com
-
Alexandre Prokoudine