Bug #5261 Tabsheet numbering sequence
Submitted: 27 Aug 2004 18:23 Modified: 3 Nov 2004 12:29
Reporter: Neil Jackson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.05-alpha OS:Windows (Win XP Pro)
Assigned to: Michael G. Zinner CPU Architecture:Any

[27 Aug 2004 18:23] Neil Jackson
Description:
Tabsheet names can get confusingly out-of-sequence or duplicated when new ones are created

How to repeat:
Create a few Tabsheets using the 'plus' button at left side of first Tabsheet's tab. Say 6.

Delete Tabsheets 2 & 3. Note how Tabsheets 4, 5 & 6 shift left to close up the gaps (as expected).

Add a couple more Tabsheets. Note how these will be numbered Tabsheets 5 & 6, despite there being Tabsheets 5 & 6 already.

Suggested fix:
My hunch is that the Tabsheets inherit their number from the position they are in the collection of Tabsheets, rather than having any bearing on what other numbers Tabsheets have been given previously. This hunch is based on the fact that if you visit 'Inline Help' when you have only Tabsheet1 to start with, and then create a new Tabsheet, it'll be given the number 3 (positional), not 2.

Solution? Index the tabsheets by their name, or allow the user to alter the given name to something of their own (and instantiate all Tabsheets with the default name of just 'Tabsheet')
[31 Aug 2004 7:36] MySQL Verification Team
Thank you for the bug report.
[3 Nov 2004 12:29] Michael G. Zinner
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html