Bug #6450 List index out of bounds when copying to another tab
Submitted: 5 Nov 2004 4:12 Modified: 5 Nov 2004 7:55
Reporter: Third Santor Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.0.7 beta OS:Windows (XP SP1)
Assigned to: CPU Architecture:Any

[5 Nov 2004 4:12] Third Santor
Description:
I encounter a list index out of bounds error everytime I copy at least three (3) lines of text from the query box of QB into another tab. When the message comes out, the application hangs for about 10 seconds then it terminates.

The exact error message states:

"The following exception occured:

List index out of bounds (1)"

Note: This doesn't happen when I don't use ctrl+a for selecting the text.

How to repeat:
1. type at least three (3) lines of text to the query box say
    a
    b
    c
2. press ctrl+a to select all the text.
3. then copy the selected text.
4. open a new tab.
5. An error window comes out.

or

1. type at least three (3) lines of text to the query box say
    a
    b
    c
2. open a new tab.
3. go back to the previous tab.
4. press ctrl+a to select all the text.
5. then copy the selected text.
6. focus again to the new tab.
7. An error window comes out.
[5 Nov 2004 7:55] MySQL Verification Team
Hi,

Thank you for the report, but I can't repeat it with MySQL Query Browser 1.1.0
[5 Nov 2004 8:02] Third Santor
i guess it works with later versions. i'm having problem only with 1.0.7 beta. i'll try to download the latest and i'll update you.
[5 Nov 2004 8:07] Third Santor
ok, i downloaded the 1.1.0 gamma version and the error was gone. thanks.