Bug 81923 - EDITING: Copy/Paste/Undo can cause crash
Summary: EDITING: Copy/Paste/Undo can cause crash
Status: RESOLVED DUPLICATE of bug 81806
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: Other All
: high critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-30 16:41 UTC by Bryan Quigley
Modified: 2015-04-01 13:08 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
linux backtrace (22.58 KB, text/plain)
2014-08-05 06:46 UTC, Yousuf Philips (jay) (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Quigley 2014-07-30 16:41:41 UTC
Open document https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/64295/+attachment/18400/+files/20061006_final_pres_handout.odt

1. Put cursor at box under "Joe Selects Option A"
1. Edit -> Select All (which should select the whole table)
2. Copy
3. Put cursor at box under "Joe Selects Option A"
4. Paste
5. Undo
6. Paste
7. Undo (note how items are left)
8. Paste
9. Undo (crashes)

The cursor might also move around during the above.

This might have the same root cause as this bug:https://bugs.freedesktop.org/show_bug.cgi?id=37156 (where I got the file from).

Stack trace available here; https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1350369
Comment 1 Algot Runeman 2014-07-30 19:09:30 UTC
Test System:
Kubuntu 14.4 (KDE 4.13.2)
LibreOffice 4.2.0.2

I attempted to select just the text from the long cell below "Joe Selects Option A" by putting the cursor at the beginning of the cell text and using the cursor keys (down arrow) while holding the shift key. I was unable to select beyond "Sheila"

Starting with the cursor at the beginning of the cell, and using Ctrl+Shift+End, visually highlighted only the left justfied text, but not the lines with the right justified values.

However, The entire cell text went into the clipboard and I was able to paste all the cell text into the second column, second cell down. That text, I could then undo and paste and undo and paste repeatedly (I stopped after ten repetitions). No crash.

I am guessing that This kind of paste was the desired behavior. Pasting the whole table into one of the cells does not make sense to me. Could the issue then be one of trying to paste a whole table back into one cell with some kind of buffer problem resulting?

Bryan, Can you please attempt to confirm the intent of the copy/paste and see if your system works like mine?
Comment 2 Bryan Quigley 2014-07-30 19:52:18 UTC
There are likely a few bugs/odd behaviour here. Some are described in the other bug in the summary[37156].

That Select All selects the whole table as opposed to just what's in that cell.   The crash is reproducible by just selecting the table with the Mouse/Shift.

>Can you please attempt to confirm the intent of the copy/paste and see if your system works like mine?  / desired behavior
The intent/desire of my copy/paste was to try to find/reproduce a bug 37156.  Instead it crashed for me.  But yes, I do not have any issues if I actually copy the contents of single cells around.
Comment 3 Yousuf Philips (jay) (retired) 2014-08-05 06:45:38 UTC
Confirmed in 4.2.7 and master on Linux Mint. This reminds me of bug 81806.
Comment 4 Yousuf Philips (jay) (retired) 2014-08-05 06:46:15 UTC
Created attachment 104058 [details]
linux backtrace
Comment 5 Björn Michaelsen 2014-08-21 12:21:18 UTC
(This is an automated message.)

LibreOffice development currently prioritizes bugs with the so called MAB (most annoying bugs) -- as this bug has not run through that process (including writing a short rationale for this bug being a candidate and other who are watching the tracker bug silently approving that rationale etc.) its priority is set to high. Note this is effectively no change in the urgency assigned to this bug, as we are currently not making a difference between high and highest and severity is untouched.

You can find out more about MABs and how the process works by contacting libreoffice qa on irc:

 http://webchat.freenode.net/?channels=libreoffice-qa

The QA wiki page also gives you hints on how to get in contact with the team (if IRC fails you, your next best choice is the mailing list):

 https://wiki.documentfoundation.org/QA
Comment 6 Bryan Quigley 2014-11-20 03:26:23 UTC

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