Bug #48222 Input / output file text fields resize beyond visibility
Submitted: 22 Oct 9:05 Modified: 28 Oct 22:29
Reporter: Frank Quosdorf
Status: Verified
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:OSS 5.1.18 OS:Microsoft Windows (Vista)
Assigned to: Target Version:WB52
Triage: Needs Triage: D3 (Medium)

[22 Oct 9:05] Frank Quosdorf
Description:
- When invoking "Forward Engineer an Alter Script" for the first time after installing
Workbench, the input and output file text fields and buttons are properly displayed;
after executing and when invoking the same action another time, the file paths and names
have widened both fields beyond the size of the pop-up window. Even resizing the pop-up
window does not properly make the buttons visible (there is a limit as to how much the
window can be resized); This will not be an issue with short paths / file names, but I
use a rather long file path/name:
E:\user_name\projects\current\project_name\SVN\DEV\project_name\DATABASE\MIGRATION\CREATE\project_name_create_xx.sql
- The same issue applies to the "Forward Engineer SQL Script" pop-up window, but in this
case, the window cannot even be resized to see the button. Thus, if the file name needs
to be changed, it can only be done manually, not by picking a file.
- This is particularly annoying in conjunction with bug #48221

My laptop is equipped with a 1024 x 768 pixel display

How to repeat:
- Invoke and execute the "Forward Engineer an Alter Script" action using a long output
file path and name such as
[drive]:\user_name\projects\current\project_name\SVN\DEV\project_name\DATABASE\MIGRATION\CREATE\project_name_create_xx.sql
- Invoke the same action again, and the text fields for input and output file text fields
will have widened their size beyond full visibility (to the right) also moving the button
out of sight

Suggested fix:
The file text fields should not be resized according to file path/name length, but should
stay the same, fix size.