Bug Hunting Session
Bug 93747 - Apply style in a selected table cell leaks to another table cell
Summary: Apply style in a selected table cell leaks to another table cell
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: preBibisect, regression
Depends on:
Blocks: Styles Writer-Tables
  Show dependency treegraph
 
Reported: 2015-08-28 14:23 UTC by Pierre-Luc Rigaux
Modified: 2018-09-25 02:51 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
Here a doc that provide a visual example of the bug. (12.27 KB, application/vnd.oasis.opendocument.text)
2015-08-28 14:23 UTC, Pierre-Luc Rigaux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Luc Rigaux 2015-08-28 14:23:56 UTC
Created attachment 118245 [details]
Here a doc that provide a visual example of the bug.

In table in writer
1. Select a table cell (full cell selection, not just the text) in the second column or second row.
2. apply a style (like Header 1 or bullet).

Results

The style in the selected cell changed ... and the styles of a neighbor cell also changed (not wanted).

Expected

Only the style in the selected cell changed.
Comment 1 A (Andy) 2015-08-30 09:00:12 UTC
Reproducible with LO 5.0.1.2, Win 8.1

If I insert a 4x4 table in a new WRITER document and select the whole cell in row 2 / column 2 and change it to numbering style with the icon in the toolbar at the top then the cell in row 2 / column 1 gets also the numbering style.
To reproduce it you need to select the whole cell not only the text (as mentioned in the bug description) and you need to mark the cell from its right border to the left border (going with the mouse from the right border of the cell to the cell to the left while holding the left mouse button, then going back that not both cells are selected).  If you do it the other direction it is not reproducible.
Comment 2 raal 2015-10-29 10:46:01 UTC
Can not reproduce with Version 4.0.0.3 (Build ID: 7545bee9c2a0782548772a21bc84a9dcc583b89, win7 -> regression

I can reproduce with Version: 4.5.0.0.alpha0+
Build ID: 57d6b92b69a31260dea0d84fcd1fc5866ada7adb, win7
Comment 3 raal 2015-11-18 19:15:15 UTC
Reproducible with Version: 4.2.0.0.alpha1+
Build ID: fc8f44e82de4ebdd50ac5fbb9207cd1a59a927e3
bibisect-43max$ git checkout oldest
Comment 4 Robinson Tryon (qubit) 2015-12-14 05:32:39 UTC Comment hidden (obsolete)
Comment 5 Joel Madero 2015-12-14 20:36:04 UTC
Bodhi Moksha

Either I'm not understanding this bug correctly or I'm not able to reproduce.

Version: 5.2.0.0.alpha0+
Build ID: 5df326438fd3a5613a52b4de1935426911ff1301
Comment 6 FutureProject 2016-01-17 19:08:03 UTC
I can reproduce with the following steps:
1. Make 4x4 table in new Writer document
2. Row1 Column1 write "a"
3. Row2 Column1 write "b"
4. Press and hold left mouse button on cell with the "b"
5. Drag mouse cursor up to cell with the "a": both cells are highlighted
6. Drag mouse cursor back to cell with the "b": only cell "b" is highlighted
7. Let go left mouse button
8. On the right-hand side choose "Heading 1" in the Styles menu
9. Both cells' contents are formatted
Comment 7 FutureProject 2016-01-17 19:21:34 UTC
Regarding comment 6:

Was reproduced on:
Windows 10 Pro, Version 1511 (OS Build 10586.36)
Version: 5.0.4.2 Build ID: 2b9802c1994aa0b7dc6079e128979269cf95bc78
Locale: de-DE (de_DE)
Comment 8 Joel Madero 2016-01-17 19:33:04 UTC
Bodhi Moksha (fork of Ubuntu 14.04)
LibreOffice 3.3 - 5.2 dev

Following the instructions in comment 6 as well as a video that Raal sent me - I see the same behavior going all the way back to 3.3 (inherited from OOo). I'm updating the status.

@Raal - if you don't mind checking again to see if you can find a regression here....I followed your steps (and FutureProject's steps) exactly and I see the same behavior throughout (from 3.3 - 5.2).
Comment 9 Joel Madero 2016-01-17 19:34:31 UTC
Dangit sorry for the noise - I lied, I can see the regression....updating now (sorry again!)
Comment 10 Joel Madero 2016-01-17 19:38:47 UTC
Bodhi Moksha
Bibisect 35all package (3.5 - 4.2)

New findings:
I can confirm the problem throughout the bibisect package but 3.3 doesn't show the problem so it is a regression.
Comment 11 Xisco Faulí 2016-09-14 15:28:56 UTC
Adding 'preBibisect' keyword...
Comment 12 Xisco Faulí 2016-09-14 15:48:40 UTC
[This is an automatic message]

Changing version to 3.5.7.2 in order to get rid of 'preBibisect' version as 3.5.7.2 looks to be the last version not covered by bibisect-43all.
Comment 13 Telesto 2017-02-14 19:25:53 UTC
Still repro with:
Version: 5.4.0.0.alpha0+
Build ID: a296a69c984b17cfbcd249cf6bdc191d08dff2a6
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-02-06_00:00:55
Comment 14 Julien Nabet 2017-09-24 07:22:08 UTC
On pc Debian x86-64 with master sources updated 2 days ago or with LO Debian package 5.4.2.1, I don't reproduce this.
I retrieved the attached file and applied style "Heading 1" of the right bottom cell of first array, only the cell was changed.
Did I miss something?
Comment 15 QA Administrators 2018-09-25 02:51:46 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug