Bug 159738 - CALC UI: Menu item "View headers" in menu "View" named wrong
Summary: CALC UI: Menu item "View headers" in menu "View" named wrong
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.4.7.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyBeginner, easyHack, skillDesign
Depends on:
Blocks: UNO-Command-Label
  Show dependency treegraph
 
Reported: 2024-02-15 16:43 UTC by lol
Modified: 2024-03-09 03:14 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Calc view header (139.10 KB, image/png)
2024-02-15 16:43 UTC, lol
Details
Notebookbar (23.45 KB, image/png)
2024-02-20 08:25 UTC, Heiko Tietze
Details
Header (25.00 KB, image/png)
2024-02-24 15:03 UTC, lol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lol 2024-02-15 16:43:43 UTC
Created attachment 192589 [details]
Calc view header

The menu item "View headers" in the menu "View" and the option "column/row headers" in the dialog Option - Calc - View does the same work. But they are named different. The menu item in the view menu should also named "column/row headers". The label "header" is used for the header on a page.

Steps to Reproduce:
1. Open Calc

2. Open the menu View
3. The menu item calls "View headers"

4. Open the dialog Options via menu Tools - Options...
5. Got to Calc - View
6. In the section "Window" the option calls "column/row headers"

See also attached picture.

Version: 7.6.4.1 (x86) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
Comment 1 Rainer Bielefeld Retired 2024-02-19 12:27:21 UTC
Reproducible in LibO:
7.4.0.0
7.0.0.1
6.4.7.2

Was still ok for me (more or less) with LibO:
6.0.7.3
4.0.0.3 (Column & Row Headers)
OOo 330.
Comment 2 BogdanB 2024-02-19 20:16:33 UTC
Confirm with
Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 3 Heiko Tietze 2024-02-20 08:25:59 UTC
Created attachment 192654 [details]
Notebookbar

The command label (which is the menu entry) was changed in https://gerrit.libreoffice.org/c/core/+/53104/ apparently to fit the item better on the Notebookbar.

Possible solutions:
a) have a dedicated NotebookbarLabel entry in the command description (don't see this being implemented in the near future)
b) change the command back to "Column/Row Header" and accept the longer label in the Notebookbar
c) change the UI label to "View Headers" (fixes the ugly upper/lower case issue for Col/*r*ow and distinguishes this command from the "Col/Row highlighting")

My vote is c).

However, "*View* Gridlines" and "*View* Headers" could be shortened to just the function name using the contextlabel attribute like for uno:ViewHiddenColRow. In this case I would still go with "View Headers" in the options UI meaning there would be a difference. So

d) accept the situation, NAB/WF
Comment 4 lol 2024-02-24 15:03:54 UTC
Created attachment 192747 [details]
Header
Comment 5 lol 2024-02-24 15:06:10 UTC
One problem resolved and another problem occurs.

The label "View column/row headers" is longer than "View headers" but it describe what the function make, show or hide the column/row headers, not the header.

The label "header" is used for the header on a page. See https://bugs.documentfoundation.org/attachment.cgi?id=192747

The option which make the same as the menu item is named "column/row headers". It is confusing for the user if the same function has different labels. See https://bug-attachments.documentfoundation.org/attachment.cgi?id=192589

On the notbookbar is enough place for the label "View column/row headers". Maybe the word "view" can be removed so the label is shorter.
Comment 6 Heiko Tietze 2024-03-08 10:04:46 UTC
We discussed the topic in the design meeting.

Adding another label type to the command description sounds like a good idea but wouldn't be a quick solution for the inconsistency, IOW "a residual uncanny feeling". 

Both, renaming to the previous lengthy term as well as changing the dialog label has disadvantages.

We should first test with a context label "Col/Row Header" (the full label would be "Show Column/Row Header") whether this is used on the NB and if it becomes too long. Otherwise a tooltip like "Toggle row/column header on/off" for both places might mitigate the confusion.

.uno:ViewRowColumnHeaders in officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
sc/uiconfig/scalc/ui/tpviewpage.ui