[sw-issues] [Issue 106163] wrong sorting result for paragraphs in Writer (long text)

2009-10-22 Thread hardy314
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=106163





--- Additional comments from hardy...@openoffice.org Thu Oct 22 18:02:32 
+ 2009 ---
@es: Thank you for the  part. I will try your suggested alternatives.
You are totally right with your coffee machine comparison, I was just giving OO
a quick try :) since I am using it a lot otherwise.

-
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 106163] wrong sorting result for paragraphs in Writer (long text)

2009-10-21 Thread es
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=106163


User es changed the following:

What|Old value |New value

  CC|'regina'  |'es,regina'

 Assigned to|writerneedsconfirm|mba

  Ever confirmed|  |1

  Status|UNCONFIRMED   |NEW

Target milestone|---   |OOo 3.x





--- Additional comments from e...@openoffice.org Wed Oct 21 22:08:49 + 
2009 ---
Confirmed: after some (about 10 pages) the sort restarts to "a"

My "nose" tells me that Regina is somehow right (the file is too big for the
function) but I could not find an exact correlation between the
word/line/character count and the sort restart.

I tested this also in OOO320m2 and the effect is worst than in 3.1.1.

@MBA: please take over.

@hardy314: for what I could see, yes, we have a bug and we should fix it!


Now just to help you reaching your goals and apart from "we have a bug":
manipulating a HUGE amount of *pure* text doesn't sound to me as a task for word
processor...

You could get better (and faster?) results on this using dedicated tools like
those in a Unix shell (if you work on Unix) or using "Cygwin" (please google for
it! ;) ) on Windows.

The answer to your needs would be:

sort -d Babel-Franz-Deutsch_2.txt > Babel-Franz-Deutsch_3.txt

If you'd ask for coffee, I'd advice you a coffee machine. Not OOo! ;)


-
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 106163] wrong sorting result for paragraphs in Writer (long text)

2009-10-21 Thread regina
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=106163


User regina changed the following:

What|Old value |New value

  CC|''|'regina'

Keywords|  |oooqa





--- Additional comments from reg...@openoffice.org Wed Oct 21 21:31:48 
+ 2009 ---
The text has more than 65536 lines. You should sort it in parts.

-
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 106163] wrong sorting result for paragraphs in Writer (long text)

2009-10-21 Thread hardy314
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=106163





--- Additional comments from hardy...@openoffice.org Wed Oct 21 20:18:22 
+ 2009 ---
Created an attachment (id=65522)
long txt file to show the sorting bug in writer (dictionary lines, zipped)


-
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 106163] wrong sorting result for paragraphs in Writer (long text)

2009-10-21 Thread hardy314
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 
+ 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