[Libreoffice-bugs] [Bug 60732] EDITING: Writer edit - Missing text when editing

2013-02-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60732

--- Comment #16 from matta2...@gmail.com ---
Thanks for your fix.

I am wondering... what happens if you open a file with a paragraph bigger than
the limit? Is it going to be truncated (so loosing text), or is it just a
display limit?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 60732] EDITING: Writer edit - Missing text when editing

2013-02-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60732

--- Comment #19 from Michael Stahl mst...@redhat.com ---
(In reply to comment #12)
 this at least
 prevents the obvious problem that a SwPosition cannot refer to
 the index after the last character in a full String.

oops, this is actually not the case, SwPosition did not have this problem,
it seems i wasn't able to count when i wrote that.

  also,
 it no longer loops.

that benefit still exists however :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 60732] EDITING: Writer edit - Missing text when editing

2013-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60732

Michael Stahl mst...@redhat.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #12 from Michael Stahl mst...@redhat.com ---
so i've fixed the easy part of this: for some reason some of the idle
tasks loop or crash when operating on a paragraph that has the max
capacity of characters in it.  rather than figuring out why this
happens, i've decided it's better to slightly lower the limit so
the paragraph cannot fill up the String completely; this at least
prevents the obvious problem that a SwPosition cannot refer to
the index after the last character in a full String.  also,
it no longer loops.

furthermore i've added some checks to various operations in
subsequent commits to maintain the limit on editing operations.

so this should fix the regression aspect of your report.
this is of course just one aspect of the problem, but the _real_
problem of the 64k limit on paragraph content is already tracked
in bug 30668, and so the non-fixed aspects of this bug
are a duplicate of that.  hence i'll declare this bug here fixed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 60732] EDITING: Writer edit - Missing text when editing

2013-02-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60732

Michael Stahl mst...@redhat.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||mst...@redhat.com
   See Also||https://bugs.freedesktop.or
   ||g/show_bug.cgi?id=30668
 Ever confirmed|0   |1

--- Comment #7 from Michael Stahl mst...@redhat.com ---
the problem is that Writer paragraphs have a max size of 64k.

hmm... clearly LO shouldn't crash or loop when at or close to the limit.

for the more general problem of the 64k paragraph limit see bug 30668.
the general problem would be a lot of effort to fix and is
currently not being worked on because there are
lower hanging fruit elsewhere.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 60732] EDITING: Writer edit - Missing text when editing

2013-02-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60732

matta2...@gmail.com changed:

   What|Removed |Added

   Severity|normal  |major
   Priority|medium  |high

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 60732] EDITING: Writer edit - Missing text when editing

2013-02-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60732

--- Comment #1 from matta2...@gmail.com ---
Created attachment 74686
  -- https://bugs.freedesktop.org/attachment.cgi?id=74686action=edit
HTML extract

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 60732] EDITING: Writer edit - Missing text when editing

2013-02-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60732

--- Comment #2 from matta2...@gmail.com ---
Created attachment 74687
  -- https://bugs.freedesktop.org/attachment.cgi?id=74687action=edit
HTML extract - working

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 60732] EDITING: Writer edit - Missing text when editing

2013-02-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60732

matta2...@gmail.com changed:

   What|Removed |Added

  Attachment #74686|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 60732] EDITING: Writer edit - Missing text when editing

2013-02-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60732

--- Comment #3 from matta2...@gmail.com ---
Actually, LO 3.6.5.2 gets stuck in infinite loop (or something similar).

I also attach a test file to reproduce.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 60732] EDITING: Writer edit - Missing text when editing

2013-02-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60732

--- Comment #4 from matta2...@gmail.com ---
Created attachment 74692
  -- https://bugs.freedesktop.org/attachment.cgi?id=74692action=edit
Test long paragraph

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 60732] EDITING: Writer edit - Missing text when editing

2013-02-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60732

--- Comment #5 from matta2...@gmail.com ---
Steps to reproduce:
===
Just open the test file with LO/Writer.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 60732] EDITING: Writer edit - Missing text when editing

2013-02-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60732

--- Comment #6 from matta2...@gmail.com ---
Same problem (missing text) on LO 3.5.4.2 under Linux.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs