New color wheel should not increase the width of docked Fill&Stroke dialog when scaled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
John Smith |
Bug Description
Follow-up report to
Bug #170046 “Ugly Gtk triangle border in Color Wheel”:
<https:/
Refers to the changes committed in r9942,
tested with Inkscape 0.48+devel r9942 and r9943 on OS X 10.5.8
In current trunk (r9942), resizing the height of the docked dialog scales the color wheel and - if its diameter gets bigger - also increases the width of the docked dialog. OTOH it doesn't reduce the width if the color wheel shrinks due to reducing the dialog height, at least when docked.
Previously the width of the docked Fill&Stroke dialog was determined by the minimal size needed (for the color sliders and - AFAICT mainly - for the strings in the UI labels of the tabs and the names in the list of patterns/markers in the 'Stroke style' tab). The automagic scaling of the color wheel never caused the dialog to get wider, it just optimized the size of the wheel to make best use of the available area.
ISTM that ideally, the scaling of the new gtk color wheel needs to have an upper limit - fit into the current width of the dialog - when used as docked dialog (it seems to behave like that when used as floating dialog).
Steps to reproduce (tested with default prefs):
1) open new doc or one with many layers
2) make Inkscape full-screen (F11)
3) open the layers dialog (docked), maximize it vertically
(use the max. available height to avoid the scrollbar in the docked layers dialog)
4) iconify the layers dialog
5) draw a rect and open the fill & stroke dialog
Expected result (like in 0.48.0):
Width of the docked Fill&Stroke dialog is as minimal as possible, size of the color wheel is maximized within that minimal width.
Actual result:
Width of the Fill&Stroke grows (depending on the used theme and font size for the UI, by a considerable amount - up to a third of the screen width in my tests) and unnecessarily reduces the size of the visible canvas area.
Resizing the fill&stroke dialog each time is not an option because reducing the height by dragging the bottom resize grip with the mouse is far too slow to be usable (as explained by JonCruz: "It is because the wheel is forcing a minimum size, so when you drag to that current limit it has to go through a cycle of event pushing and widget recalc from our manual updates").
Screenshots on Mac OS X 10.5.8:
Inkscape 0.48.0:
<http://
Inkscape 0.48+devel r9942:
<http://
Changed in inkscape: | |
assignee: | nobody → Jon A. Cruz (jon-joncruz) |
Changed in inkscape: | |
status: | New → Triaged |
importance: | Undecided → Low |
Attaching the screenshots instead of linking to externally hosted files.