Bug 157036 - LibreOffice 7.6 portable version can not achieve the following function insert->field (date, sheet name, document_title)
Summary: LibreOffice 7.6 portable version can not achieve the following function inser...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.6.0.3 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: Fields
  Show dependency treegraph
 
Reported: 2023-08-31 11:37 UTC by neil
Modified: 2023-09-12 07:52 UTC (History)
2 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 neil 2023-08-31 11:37:13 UTC
Description:
windows ltsc 21H2 X64
libreoffice portable V7.6 
calc program can not achieve the following function insert->filed(date, sheet name, document_title) 
The buttons are grayed out and are not available.
Please fix this feature.

writer program functions insert->field 
program functions work properly




Actual Results:
calc program can not achieve the following function insert->filed(date, sheet name, document_title) 
The buttons are grayed out and are not available.

Expected Results:
Should be able to insert date, paper name, document title normally


Reproducible: Always


User Profile Reset: Yes

Additional Info:
No relevant information
Comment 1 neil 2023-08-31 11:43:41 UTC
The program function of inserting sheet name, document title. in cell does not work.
Comment 2 ady 2023-08-31 18:56:34 UTC
When you first click on the formula bar (input box) then you can insert those fields. Each cell can have multiple fields, or another text and fields and so on.

I guess that, even when the Insert > Field menu entry is grayed out (before entering into cell's edit mode), the sub-menu could also be displayed (also grayed out), so the user has a clue of what potential alternative fields would be available.

In that case, this ticket should be modified, changing the title subject in order to request this change.
Comment 3 Heiko Tietze 2023-09-05 13:27:49 UTC
(In reply to ady from comment #2)
> When you first click on the formula bar (input box) then you can insert
> those fields. Each cell can have multiple fields, or another text and fields
> and so on.
We could overwrite the cell content when adding a field not in edit mode. But rather keep it blocked and give better feedback.

> I guess that...the sub-menu could also be displayed...
Don't get this. Please elaborate :-)
Comment 4 ady 2023-09-06 02:40:50 UTC
(In reply to Heiko Tietze from comment #3)

> > I guess that...the sub-menu could also be displayed...
> Don't get this. Please elaborate :-)

1. Open new Calc.
2. (Do _not_ enter into cell edit mode) Click menu Insert > move mouse to "Field" entry within the Insert menu.

There is an arrow pointing to the right, indicating that there is a sub-menu for "Field", but when the mouse pointer is focused on the Field entry, the sub-menu does not display the possible entries.

Now repeat the steps but with a minor difference:
1. Open new Calc.
2. Press F2 (in order to enter cell's edit mode) and then click menu Insert > move mouse to "Field" entry within the Insert menu.

With this modified steps, the field entry is allowed (i.e. not grayed out), and when pointing the mouse to it, the sub-menu entries are displayed (not grayed out, as expected because they can be used in this case).

I am trying to suggest that, even when the Field entry of the Insert menu is grayed out, it could still allow to show the sub-entries, also grayed-out when that's the expected case.
Comment 5 Heiko Tietze 2023-09-06 11:53:10 UTC
For me (Linux/KDE, tested with gen,gtk3,kf5) the "Fields" menu item is always enabled but the submenu items are disabled until the edit mode.

And actually I doubt showing (or not) the disabled submenu items makes the situation more clear. The context menu has a Fields entry when in edit mode, not in view mode (Cell Edit vs. Cell in the customization). So we could remove Fields from the main menu (or show it only when in edit mode, although that's no a good solution).
Comment 6 ady 2023-09-06 14:11:34 UTC
(In reply to Heiko Tietze from comment #5)
> For me (Linux/KDE, tested with gen,gtk3,kf5) the "Fields" menu item is
> always enabled but the submenu items are disabled until the edit mode.

Not under MS Windows in recent LO Dev 24.2 (but yes in 7.6.0.3); the sub-entries are not shown when the Field entry is grayed out. Showing the sub-entries (in gray when adequate, as in LO 7.6.0.3) is more clear for (new) users. IOW, keep "Field" grayed out when relevant, but also show the sub-entries (also in gray when relevant).

>  So we could
> remove Fields from the main menu (or show it only when in edit mode,
> although that's no a good solution).

It would make the entry harder to discover and to learn about it, as this report shows. The feature is already not immediately understood (or at least how to use it, requiring edit mode); let's not make it harder.

In the meantime, we have now shown a regression in UX in LO Dev 24.2 vs 7.6.
Comment 7 neil 2023-09-08 14:55:14 UTC
Tried all of the above, but it still doesn't work.
Can't upload a picture to clearly show the problem I'm experiencing
Comment 8 ady 2023-09-08 20:00:08 UTC
(In reply to neil from comment #7)
> Tried all of the above, but it still doesn't work.

Please re-read comment 2. Before trying to insert a field, click first on the input box (formula bar).

> Can't upload a picture to clearly show the problem I'm experiencing

In the web page of the report bug 157036, there is a link "Add an attachment".

Please don't set your own report to NEW. There is still no confirmation from someone else that there is a bug.
Comment 9 neil 2023-09-09 13:34:47 UTC
Comment 2 Effective in solving problems. Thank you.
Best wishes libreoffice gets better and better!!!!
Comment 10 neil 2023-09-10 03:24:19 UTC Comment hidden (off-topic)
Comment 11 ady 2023-09-10 16:20:09 UTC
@ neil,
This site is aimed at bug reports and enhancements requests (one per ticket); this is not a support site. Please either subscribe to the users mailing list and ask your questions there, or read the Help content or the Manuals, or go to https://ask.libreoffice.org .
Comment 12 ady 2023-09-10 16:23:34 UTC
@ UX Team: my report in comment 6 has had no feedback. I think that should be a new regression bug report (not related to this one, if someone else can confirm my report in comment 6).

As for tdf#157036 itself, I am closing it as NOTABUG.
Comment 13 Heiko Tietze 2023-09-11 05:06:51 UTC
(In reply to ady from comment #12)
> @ UX Team: my report in comment 6 has had no feedback. I think that should
> be a new regression bug report (not related to this one, if someone else can
> confirm my report in comment 6).

Yes, maybe it's a bug. But IIRC some OS/DE don't expand the submenu for disabled nodes and maybe that happens in this case.
Comment 14 ady 2023-09-11 10:57:12 UTC
(In reply to Heiko Tietze from comment #13)
> (In reply to ady from comment #12)
> > @ UX Team: my report in comment 6 has had no feedback. I think that should
> > be a new regression bug report (not related to this one, if someone else can
> > confirm my report in comment 6).
> 
> Yes, maybe it's a bug. But IIRC some OS/DE don't expand the submenu for
> disabled nodes and maybe that happens in this case.

@ Heiko, that's not the case here: the problem happens on LO 24.2 but it does not happen on LO 7.6. Please re-read comment 6, and comment 4 for STR for the potential new regression (not related to tdf#157036).
Comment 15 neil 2023-09-12 07:52:44 UTC
@ady. Thanks for the kind reminder.