Bug 88454 - EDITING: Erroneous Behaviour of Selection Modes “Extended” and “Block” in Documents with tables
Summary: EDITING: Erroneous Behaviour of Selection Modes “Extended” and “Block” in Doc...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-15 11:03 UTC by Harald Koester
Modified: 2015-01-17 14:19 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Harald Koester 2015-01-15 11:03:56 UTC
There are remarkable differences of behaviour between the selection modes “normal” and “add” on the one side and “Extend” and “Block” on the other side in documents with tables. To my opinion the behaviour in the modes “Extend” and “Block” are not correct and should be equal to the other modes. 

Steps in order to reproduce the bug:

[1] Create new text document.
[2] In the status bar select “Extending selection” or “Block selection”.
[3] Insert table: Table > Insert > Table...: A table with 1 column and 1 row is inserted. Expected: Opening of “Insert Table” dialogue. 
[4] Move cursor to selection icon in the status bar. A tip is displayed: “Standard selection”. So the selection mode has been changed by the insertion of the table. Expected: No change of selection mode.
[5] Click somewhere below the table: The cursor is still in the table: Expected: Cursor directly below table.
[6] Undo insertion of table. Selection mode is still “Standard”.
[7] Insert table again: A table with 1 column and 1 row is inserted. Expected: Opening of “Insert table” dialogue.
Comment 1 Beluga 2015-01-17 14:19:31 UTC
Something is fishy with this, it's true.
4.5 alpha crashed for me several times, when inspecting the selection mode either by clicking or hovering. This was after I created the table.
Extended was already selected the first time I clicked, btw.

I could not get 4.3.3 to crash. Or 4.5 Windows.

Also, the tooltip might display Standard, but when I clicked, the selection menu showed Extended. Or even Adding, if I had selected it at some point!

I also observed, that if I as much as click to see the selection type and then insert table, the table dialog does not appear. This can be observed already with 3.3.0, although it has a different display of selection modes.

It's also true that one cannot click the cursor below the "weird table".

I'm setting to inherited from OOo because the weird table is inserted with it already.

Crash msg from 4.5 on Ubuntu:
soffice.bin: /home/buildslave/source/libo-core/sw/source/core/bastyp/bparr.cxx:86: BigPtrEntry* BigPtrArray::operator[](sal_uLong) const: Assertion `idx < nSize' failed.

Tested on:
Win 7 Pro 64-bit Version: 4.5.0.0.alpha0+
Build ID: 5f6bdce0c0ac687f418821ce328f2987bf340cda
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-01-17_01:06:46

Ubuntu 14.10 64-bit Version: 4.5.0.0.alpha0+
Build ID: 0ffa3abc7d6c0437ece30cfb1430d28ffcc9f5c1
TinderBox: Linux-rpm_deb-x86_64@46-TDF-dbg, Branch:master, Time: 2015-01-15_22:47:16

Version: 4.3.3.2
Build ID: 430m0(Build:2)

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.