Bug 141625 - Calc Chart x-Axis Formatting
Summary: Calc Chart x-Axis Formatting
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Linux (All)
: medium enhancement
Assignee: Caolán McNamara
URL:
Whiteboard: target:7.4.0 target:7.3.4
Keywords:
: 142424 (view as bug list)
Depends on:
Blocks: GTK3 Chart-Enhancements
  Show dependency treegraph
 
Reported: 2021-04-11 16:14 UTC by John Beatty
Modified: 2024-01-13 16:09 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Picture of edit box (15.40 KB, image/png)
2021-04-11 16:15 UTC, John Beatty
Details
Screenshot (22.63 KB, image/png)
2022-04-07 06:56 UTC, Heiko Tietze
Details
X-axis edit dialog (32.71 KB, image/png)
2022-04-16 15:19 UTC, John Beatty
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Beatty 2021-04-11 16:14:02 UTC
Description:
On an X-Y Scatter chart it is possible to change the axis scaling. If the x axis, for example, is a time base with values to the nearest second, then the edit box on the "Format Axis... > Scale" dialog is too short to contain the date and the time, example attached. It is possible to resize the dialog, but the box does not expand in line with this. It would be useful to have the whole date and time visible.

Steps to Reproduce:
1.Make a chart which has date and time values along the x axis
2.Try editing the x axis
3.

Actual Results:
Date and time does not fit within the edit box

Expected Results:
Date and time would all be visible in the edit box


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
If the box was a little bigger it would be possible to see the whole date/time value
Comment 1 John Beatty 2021-04-11 16:15:45 UTC
Created attachment 171101 [details]
Picture of edit box
Comment 2 Roman Kuznetsov 2022-04-05 20:32:41 UTC
Task for UX-team
Comment 3 Heiko Tietze 2022-04-07 06:55:45 UTC
Caolan, the large gtk3 controls spoil the size calculation here. Do you think a size_request() works well or should this be handled somewhere else, more generic?
Comment 4 Heiko Tietze 2022-04-07 06:56:09 UTC
Created attachment 179366 [details]
Screenshot

Situation with kf5
Comment 5 Commit Notification 2022-04-14 07:55:04 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/c15fceae5e70483daf8355a9b7d53215b7643c2b

Resolves: tdf#141625 give enough space to see full date+time

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Caolán McNamara 2022-04-14 07:58:07 UTC
done in trunk, backport to 7-3 in gerrit
Comment 7 Commit Notification 2022-04-14 09:13:34 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/5d9ba65897d2ba2998e43e97b25dbb9a560a16a1

Resolves: tdf#141625 give enough space to see full date+time

It will be available in 7.3.4.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 8 John Beatty 2022-04-16 15:14:37 UTC
Not fixed. I downloaded the development build 7.3.4. Running this in parallel as a test it displays exactly the same dialog, with insufficient space.

OS: Linux Mint 20 Cinnamon. Cinnamon version 4.6.7 Kernel 5.4.0-107-generic
Comment 9 John Beatty 2022-04-16 15:19:09 UTC
Created attachment 179613 [details]
X-axis edit dialog

X-axis edit dialog displaying behavior in 7.4.3
Comment 10 Xisco Faulí 2022-04-18 09:29:25 UTC
(In reply to John Beatty from comment #8)
> Not fixed. I downloaded the development build 7.3.4. Running this in
> parallel as a test it displays exactly the same dialog, with insufficient
> space.
> 
> OS: Linux Mint 20 Cinnamon. Cinnamon version 4.6.7 Kernel 5.4.0-107-generic

Hello John,
please share the info from Help - About LibreOffice
Comment 11 John Beatty 2022-04-18 14:40:17 UTC
From: Help>About:

Version: 7.3.4.0.0+ / LibreOffice Community
Build ID: 7fc871299080427587307932c505d3ae93d6a357
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 12 Xisco Faulí 2022-04-18 14:54:08 UTC
(In reply to John Beatty from comment #11)
> From: Help>About:
> 
> Version: 7.3.4.0.0+ / LibreOffice Community
> Build ID: 7fc871299080427587307932c505d3ae93d6a357
> CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3
> Locale: en-GB (en_GB.UTF-8); UI: en-US
> Calc: threaded

That build doesn't include the fix.  Please, download a more recent one a retry.
Closing as RESOLVED FIXED
Comment 13 John Beatty 2022-04-18 15:54:41 UTC
Yes, build 911d7c3336f07a4ea49bb539bf1bd35f11eea2a0 gives the desired result. Thank you, and the development team, very much.
Comment 14 Roman Kuznetsov 2022-10-06 08:12:31 UTC
*** Bug 142424 has been marked as a duplicate of this bug. ***
Comment 15 labeltortoise 2023-05-05 01:47:01 UTC Comment hidden (spam)