Bug 142489 - Do not display "Table" toolbar by default in Impress
Summary: Do not display "Table" toolbar by default in Impress
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: Rafael Lima
URL:
Whiteboard: target:24.2.0
Keywords:
Depends on:
Blocks: Toolbars Notebookbar-Tabbed
  Show dependency treegraph
 
Reported: 2021-05-25 22:52 UTC by Rafael Lima
Modified: 2024-01-26 09:03 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Table toolbar: move to sidebar when table selected (104.44 KB, image/png)
2021-05-25 22:52 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2021-05-25 22:52:03 UTC
Created attachment 172340 [details]
Table toolbar: move to sidebar when table selected

In Impress, when the user inserts a table (or when he/she clicks on an existing table), the default behavior is to enable the "Table" toolbar at the bottom. The problem with this is that, when the toolbar is displayed, the slide is moved up, and then when the table is deselected, the slide moves back down.

I don't consider this to be a smooth experience, because when the user clicks something and the slide position changes, then whatever is beneath the mouse pointer changes and the user has to move the mouse again to where he/she was actually interested. Also, when the slide requires constantly clicking a table and contents outside the table, this moving up and down becomes annoying.

So, I would like to suggest simply disabling this default behavior. So, when the user inserts or selects a table, this toolbar remains hidden (unless the user manually enables it by going to View > Toolbars > Table).

This won't cripple functionality, since all the buttons from the toolbar are already available in the "Table" tab (except for the "Delete Table" button, that could be added to the tab).

Another possibility would be to move the commands in the Table toolbar to the sidebar, above the Table Design section (see attached image).
Comment 1 Telesto 2021-05-26 17:34:24 UTC
I share the complain. It's not limited to Impress. Same holds true for Writer.

I would prefer to be able to override the context behaviour; so having the table toolbar present with or without table to get rid of the annoying re-layouting. (not request is for all context depended toolbars)

But obviously depends on the bigger picture. Is the sidebar is still seen as optional (because of smaller screens etc?). So alternative toolbar being necessary?

Or the Tabbed default? The Tabbed bar obviously practical to get rid of the toolbar annoyance. But well that's the Tabbed interface by default debate..
Comment 2 Heiko Tietze 2021-05-27 09:34:15 UTC
The table toolbar offers a lot function such as addition/removal of col/rows, merging cells, setting border lines, etc. while via sidebar only the table style can be set.

We could hide the Drawing toolbar and show Table on top. Would likely also result in some flicker but the canvas remains static.
Comment 3 Heiko Tietze 2021-06-03 12:49:19 UTC
(In reply to Heiko Tietze from comment #2)
> We could hide the Drawing toolbar and show Table on top. Would likely also
> result in some flicker but the canvas remains static.

No further input, so let's do this. Maxim, could this be an easyhack?
Comment 4 Rafael Lima 2021-06-03 16:23:29 UTC
> > We could hide the Drawing toolbar and show Table on top. Would likely also
> > result in some flicker but the canvas remains static.
> 
> No further input, so let's do this. Maxim, could this be an easyhack?

I think the proposed solution will work for both Standard Toolbar and Tabbed Interface users.

As a user of the Tabbed Interface myself, I would only add the "Delete Table" button to the Table tab, to make it completely compatible with the Table Toolbar.
Comment 5 Rafael Lima 2023-08-08 23:36:16 UTC
This patch fixes this issue:
https://gerrit.libreoffice.org/c/core/+/155473
Comment 6 Commit Notification 2023-08-17 12:16:41 UTC
Rafael Lima committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/188cff995830d52f4b04ee4d2ffcabeff5d17b27

tdf#142489 Do not show the table toolbar when Notebookbar is active

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Stéphane Guillou (stragu) 2024-01-26 09:03:17 UTC
Verified in:

Version: 24.2.0.2 (X86_64) / LibreOffice Community
Build ID: b1fd3a6f0759c6f806568e15c957f97194bbec8f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Thanks Rafael.
I agree that the "Delete table" command should be added to the tabbed interface, there is enough space for it.