After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728752 - Chart title position
Chart title position
Status: RESOLVED FIXED
Product: libgoffice
Classification: Other
Component: Graphing / Charting
GIT
Other All
: Normal major
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2014-04-22 19:56 UTC by Morten Welinder
Modified: 2014-04-23 15:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (3.23 KB, patch)
2014-04-23 07:25 UTC, Jean Bréfort
committed Details | Review

Description Morten Welinder 2014-04-22 19:56:18 UTC
In graph-tests.gnumeric, "Titles" tab:

1. The title is left justified even though I have asked for it to be centered.

2. If I turn on "Display the title of several lines if needed" then the
   title becomes centered.  It remains centered even if I set "Alignment"
   to "Start".

3. When the title is centered, the outline is still left-justified.
Comment 1 Jean Bréfort 2014-04-22 20:04:17 UTC
Confirmed
Comment 2 Morten Welinder 2014-04-22 20:14:46 UTC
This is new: chart-tests, which has image versions of the graphs, show
titles centered.
Comment 3 Jean Bréfort 2014-04-22 20:25:50 UTC
I see, it's my last commit. Seems it's a bit more involved.
Comment 4 Jean Bréfort 2014-04-23 07:25:01 UTC
Created attachment 274932 [details] [review]
Proposed patch

We need to distinguish between objects which expand and objects which don't.
Comment 5 Morten Welinder 2014-04-23 13:46:51 UTC
That looks much better:

1. Start/Center/End all do what I expect.  Fill does what Start does, but
   I don't know what it is supposed to do.

2. The outline moves with the text.  Good.

3. Turning on "Display the title of several lines if needed" still has a
   minor, weird effect: the text moves slightly to the right so that it is
   no longer centered within the outline.
Comment 6 Jean Bréfort 2014-04-23 14:34:40 UTC
Yes, looks like "Fill" is just like start. Not sure what it is for. This is an old behavior (1.8 or older).

The slight move to the right occurs only if the outline is visible.
Comment 7 Jean Bréfort 2014-04-23 15:09:40 UTC
Slight move fixed.

This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.