Bug 100772 - Draw/Impress: "Delete Table" in context menu and toolbar
Summary: Draw/Impress: "Delete Table" in context menu and toolbar
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Justin L
URL:
Whiteboard: target:7.1.0
Keywords: needsDevEval
: 118721 (view as bug list)
Depends on:
Blocks: ImpressDraw-Toolbars Context-Menu
  Show dependency treegraph
 
Reported: 2016-07-05 12:56 UTC by Samuel Mehrbrodt (allotropia)
Modified: 2020-07-08 09:14 UTC (History)
6 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 Samuel Mehrbrodt (allotropia) 2016-07-05 12:56:27 UTC
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".
Comment 1 Buovjaga 2016-07-16 17:16:56 UTC
Yeah, that would be great -> NEW
Comment 2 Buovjaga 2017-05-07 16:18:54 UTC
(In reply to Samuel Mehrbrodt (CIB) from comment #0)
> Currently one can only delete a table by selecting the object and pressing
> "Del".

Actually not, bug 90518
Comment 3 Buovjaga 2018-07-15 17:57:49 UTC
*** Bug 118721 has been marked as a duplicate of this bug. ***
Comment 4 andreas_k 2019-04-18 06:50:02 UTC
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?
Comment 5 andreas_k 2019-04-18 06:54:22 UTC
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.
Comment 6 Maxim Monastirsky 2019-05-01 23:06:51 UTC
(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.
Comment 7 Justin L 2020-07-03 09:05:53 UTC
proposed fix at https://gerrit.libreoffice.org/c/core/+/97821
Comment 8 Commit Notification 2020-07-07 20:22:27 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/1e602c9c3f8dafd1e47d50c9670846fc1172700d

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:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.