Issue 55421 - Loop/Performance problem when table editing/formating
Summary: Loop/Performance problem when table editing/formating
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.0
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL: http://mail.olofsson.tv/table.odt
Keywords: oooqa
: 55422 55423 55424 58071 59193 (view as issue list)
Depends on:
Blocks:
 
Reported: 2005-10-03 22:21 UTC by nils_irl
Modified: 2013-08-07 14:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
crash report (8.59 KB, text/xml)
2005-10-04 02:17 UTC, aziem
no flags Details
bugdoc (11.80 KB, application/vnd.sun.xml.writer)
2006-01-25 12:52 UTC, frank.meies
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description nils_irl 2005-10-03 22:21:26 UTC
The file attached uses table extensively but when content is moved around
OpenOffice crashes or freezes up at random, This was noticable on all previous
versions too.
1. Scroll down near end.
2. using return to Shift content down.
3. OpenOffice-rc1 will freeze.
4. OpenOffice-rc1 will start recovery.
Comment 1 aziem 2005-10-04 00:21:32 UTC
*** Issue 55422 has been marked as a duplicate of this issue. ***
Comment 2 aziem 2005-10-04 00:21:50 UTC
*** Issue 55423 has been marked as a duplicate of this issue. ***
Comment 3 aziem 2005-10-04 00:22:05 UTC
*** Issue 55424 has been marked as a duplicate of this issue. ***
Comment 4 aziem 2005-10-04 02:16:34 UTC
Confirm on OOo 2.0.0 rc1 from Linux RPMs.   At first, provided instructions
produce pauses (with no significant CPU usage noticed).  Eventually enough
ENTERs produce a crash.
Comment 5 aziem 2005-10-04 02:17:04 UTC
Created attachment 30093 [details]
crash report
Comment 6 jolatt 2005-10-04 11:10:39 UTC
1. There is no file attached.
2. I don't understand, what you are doing to produce this crash.
   Describe it more detailed.
Comment 7 jolatt 2005-10-04 11:11:43 UTC
1. There is no file attached.
2. I don't understand, what you are doing to produce this crash.
   Describe it more detailed.
Comment 8 nils_irl 2005-10-04 12:56:17 UTC
heres a link to the file 
http://mail.olofsson.tv/table.odt
Comment 9 jolatt 2005-10-04 13:04:05 UTC
With the file, for which I looked under Attachements and not under URL, I can 
confirm the behaviour. Most of the time OOo freezes for a certain time using 
RETURN in a cell and sometime OOo crashes.
IMO this occurs when a end of a paragraph in a cell exceeds a page (But not 
only).
Comment 10 michael.ruess 2005-10-04 13:50:26 UTC
MRU->FME: I was not able to reproduce the problem, but a crash report has been
sent. See stack ID 268174. Maybe this puts you on track.
A similar issue is also in your intray (issue 54908), maybe they are related to
each other.
Comment 11 nils_irl 2005-10-06 23:39:10 UTC
When someone fixes this bug and it needs some testing... 
Just point me in the direction of the dev build.
Comment 12 nils_irl 2005-10-14 12:38:14 UTC
Just tested it on Openoffice2-rc2, same'ish problem.
editing of tables results in openoffice crashing or locking up.
steps...
1. open same document move tables cells width
2. OpenOffice crashes.
 
Comment 13 frank.meies 2005-10-19 14:07:57 UTC
FME: Need more time to investigate. Crash not reproducible with cws swqbf40,
which contains a couple of fixes for tables. There still seems to be a
performance issue, that after changing the table (e.g., by shifting contents or
changing cell widths), office hangs in GetTblSel() for 1-2 minutes. Set target
in agreement with MRU to "OOo 2.0.2".
Comment 14 frank.meies 2005-11-22 10:07:49 UTC
*** Issue 58071 has been marked as a duplicate of this issue. ***
Comment 15 frank.meies 2005-11-30 08:43:31 UTC
Changed title from "Crashes when table editing/formating" to "Loop/Performance
problem when table editing/formating"
Comment 16 aziem 2005-12-11 00:09:23 UTC
*** Issue 59193 has been marked as a duplicate of this issue. ***
Comment 17 frank.meies 2006-01-25 12:52:02 UTC
FME: Open attached bugdoc, go to cell d3, press enter, press backspace, wait.
After a while (1-2 min) Writer is responsive again. The reason is this:
GetTblSel, which obtains the status of the current table selection for the
ruler, contains a loop that has a loop control (nLoopMax = 100), in case the
table has not been fully formatted at the point of the status update. 10 cycles
should be enough. I cannot imagine that any further cycles will improve the result.
Comment 18 frank.meies 2006-01-25 12:52:46 UTC
Created attachment 33545 [details]
bugdoc
Comment 19 frank.meies 2006-01-25 12:56:50 UTC
FME: Fixed in cws swqbf52, tblsel.cxx rev. 1.36.98.1
Comment 20 frank.meies 2006-02-01 08:13:58 UTC
FME: Ready for QA.

re-open issue and reassign to mru@openoffice.org
Comment 21 frank.meies 2006-02-01 08:14:02 UTC
reassign to mru@openoffice.org
Comment 22 frank.meies 2006-02-01 08:14:07 UTC
reset resolution to FIXED
Comment 23 michael.ruess 2006-02-02 10:20:58 UTC
Verified fix in CWS swqbf52. Performance heavily improved.
Comment 24 michael.ruess 2006-02-22 13:35:58 UTC
Checked fix in OO 2.0.2rc2.