[Libreoffice-ux-advise] [Bug 154071] Request: Rename "Square" gradient to "Rectangle" gradient in the UI

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 9 13:27:25 UTC 2023


https://bugs.documentfoundation.org/show_bug.cgi?id=154071

--- Comment #2 from Regina Henschel <rb.henschel at t-online.de> ---
(In reply to Heiko Tietze from comment #1)
> I don't like the over-specification of a fairly fuzzy term. Most users
> (including me) don't understand the difference between Square and Quadratic

That is because of your German background. In German "quadratisch" is used for
the geometric and algebraic context as well. In English you have e.g.
"quadratic equation" but a "square" for a shape.

> (and the documentation keeps silent over the types) and rather play with the
> result than trying to understand the effect from the name.

That is exactly the problem which arises from the wrong terms. AOO still has
the correct terms "Square" and "Rectangular". The change from
"Square"->"Quadratic" and "Rectangular"->"Square" happens somewhere between
LO4.0 and LO4.4. I don't know why it was changed. For me that change is a bug. 

> 
> Switching from "Square" to "Rectangular" sounds good to me but I'd keep
> "Quadratic". Ultimately I don't see need to align the UI labels with
> internal variable names. So probably also NAB.

The naming in the UI should reflect the geometry of the gradient.
The names are not "internal" but are published in the API, see enum
GradientStyle.

"Quadratic" should be "Square". But changing that immediately might give
problems. We would need "Square (previously wrongly called 'Quadratic')".

> 
> 
> Looking for gradient naming did not return bug insights:
> 
> CSS: linear, radial, and conic [1]
> Adobe: Linear, Radial, Conic, Diamond, Reflected
> Photoshop: Linear, Radial, Angle, Reflected and Diamond
> MSO: DiagonalDown, DiagonalUp, FromCenter, FromCorner, FromTitle,
> Horizontal, Mixed, Vertical
> MSO: Linear, Radial, Rectangular, Path

CSS gradients are not yet implemented in LO (bug 48392). They have a different
concept and do neither provide "rectangular" nor "square". That is the reason
why ODF has both, svg-gradients and draw-gradients.

"reflected" is similar to our "axial".

The gradients of MSO and LO are not compatible in many ways. Especially OOXML
has no way to get a "rectangular" gradient. To get something similar you need
to use the additional "fillRect" attribute to stretch the focus to a line in
OOXML. "fillRect" is not available in the UI of MSO.

The first list "MSO" does not contain gradient types but predefined focus and
size definitions. Those correspond to our "X/Y Offset". The second list "MSO"
defines the gradient types. "Path" has no corresponding gradient type in LO.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list