Bug 157026 - Align commands should appear in the Table tab of the Notebookbar when a table is selected
Summary: Align commands should appear in the Table tab of the Notebookbar when a table...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
5.4.0.3 release
Hardware: All All
: medium enhancement
Assignee: Justin L
URL:
Whiteboard: target:24.2.0
Keywords:
Depends on:
Blocks: Object-Selection-Alignment Notebookbar-Tabbed
  Show dependency treegraph
 
Reported: 2023-08-30 20:50 UTC by Rafael Lima
Modified: 2023-10-20 18:27 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 Rafael Lima 2023-08-30 20:50:20 UTC
When you add a table to an Impress presentation and select the table, the "Table" tab of the notebookbar is shown. However, this tab is missing the "Align Objects" commands, which are very useful to f.i. center the table horizontally/vertically on the slide.

Steps to reproduce
0) Make sure you're using the Tabbed UI
1) Create an empty presentation
2) Add a table to the current slide
3) Select the table
4) Notice the "Table" tab is selected, but it does not have the Align Object commands

These commands exist and work fine with tables... they currently can be accessed if you select the table and open the context menu.

So I propose we add these commands to the Table tab of the Tabbed UI.
Comment 1 Stéphane Guillou (stragu) 2023-09-13 22:46:54 UTC
I see that the Draw, Image, Media and Object tabs all have those 6 buttons, so I can't see why we shouldn't have them in the Table tab too.

What's more: when a table is selected, the sidebar doesn't even have those commands. All others objects I tested (formula, chart, text box, image, fontwork, shape) have the alignment options in the sidebar.
So you could argue that tables are the ones who need that command in the tabbed interface _the most_.

(Workaround is to switch to the Layout tab, or use the context menu, or reveal the menubar > Format > Align Objects.)

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

Same in Writer.
Comment 2 Stéphane Guillou (stragu) 2023-09-14 07:31:15 UTC
True for 5.4.0.3 (but back then, tabs were a lot lighter in content, and I couldn't see align commands elsewhere)
Comment 3 Commit Notification 2023-10-20 18:26:11 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/4e871d99ccace244de42c0d5c4bd11611af6ccb2

tdf#157026 sd notebookbar: add ObjectAlign to MenuTable as popupmenu

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.