We should have a "Delete Table" entry in the Draw/Impress table context menu and toolbar, as we have in Writer.
Currently one can only delete a table by selecting the object and pressing "Del".
Yeah, that would be great -> NEW
(In reply to Samuel Mehrbrodt (CIB) from comment #0)
> Currently one can only delete a table by selecting the object and pressing
Actually not, bug 90518
*** Bug 118721 has been marked as a duplicate of this bug. ***
DeleteTable is already in the draw/impress context menu available, but didn't show in the UI.
Can someone has an look why it wasn't shown?
The issue is simple .uno:DeleteTable is only available for sw but not for sd modules. Move the uno command to generic and this issue is solved.
(I don't know how this will work).
The context menu is already prepared to show DeleteTable when it's available.
(In reply to andreas_k from comment #4)
> DeleteTable is already in the draw/impress context menu available, but
> didn't show in the UI.
It doesn't show in the context menu, but it does show in the customization dialog, but as a "ghost" item - w/o a label. You can see that under Table|Delete and Table Text|Delete, if you click a bit below the "Delete Column" item. There is also a similar problem with some commands under Table|Size and Table Text|Size. A quick fix might be to move these commands to GenericCommands.xcu, so at least they will have a label in the dialog. But better to not add commands that don't work in the first place.
proposed fix at https://gerrit.libreoffice.org/c/core/+/97821
Justin Luth committed a patch related to this issue.
It has been pushed to "master":
tdf#100772 sd: add uno:DeleteTable to non-NB menus
It will be available in 7.1.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:
Affected users are encouraged to test the fix and report feedback.