[sw-issues] [Issue 101283] uncollapsed bookmark with zero length is self-expanding
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=101283 User mba changed the following: What|Old value |New value Target milestone|OOo 3.3 |OOo 3.4 - Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification - To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org For additional commands, e-mail: issues-h...@sw.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[sw-issues] [Issue 101283] uncollapsed bookmark with zero length is self-expanding
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=101283 User b_michaelsen changed the following: What|Old value |New value Target milestone|OOo 3.2 |OOo 3.3 --- Additional comments from b_michael...@openoffice.org Fri Aug 28 17:08:20 + 2009 --- retargeting 3.3 - Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification - To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org For additional commands, e-mail: issues-h...@sw.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[sw-issues] [Issue 101283] uncollapsed bookmark with zero length is self-expanding
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=101283 --- Additional comments from shenmu...@openoffice.org Fri Jul 17 07:31:49 + 2009 --- Created an attachment (id=63595) simplified test document; open it and save it under different name => content.xml has changed - Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification - To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org For additional commands, e-mail: issues-h...@sw.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[sw-issues] [Issue 101283] uncollapsed bookmark with zero length is self-expanding
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=101283 --- Additional comments from shenmu...@openoffice.org Fri Jul 17 07:27:16 + 2009 --- I encountered the same issue recently. The issue is particularly bad because you save a document in one state (with bookmark in front of text), you close the document, open it again and it is in a different state (text lies inside of bookmark) without you changing anything in the document. Obviously the internal state of the document and what is written in the content.xml do not correspond correctly. I attached a simplified test document below. Do the following: 1. Look at the content.xml in simplifiedSelfExpandingBookmark.odt. The important part is the following: def Notice that the text "def" comes AFTER the bookmark. 2. Open simplifiedSelfExpandingBookmark.odt in writer. 3. Save the document under a different name with "Save as.." 4. Look at the content.xml in the new document. Magically the content.xml has changed to: def So now the text "def" is INSIDE of the bookmark even though I didn't change a thing in the document before saving it again. It should be obvious why this is pretty bad, but just to iterate further consider the following example where you have a macro which looks something like this: Sub Main bookmark = ThisComponent.getBookmarks().getByName("test") bookmark.getAnchor().setString("abc") End Sub And now do the following: 1. Open a new writer document 2. Enter the text "abcdef" 3. Select "abc" 4. Insert a bookmark on "abc" using Insert->Bookmark. Name the bookmark "test". 5. Open the navigator (F5) 6. Select the bookmark "test" using the navigator. 7. Hit Del, thus deleting "abc" (The bookmark "test" is still there). 8. Save the document. We now have exactly the case shown in simplifiedSelfExpandingBookmark.odt where in content.xml the "test"-Bookmark comes before the text "def". If we now call our macro everything works as expected. The text "abc" gets inserted inside the bookmark "test", and the document now contains the string "abcdef". But if we close the document first and open it again (or just reload it with File->Reload), the macro has a different effect! It deletes the text "def" and the document now only contains the string "abc". So even though we theoretically have the exact same document the same macro does different things to it after a reload of the document (without changing anything to the document). - Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification - To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org For additional commands, e-mail: issues-h...@sw.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[sw-issues] [Issue 101283] uncollapsed bookmark with zero length is self-expanding
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=101283 User es changed the following: What|Old value |New value Assigned to|writerneedsconfirm|b_michaelsen Target milestone|--- |OOo 3.2 --- Additional comments from e...@openoffice.org Wed Apr 22 20:13:39 + 2009 --- @b_michaelsen: Please have a look. - Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification - To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org For additional commands, e-mail: issues-h...@sw.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[sw-issues] [Issue 101283] uncollapsed bookmark with zero length is self-expanding
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=101283 --- Additional comments from cl...@openoffice.org Wed Apr 22 16:56:08 + 2009 --- Created an attachment (id=61736) the document with the self-expanding bookmark - open it and select the bookmark. there is more selected than expected. - Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification - To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org For additional commands, e-mail: issues-h...@sw.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[sw-issues] [Issue 101283] uncollapsed bookmark with zero length is self-expanding
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=101283 Issue #|101283 Summary|uncollapsed bookmark with zero length is self-expandin |g Component|Word processor Version|OOo 3.0.1 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|programming Assigned to|writerneedsconfirm Reported by|clutz --- Additional comments from cl...@openoffice.org Wed Apr 22 16:55:08 + 2009 --- The attached document contains a bookmark called "WM(CMD 'insertFormValue' ID 'GABetrag')" that is NOT collapsed but has a length of zero. Behind the bookmark, there is a text "text behind". The XML-Representation of this bookmark and the text looks like this (you can see that the bookmark really ends before the text): [...]text behind[...] If you open the document in OOo and select the bookmark via navigator, the viewcursor does not point to a single position in the text (as expected) but also selects the text "text behind". The bookmark is self-expanding. - Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification - To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org For additional commands, e-mail: issues-h...@sw.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org