Bug 144645 - UI: Tooltip is squished/stretched and truncated on change
Summary: UI: Tooltip is squished/stretched and truncated on change
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
(earliest affected) release
Hardware: All All
: medium trivial
Assignee: Not Assigned
Depends on:
Blocks: Tooltip
  Show dependency treegraph
Reported: 2021-09-21 14:49 UTC by Concerned User
Modified: 2023-05-05 03:24 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

A stretched and truncated tooltip (10.09 KB, image/png)
2021-09-21 14:51 UTC, Concerned User
Another instance of a stretched tooltip (7.42 KB, image/png)
2021-09-21 14:58 UTC, Concerned User
An example of a squished tooltip (7.21 KB, image/png)
2021-09-21 15:00 UTC, Concerned User

Note You need to log in before you can comment on or make changes to this bug.
Description Concerned User 2021-09-21 14:49:14 UTC
When hovering over many data points on a graph, tooltips show inconsistent horizontal scaling.

Steps to Reproduce:
1. Create a graph (in my case, I used a line graph with two series).  Graphs with denser data points (closer together) may be easier to reproduce the effect.
2. Double click the graph to enter the editing mode.  It seems tooltips for data points are not visible otherwise.
3. Using a mouse, hover over different data points in quick succession.
4. Observe the effect given to the tooltip.  You may need to hover over several data points to recreate the effect.

Actual Results:
Tooltips occasionally show horizontally stretched or squished text.

Expected Results:
Tooltips should always be drawn with normal font dimensions.

Reproducible: Always

User Profile Reset: No

OpenGL enabled: Yes

Additional Info:
It seems the yellow tooltip box is being resized in preparation for a future redraw update for the next selected data point, needing a longer/shorter tooltip.  This may simply be an order of operations issue, wherein the old text should be removed/made invisible before the tooltip box is resized.

Recording video might make this bug easier to capture.
Comment 1 Concerned User 2021-09-21 14:51:04 UTC
Created attachment 175178 [details]
A stretched and truncated tooltip

This took several attempts to capture using the native OS screenshot capability.  As indicated in the report, it may be easier to capture video and review in slow motion.
Comment 2 Concerned User 2021-09-21 14:58:02 UTC
Created attachment 175179 [details]
Another instance of a stretched tooltip

This one does not exhibit any truncation, but you can see a partial outline of the previous (longer) tooltip
Comment 3 Concerned User 2021-09-21 15:00:20 UTC
Created attachment 175180 [details]
An example of a squished tooltip

You can see the text is squished, and is attempting to show the "Data Point" and "data series" values.  You can also see the outline of a previous (or future?) tooltip behind it.

Squished tooltips seem to happen less frequently, or are simply harder to catch due to redraw times.
Comment 4 Concerned User 2021-09-29 16:08:16 UTC
I was also able to recreate this behavior with the base toolbars from a standard sheet (without having to enter into a chart element).
Comment 5 Concerned User 2021-11-17 04:59:39 UTC
This behavior persists in the latest release (
Comment 6 Roman Kuznetsov 2022-10-05 19:30:25 UTC
Thanks for the report.

1. PLease try retest your problem in latest LO 7.3.6 or 7.4.1 version
2. Please write here info from your LibreOffice's Help->About dialog (use Copy button there)
Comment 7 QA Administrators 2023-04-04 03:23:27 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2023-05-05 03:24:42 UTC
Dear Concerned User,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team