Bug 158755 - FORMATTING: Hidden styles appear unchanged in hierarchical list (styles sidebar)
Summary: FORMATTING: Hidden styles appear unchanged in hierarchical list (styles sidebar)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Sidebar-Styles
  Show dependency treegraph
 
Reported: 2023-12-17 19:37 UTC by Maxime
Modified: 2023-12-30 10:07 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (24.67 KB, image/png)
2023-12-20 01:19 UTC, m_a_riosv
Details
Screenshot of LibreOffice Calc styles sidebar (35.75 KB, image/png)
2023-12-29 17:09 UTC, Maxime
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime 2023-12-17 19:37:59 UTC
Description:
In LibreOffice Calc 7.6.4.1 sidebar, when the styles are displayed in the "Hierarchical" list, there is no more distinction between those that are hidden and those that are not.
Both appear in the same way, contrary to the previous branch (7.5.X)β€”the hidden ones were not displayed. By comparison, hidden styles are greyed in LibreOffice Writer (both in 7.6.4.1 and the previous branch).

Yet, hiding styles works as intended in the "all styles" list: hidden styles are not displayed. So, there is an easy workaround.

Steps to Reproduce:
1. Create a new document in LibreOffice Calc
2. Go to the styles sidebar (F11)
3. Select the "Hierarchical" list
4. Right-click on any style and choose "hide"

Actual Results:
No change is visible in the "hierarchical" list: the hidden style is still displayed (even if LibreOffice knows it is hidden, according to the "all styles" list).

Expected Results:
Hidden styles may appear greyed or invisible outside of the "hidden styles" list, just like in previous Calc versions or currently in LibreOffice Writer.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Debian package version: 4:7.6.4~rc1-1~bpo12+1
Calc: threaded
Comment 1 m_a_riosv 2023-12-20 01:19:21 UTC
Created attachment 191523 [details]
Screenshot

Looks greyed out for me.
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 2 Maxime 2023-12-29 17:09:17 UTC
Created attachment 191637 [details]
Screenshot of LibreOffice Calc styles sidebar

Title 2 is hidden ("Titre 2" in the screenshot), yet there is no visual difference in comparison to Title 1 ("Titre 1").
Comment 3 ady 2023-12-30 03:41:55 UTC
I can repro this, but I am not even sure what the expected behavior should be.

Tested with LO 7.6.3 and with 24.8 alpha on Windows.

In my case, with the "All styles" view, the "hidden" styles are not shown; IMHO this is a bug, as they should be grayed out (but still visible). Alternatively, the name should rather be changed to "Not-hidden" view.

In my case, with the "Hierarchical" view, all styles are shown in the same way, whether they are supposed to be set as hidden or not. I can understand someone claiming that they should be actually not shown in this "Hierarchical" view, but that would be a problem. For instance, if you hide "Accent" you would be not showing all the derivative styles too. Perhaps this view should also just gray out the "hidden" styles? I can imagine some users not liking that idea. If "All styles" is renamed as "Not-hidden styles", then the "Hierarchical" view should be showing all the styles, with the "Hidden" styles grayed out. The "Hierarchical" view would also be the new "All/Hierarchical" view.

IMHO, hidden styles should be grayed out but still visible at least in the (now proposed) "All/Hierarchical" view.