Bug 159822 - Selecting the contents of all cells in a table and pressing DEL will delete the table instead of its contents
Summary: Selecting the contents of all cells in a table and pressing DEL will delete t...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.2.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ImpressDraw-Tables
  Show dependency treegraph
 
Reported: 2024-02-21 13:43 UTC by Rafael Lima
Modified: 2024-02-21 15:59 UTC (History)
1 user (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 2024-02-21 13:43:22 UTC
In Impress, if you select all cells of a table and press Delete, the entire table object is deleted instead of only deleting the selected contents.

Steps to reproduce:
1) Create a blank Impress document
2) Insert a 4x4 table in the presentation (the size could be different)
3) Add some content to the table
4) Select all cells in the table using the mouse
5) Press Delete. The table will be removed instead of removing only the contents of the selected cells.

Notice that in Writer, the same steps will result in deleting the contents of the table, instead of the table itself.

Happens in

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 4:7.6.4-0ubuntu0.23.10.1
Calc: threaded
Comment 1 Rainer Bielefeld Retired 2024-02-21 15:59:24 UTC
Already REPRODUCIBLE in DRAW with

Version: 7.2.5.2 (x64) / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL

Version: 7.2.5.2 (x64) / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL

Was still ok with
Version: 7.0.0.1 (x64)
Build ID: 04ba7e3f1e51af6c5d653e543a620e36719083fd
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: CL

Addtional ℹ️️
-------------
a) I think DRAW is the more general Component
b) Not limited to <Del>, same with <Backspace> and 
   Menu ˋEdit → Cutˊ
c) No DUPs found with Query <https://bugs.documentfoundation.org/buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=DUPs159822&sharer_id=19321>