Bug 118294 - Hidden gridlines cannot made visible temporarily
Summary: Hidden gridlines cannot made visible temporarily
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Grid-Helplines
  Show dependency treegraph
 
Reported: 2018-06-21 08:24 UTC by Heiko Tietze
Modified: 2023-09-03 03:15 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Tietze 2018-06-21 08:24:09 UTC
While the default with tools > options > calc > view > visual aids > gridlines = show allows to hide them temporarily per view > gridlines for sheet the opposite is not possible. That means when in tools > options the gridlines are off by default it should be respected and toggled by the view settings.
Comment 1 Maxim Monastirsky 2018-06-21 13:15:04 UTC
Currently the global and the per-sheet settings are independent of each other, and stored separately into ods. And the grid lines of a specific sheet are visible only if both of these settings are true. Therefore, making a per-sheet show setting override the global hide setting, will make the global setting effectively ignored for existing sheets, as any sheet has a per-sheet setting (set to either true or false) anyway. To solve this, we'll need to make sure that once the global setting is modified, all sheets are iterated, and their per-sheet setting is reseted to the global one (or to a 3rd "default" state which follows the global setting).

Another problem is compatibility with existing documents. Some users might just use the global setting to hide the grid (and actually that was the only option in OOo and still in AOO), and if we make the per-sheet setting override the global one, such documents will open with a visible grid, although they were originally designed with a hidden grid. So we'll have to check upon file import whether the document was created by an earlier version of LO, and in such case ignore the per-sheet setting if the global setting is "false".

Unfortunately, this won't solve the incompatibility of documents created by a newer version, and opening them with an older version, but I don't know what else can be done in this regard.

Adding Eike to CC, to get his input.
Comment 2 QA Administrators 2019-09-02 09:21:22 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2021-09-02 03:52:16 UTC Comment hidden (obsolete)
Comment 4 Heiko Tietze 2021-09-02 07:46:46 UTC
(In reply to Maxim Monastirsky from comment #1)
> a per-sheet show setting override the global hide setting... compatibility

Wasn't thinking so far. The issue is that you show/hide gridlines per View > View Grid Lines but only if tools > options ... visual aids is active. The option has no function if gridlines are hidden globally. So either we disable .uno:ToggleSheetGrid in this case or make .uno:ToggleSheetGrid toggle the global setting, which was my original idea.
Comment 5 QA Administrators 2023-09-03 03:15:59 UTC
Dear Heiko Tietze,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug