Bug #61217 Incorrect filename displayed after opening SQL script
Submitted: 18 May 2011 20:03 Modified: 18 May 2011 20:17
Reporter: David Marwick Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.33 CE rev: 7508 OS:Windows (7 Pro 64-bit)
Assigned to: CPU Architecture:Any
Tags: filename

[18 May 2011 20:03] David Marwick
Description:
When you open a .sql file in the editor, the file name is incorrectly displayed in the tab header.

Saving the file corrects it.

How to repeat:
- Run the app, open a MySQL connection
- Open a .sql file (Ctrl+Shift+O or click "File > Open SQL Script")
- Observe that the editor tab shows the name of the file as "Query 1"
- Save the file (Ctrl+S) and the name is corrected
- Open a second file and the name will be "SQL File 1"
- Save that one and its name will be corrected
- etc

Suggested fix:
Show correct file name
[18 May 2011 20:17] Johannes Taxacher
This is a duplicate of Bug #60610