No subject


Thu Jul 28 13:12:41 PDT 2011


> In Draw the summary icon shows "pressed", if one of its sub tools is 
> active but not visible. If the sub window is open, the state
> "pressed" 
> it shown with the tool itself. The problem is in Writer and Calc.
> There 
> the summary icon does not show, that a tool from its sub window is
> active.

There's a bug in 3.3.1.2 (Astron mentioned it elsewhere) - you click on
the Rectangle tool, and:

1. The Rectangle tool's icon doesn't get highlighted

2. The "Basic shapes" combo gets highlighted, but it doesn't show a
rectangle; it shows a diamond.

3. When you draw, you draw a Rectangle.

So, there is a disparity between the actual tool and the tool that is
shown as active.

No idea if that is fixed in newer versions.

Regina again:
> A drawing toolbar in Writer and Calc does not know the state "single 
> operation" but a single click leads to "sticky" and a double click is 
> not possible. The problem in Writer and Calc is, that the icon is not 
> shown pressed, so that you can only guess from the mouse cursor
> symbol 
> which tool is active.

Oh, yeah, I just noticed this - the tool's icon is not shown highlighted
in Writer.  And the tool *is* sticky there!  Sounds like another
argument for getting rid of this inconsistency.

Astron said:
> What I don't really understand is why you think this behaviour works
> so well for the Calc/Writer use case – I think most users there need
> just one shape and then go back to writing/entering formulas etc.

This behavior creates this HUGE problem:

1. Go into Writer; type something.

2. Select a drawing tool; draw a shape.

3. Select some other drawing tools and draw some more shapes.

4. Each of those shapes is "separate" from the others, in that each has
its own individual anchor within the document.  Visually it looks like
the shapes belong to the same drawing, but when you change the text
(insert lines, etc.) the shapes move around because of the different
anchors.

I know that one should create a separate frame and draw *there*, but the
behavior by default, coupled with the visual effect, is really
confusing.


Now, about my patches:

So far, all I've got is the removal of the "permanent" mode.  Drawing
tools should not switch back to the Selection tool anymore.  There are
still parts of the code that switch back, but I think those are just for
special cases like "all of a bezier's nodes were deleted so we have
nothing else to do".

I haven't implemented "select a shape if you single-click on it" while a
drawing tool is active.  I don't really have a good idea of how to do
this; advice is appreciated :)

Also missing is the Spacebar functionality from Inkscape - that toggles
you between the current tool and the Selection tool.

Right now Esc indeed unselects everything, but doesn't maintain the
current tool.

(I'm trying to push my patches as a branch in git.freedesktop.org, but I
don't have write permission - just ssh access.)

  Federico




More information about the Libreoffice-ux-advise mailing list