Bug 156495 - CALC The "Fast Action" Buttons to hide/unhide all grouped columns & rows disappear when View Headers is set to conceal headers
Summary: CALC The "Fast Action" Buttons to hide/unhide all grouped columns & rows disa...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.4.7.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Group&Outline
  Show dependency treegraph
 
Reported: 2023-07-27 14:30 UTC by Colin
Modified: 2023-08-31 12:53 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example Calc (8.73 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-07-27 14:31 UTC, Colin
Details
Replacement with more nested groups (9.02 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-07-27 17:29 UTC, Colin
Details
Buttons in current 24.2 version (10.41 KB, image/png)
2023-07-29 16:32 UTC, Roman Kuznetsov
Details
Image showing suggested location (25.36 KB, image/png)
2023-07-29 17:02 UTC, Colin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Colin 2023-07-27 14:30:27 UTC
Description:
Columns and rows can be grouped by selecting their headers and [F12) or Menu>Data>Group&Outline>Group.
This produces a button by which the pertinent elements can be concealed or revealed.
"Quick Response" buttons are created at the top left of the header locations to facilitate conceal/reveal of all groups.
If the Menu>View>View Headers toggle is deactivated to hide the headers then those "Quick Reponse" buttons also disappear

Steps to Reproduce:
Either examine the attached sheet as per the instructions below or make your own
Create Column and row groups by selecting as appropriate and pressing [F12)
on the menu
Play with the little "Quick Response" buttons to reveal and conceal the appropriate groups
Select from the menu ribbon View>ViewHeaders and toggle to deactivate viewing of the headers
Now play with the "Quick Response" buttons

Actual Results:
No "Quick Response" buttons

Expected Results:
"Quick Response" buttons to remain


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.4.7.2 (x64) / LibreOffice Community
Build ID: 723314e595e8007d3cf785c16538505a1c878ca5
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: sv-SE (en_GB); UI: en-GB
Calc: threaded
Comment 1 Colin 2023-07-27 14:31:25 UTC Comment hidden (obsolete)
Comment 2 ady 2023-07-27 16:19:03 UTC
(In reply to Colin from comment #0)

> If the Menu>View>View Headers toggle is deactivated to hide the headers then
> those "Quick Reponse" buttons also disappear

The intention for hiding the row/column headers, among others, is to "gain" screen space. Those "Quick Response" buttons you mention are lined up with the headers (respectively).

Are you suggesting that, when "View Headers" is OFF, then the actual row/column headers should not be displayed but the screen space should remain (just) so the "Quick Response" buttons would still be displayed? If not, please clarify.
Comment 3 m_a_riosv 2023-07-27 16:48:24 UTC Comment hidden (obsolete)
Comment 4 Colin 2023-07-27 16:54:47 UTC
(In reply to ady from comment #2)
> (In reply to Colin from comment #0)
> 
> > If the Menu>View>View Headers toggle is deactivated to hide the headers then
> > those "Quick Reponse" buttons also disappear
> 
> The intention for hiding the row/column headers, among others, is to "gain"
> screen space. Those "Quick Response" buttons you mention are lined up with
> the headers (respectively).

One of the anomalies is that the Alpha buttons are vertical so they actually increase the header real estate and the numeric ones are horizontal so they also increase their header real estate.
 
> Are you suggesting that, when "View Headers" is OFF, then the actual
> row/column headers should not be displayed but the screen space should
> remain (just) so the "Quick Response" buttons would still be displayed? If
> not, please clarify.

I'm suggesting that the QR buttons and the individual conceal/reveal buttons should always be visible and that the header toggle should just hide the coordinate identifiers A:XFD and 1:1048576. Clearly, the length of the coordinate ID implies the possibility of 7 activation buttons for the columns but only 3 for rows as that's the "growth" limit of their numbering system. Would it be feasible to allow the QR buttons to "overflow" the existing cell boundaries to maintain visibility and somehow monitor the creation of column/row groups to permit them to coexist? if you look at the sample I attached it does demonstrate that you could maintain a vertical button array "alongside the regular +- buttons for rows and a horizontal row above or below the existing +- buttons

If they were aligned with their respective header in the existing locations then they would only take up the same header profile as the regular QR and +- buttons with the view toggle "on". Conversely if there are "many" grouped columns/rows in the existing treatment then that in itself will increase the real estate needed by the "Quick Response" buttons when the view toggle is "on".

To activate them "en masse" you still have to bring headers back into view so there's not really much to be gained from concealing them in the first place.
Comment 5 Colin 2023-07-27 17:03:30 UTC
(In reply to Colin from comment #4)
> (In reply to ady from comment #2)
> > (In reply to Colin from comment #0)
> > 


> If they were aligned with their respective header in the existing locations
> then they would only take up the same header profile as the regular QR and
> +- buttons with the view toggle "on". Conversely if there are "many" grouped
> columns/rows in the existing treatment then that in itself will increase the
> real estate needed by the "Quick Response" buttons when the view toggle is
> "on".
Excel permits "nested" grouping so  D:F can be grouped inside C:H then they have multiple layers of QR buttons which does obviate the benefit of concealing the headers. If "nesting" is feasible then I would suggest just two buttons conceal/reveal everything. If the nested columns need to be hidden again then it's just a case of activating its own - button.
Comment 6 Colin 2023-07-27 17:06:17 UTC Comment hidden (obsolete)
Comment 7 Colin 2023-07-27 17:29:10 UTC
I've attached a revised Calc demonstrating how nesting the grouped arrays increases the header real estate regardless of the View toggle or the nested level that is revealed
It's much easier to perceive the QR buttons being aligned along their respective planes and they could possibly align with the QR button for the highest numbered array. In that manner there should always be enough "white space" between the cell boundaries and the group indicators.
Even if the first columns were only a few points wide then that shouldn't cause a presentation clash as it's !"dead space".
Comment 8 Colin 2023-07-27 17:29:55 UTC
Created attachment 188599 [details]
Replacement with more nested groups
Comment 9 m_a_riosv 2023-07-27 21:36:41 UTC Comment hidden (obsolete)
Comment 10 Roman Kuznetsov 2023-07-29 16:32:23 UTC Comment hidden (obsolete)
Comment 11 Roman Kuznetsov 2023-07-29 16:32:49 UTC Comment hidden (obsolete)
Comment 12 Colin 2023-07-29 16:50:45 UTC Comment hidden (obsolete)
Comment 13 Colin 2023-07-29 16:58:08 UTC Comment hidden (obsolete)
Comment 14 Colin 2023-07-29 17:02:32 UTC
Created attachment 188644 [details]
Image showing suggested location
Comment 15 ady 2023-07-29 18:05:28 UTC Comment hidden (obsolete)
Comment 16 Colin 2023-07-29 18:17:36 UTC
You will also notice from my screen grab that the numbered QR buttons always exceed the layers of grouped cells by one - thereby forcing the ribbon to use enough space to accommodate those buttons. It's the "Lord of the Buttons" with an extra button to control them all.
Aligning them in the same plane as the existing buttons thereby releases the "dead space" between the grouping lines and the margin - and I reiterate; once there are layered groups then there is always available space alongside the lowest level which could accommodate the QR buttons
Comment 17 Colin 2023-07-29 18:22:34 UTC Comment hidden (obsolete)
Comment 18 ady 2023-07-29 18:57:01 UTC Comment hidden (obsolete)
Comment 19 Colin 2023-07-29 19:14:26 UTC Comment hidden (obsolete)
Comment 20 Heiko Tietze 2023-08-21 08:59:13 UTC
To show the QR buttons if the header is off effectively means to put it in the first row/column, which is clearly a no-go.

a) We could keep the extra space meaning to just hide the labels.
b) Disable the command and always show headers if groups exist.
c) Accept the user configuration since done intentionally; also with the idea that you still can show/hide groups individually

The discussion around screen real estate is something different. I could imagine a "responsive" width/height depending on how many group levels are visible.

My take => c), and to not put effort in saving space for multiple nested groups. Missing also a good use case that makes a change necessary.
Comment 21 Heiko Tietze 2023-08-31 12:53:42 UTC
The topic was on the agenda of the design meeting but did not receive further input. My take in comment 20 is to accept the shortcoming because it is a corner case, user-driven, and the alternatives are not acceptable. => WF 
(feel free to reopen, as always)