Bug 142653 - Contextual Single user interface shows no toolbar
Summary: Contextual Single user interface shows no toolbar
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.1.3.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: Calc-Toolbars
  Show dependency treegraph
 
Reported: 2021-06-04 14:32 UTC by stragu
Modified: 2021-06-06 14:27 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of Contextual Single user interface in LO 7.2 (69.58 KB, image/png)
2021-06-04 14:34 UTC, stragu
Details
screenshot of default Contextual Single toolbar for 4 main components (LO 7.2) (100.29 KB, image/png)
2021-06-06 11:15 UTC, stragu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stragu 2021-06-04 14:32:25 UTC
Description:
The Contextual Single user interface doesn't show any toolbar whatsoever in Calc (apart from the ubiquitous formula bar).

Steps to Reproduce:
1. Open Calc
2. Use the menu: View > User Interface...
3. Pick "Contextual Single" and click "Apply to Calc" or "Apply to All"

Actual Results:
The is no toolbar, only the formula bar.

Expected Results:
There should be a single toolbar above the formula bar.


Reproducible: Always


User Profile Reset: No



Additional Info:
Tested with:

Version: 7.2.0.0.alpha1+ / LibreOffice Community
Build ID: 774be6d793203183fe1856ffb8b720f00b48c2bb
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-06-03_19:22:06
Calc: threaded

and:

Version: 7.1.3.2 / LibreOffice Community
Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 1 stragu 2021-06-04 14:34:57 UTC
Created attachment 172623 [details]
screenshot of Contextual Single user interface in LO 7.2
Comment 2 V Stuart Foote 2021-06-05 00:02:30 UTC
Sure it does. Insert something into a cell that needs a TB other than the Formula Bar.
Comment 3 V Stuart Foote 2021-06-05 00:07:25 UTC
The docked single pop-open TB are "contextual" (And why this is one of my favorite MUFFIN modes).
Comment 4 stragu 2021-06-05 02:50:12 UTC
(In reply to V Stuart Foote from comment #2)
> Sure it does. Insert something into a cell that needs a TB other than the
> Formula Bar.

Stuart, I'm not sure I agree it looks as it should. Have you seen the attached screenshot?

Looking at the other main components of LibreOffice (which support this Contextual Single interface), they all have a default toolbar with icons for a set of essential controls and most-used features.

Impress, Writer and Draw all start with "Undo" and "Paste". They also all have an icon to insert a Table or a Table. And then, a bunch of other default controls that users are likely to want to have handy at all times.

In my opinion, Calc not showing a default icon toolbar with the main feature and controls, just like the three other main components have, looks inconsistent and feels like a bug.

Furthermore, I don't think that "inserting something into a cell that needs another toolbar" is even working as intended currently. Try for example:

1. write some plain text in a cell, press enter
2. click on the cell: no text formatting toolbar
3. double-click on the cell, select the text: still no text formatting toolbar

Even when that works (for example when clicking on an image), you end up with a top toolbar that pops in, moving the viewport. This does not happen with the other three main LO components with Contextual Single.

For these reasons, I think Calc's Contextual Single user interface is not working as expected, and inconsistent with the rest of LibreOffice to the point that it feels like a bug.

Reopening for some more input.
Comment 5 stragu 2021-06-06 11:15:41 UTC
Created attachment 172656 [details]
screenshot of default Contextual Single toolbar for 4 main components (LO 7.2)

This screenshot puts side-to-side the default Contextual Single toolbar of all 4 main LibreOffice components, at startup, before performing any action on the new document. From top to bottom:

- Draw
- Impress
- Writer
- Calc

Notice how the three first components have a default toolbar with many useful tools, without requiring any extra action. They also have some items in common, like the Undo, Paste and Insert Image elements, which in my opinion should be present in the default toolbar of all 4 main LO components.

Calc does not have one, and the formula toolbar cannot be considered to be the "contextual single toolbar" as it does not change significantly or disappear depending of what the user is editing (for example, it is still present when an image is selected even though formula are irrelevant to images).
Comment 6 V Stuart Foote 2021-06-06 14:27:48 UTC
(In reply to stragu from comment #5)
> Created attachment 172656 [details]
> ...
 
> Notice how the three first components have a default toolbar with many
> useful tools, without requiring any extra action. They also have some items
> in common, like the Undo, Paste and Insert Image elements, which in my
> opinion should be present in the default toolbar of all 4 main LO components.
> 
> Calc does not have one, and the formula toolbar cannot be considered to be
> the "contextual single toolbar" as it does not change significantly or
> disappear depending of what the user is editing (for example, it is still
> present when an image is selected even though formula are irrelevant to
> images).

The observation is valid. Not sure if it was intentional or an oversite as Contextual Single was being refined. Standard (Single) 'Single Toolbar' shows a TB, and IIRC the full NB Single was dropped as for bug 125040, which does remain open.

@Maxim, Andreas -- thoughts? Still work to do maybe, and did Maxim's conceptual approach [1] for bug 125040 (agreed to in bug 124835) actually get implemented?  Looked, but I get a bit confussed following the 'Contextual Single' mode in source.

=-ref-=
[1] https://bugs.documentfoundation.org/attachment.cgi?id=151110