Bug 137462 - Impress cannot delete table
Summary: Impress cannot delete table
Status: RESOLVED DUPLICATE of bug 78326
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
7.0.2.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-13 19:38 UTC by fred4u
Modified: 2020-10-16 10:29 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screencast showing the behaviour (1.25 MB, application/octet-stream)
2020-10-15 18:00 UTC, fred4u
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fred4u 2020-10-13 19:38:49 UTC
Description:
Impress -- cannot delete table once created

Steps to Reproduce:
1.Open empty Impress presentation
2.Select Insert > Table, click OK
3.Hit Delete to attempt delete the table

Actual Results:
Table remains

Expected Results:
Table should be deleted (only table contents is deleted)


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.2.2 (x64)
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: pl-PL (pl_PL); UI: pl-PL
Calc: threaded
Comment 1 fred4u 2020-10-14 07:54:11 UTC
Repro on 6.4.6.2 (x64)
Wersja: 6.4.6.2 (x64)
Identyfikator kompilacji: 0ce51a4fd21bff07a5c061082cc82c5ed232f115
Wątki CPU: 4; System operacyjny: Windows 10.0 Build 18363; Render UI: domyślny; VCL: win; 
Ustawienia regionalne: pl-PL (pl_PL); Język UI: pl-PL
Calc: threaded
Comment 2 Timur 2020-10-15 07:15:09 UTC
No repro, Delete works. 
Do you select the table before Delete? 
Please make a screencast, like with Camstudio.
Comment 3 fred4u 2020-10-15 14:15:24 UTC
Will try to prepare Screencast.
So far I can see that I can select the table in two modes:
- one where the table stays with (default) grey cells, surrounded by selection frame (and in this case, DEL removes the table) - this one is hard to achieve

- the other one, where the entire table area becomes "ocean blue", surrounded by selection frame (where DEL does not remove the table).

Either clicking on the table edge (where the cursor changes to 4-direction arrows), or dragging with mouse around the table, selects it in the "blue" mode (where I can't delete the table).
Comment 4 fred4u 2020-10-15 18:00:04 UTC
Created attachment 166394 [details]
Screencast showing the behaviour

Initially I do insert a table into empty slide
Just after inserting I try to hit Del to delete table - no effect
Then I use "Cut" tool to delete table - no effect

Then I try to find the spot to mark the table without making it "Blue"; once manage to select it this way, I can finally delete the table.
Comment 5 QA Administrators 2020-10-16 04:29:24 UTC Comment hidden (obsolete)
Comment 6 Timur 2020-10-16 06:42:16 UTC
I would say that table can be deleted, and it's not hard to archive, so I don't confirm the bug as reported.
 
But instead of closing bug as NotABug, I'd rather confirm as documentation issue to improve current help, which doesn't explain details from Comment 3:
https://help.libreoffice.org/7.1/en-US/text/swriter/guide/table_select.html

I also add UX for input.
Comment 7 Timur 2020-10-16 06:47:34 UTC
fred4u, please See Also bugs. Even if your original problem is a duplicate, this bug better stay open for Documentation issue.
Comment 8 fred4u 2020-10-16 09:29:29 UTC
Checked the "See also" section.

Probably this is "The underlying issue is that the table can't be deleted if the table cells are selected."

That means, the way to properly select/deselect such object as a table is plain wrong.
In most cases, users expect that clicking on the frame selects the object as a whole. If one wants to select the contents of the table, it's usually "drag over table cells" operation.

And even then, it would be reasonable to delete the table if user selects EMPTY table and hits DEL.
This way, one could remove the table by using DEL two times (first one deletes contents, second one deletes table).
Now it's really tricky to "properly" select it. It's not intuitive at all. No amount of manuals will fix that, users should not have to read manuals to use simple GUI based tool, and for such a simple operation as removing an embedded object from a document.
Comment 9 Heiko Tietze 2020-10-16 09:45:36 UTC
Selecting a table seems to select all cells rather than the table: bug only if you start from the canvas, if the cursor is in a cell and you click on the frame, the table is selected, meaning no col/row shown in the Delete (context) menu but delete key works as expected. If that's true we can easily change the behavior. 

But I would make this ticket a duplicate of one of the see-also bugs.
Comment 10 Timur 2020-10-16 09:53:30 UTC

*** This bug has been marked as a duplicate of bug 78326 ***