Bug 158299 - Chart labels misplaced depending on zoom level
Summary: Chart labels misplaced depending on zoom level
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
7.6.3.1 rc
Hardware: ARM Android
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Zoom Chart-Labels
  Show dependency treegraph
 
Reported: 2023-11-21 14:25 UTC by Stéphane Guillou (stragu)
Modified: 2023-11-21 16:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
sample chart in ODS (19.23 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-11-21 14:25 UTC, Stéphane Guillou (stragu)
Details
screenshot based on sample ODS (69.82 KB, image/jpeg)
2023-11-21 14:34 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Guillou (stragu) 2023-11-21 14:25:38 UTC
Created attachment 190938 [details]
sample chart in ODS

Steps:
1. Open a file with a chart, like attachment
2. Zoom in and out

Result: chart labels move independently from the chart

Version: 7.6.3.2.0+
Build ID: 0e982fe4db35
Comment 1 Stéphane Guillou (stragu) 2023-11-21 14:34:13 UTC
Created attachment 190939 [details]
screenshot based on sample ODS
Comment 2 Michael Weghorn 2023-11-21 16:42:31 UTC
Thanks. I can reproduce with

    Version: 7.6.3.2.0+
    Build ID: 0e982fe4db35

but not

    Version: 24.2.0.0.alpha0+
    Build ID: 42edec63fba4

Fix identified by bibisecting with gtktiledviewer:

commit cf17d5384cc8e254684bc1423176ad8562d49bee
Author: Pranam Lashkari
Date:   Mon Jun 26 22:28:06 2023 +0700

    vcl: render scaled fonts for LOK
    
    problem:
    In  online calc when fonts are not scaled, text box disappears when not active
    
    Change-Id: I9c8fdb3c0d14a3e7ed502ddb2b46c0769a855280
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153624
    Reviewed-by: Caolán McNamara
    Tested-by: Caolán McNamara
    (cherry picked from commit 6460c685c3bc3f4929263c7681080056b59948fe)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153654
    Tested-by: Jenkins
    Reviewed-by: Pranam Lashkari

Now pending cherry-pick for 7-6: 
https://gerrit.libreoffice.org/c/core/+/159752

The Gerrit change for master has this comment from Caolán, which may or may not apply for the bug here as well:

> yeah, this is a workaround for one of my bugs which I should get around to fixing properly, e.g. https://bugs.documentfoundation.org/show_bug.cgi?id=157295