To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=106163
                 Issue #|106163
                 Summary|wrong sorting result for paragraphs in Writer (long te
                        |xt)
               Component|Word processor
                 Version|OOo 3.1.1
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|writerneedsconfirm
             Reported by|hardy314





------- Additional comments from hardy...@openoffice.org Wed Oct 21 20:16:19 
+0000 2009 -------
I will attach a .txt document (a free dictionary wordlist) with a lot of text in
it to demonstrate the wrong sorting. It happend on WinXP (SP3) with OO 3.1.1.

This is how to reproduce the misbehavior:

- Open the attached .txt file with OO-Writer (you might need to set import
options correctly, it should display a a wordlist french - german)

- The text file is basically a dictionary, it consists of MANY paragraphs in the
following structure: 
   french word TAB german word NEW LINE
   french word TAB german word NEW LINE
   french word TAB german word NEW LINE
   ...

- Use the menu "edit" - "mark all" to mark the whole text

- use the menu "extras" - "sort"

- pick the following (useful) options: 
     key one = TRUE, column = 1, type = alphanum, order = ascending
     other keys = FALSE
     directions = lines
     separator = tab
     language = french  (or german or english, doesn't matter for the bug)
     consider capitals = NO

- now press OK to sort the whole file. What we want is many textlines that are
sorted alphabetically, according to the text before the TAB.

- result: we get a somehow sorted text file. It's difficult to see at the first
glance, what's wrong, because the file is so HUGE. But after careful inspection,
you can see that the result is totally random! :(

For example a properly sorted file should have lines starting with Z at the end
of it. Our result doesn't.

Additionally the sorting procedure results in different results if you just sort
the result of the first sorting again and again. But it does not seem to
converge to a usefully sorted file :(

I was impress at how fast OO sorts such a big file. But the wrong results soon
turned this feeling to frustration.

For me it seems to be a problem of the sorting algorithm itself, which would be
a very embarassing thing, right?

---------------------------------------------------------------------
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

Reply via email to