[Libreoffice-bugs] [Bug 134894] New: Chart's title unexpectedly remains even if we uncheck the checkbox

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 17 06:38:45 UTC 2020


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

            Bug ID: 134894
           Summary: Chart's title unexpectedly remains even if we uncheck
                    the checkbox
           Product: LibreOffice
           Version: 7.1.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Chart
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: himajin100000 at gmail.com

Description:
see steps to reproduce

Steps to Reproduce:
1. Launch Calc
2. Create whatever data is used for the chart, and select the range.
2. [Insert]->[Chart] from Main menu.
3. [Finish] in the Chart Wizard.
4. Open [Properties] sidebar for the chart.
5. For comparison, uncheck [Elements]-[Legend]-[Show legend].
6. the legend disappears.
7. Check [Elements]-[Titles]-[Title].
8. Title with the text "Title" appears
9. Uncheck [Elements]-[Titles]-[Title]. 

Actual Results:
Title still remains.

Expected Results:
Title disappears.


Reproducible: Always


User Profile Reset: No



Additional Info:
maybe we need something similar to VLegend::isVisible thingy for VTitle?

https://opengrok.libreoffice.org/xref/core/chart2/source/view/main/ChartView.cxx?r=02c4b116#2251

https://opengrok.libreoffice.org/xref/core/chart2/source/view/main/ChartView.cxx?r=02c4b116#2107
---
note: lcl_createTitle and lcl_createLegend are called only from create2D
variants. 
https://opengrok.libreoffice.org/s?refs=lcl_createTitle&project=core

note: for Titles, "Visible" property is set, not "Show" property
https://opengrok.libreoffice.org/xref/core/chart2/source/controller/sidebar/ChartElementsPanel.cxx?r=e871c9cb#146

====================
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 28f09062b2e9a3228ef5fe41312769ad566cc4b6
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: ja-JP (ja_JP); UI: en-US
Calc: CL

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200717/11cb35e1/attachment.htm>


More information about the Libreoffice-bugs mailing list