Bug #34975 Don't scroll unnecessarily
Submitted: 1 Mar 2008 22:01 Modified: 15 Mar 2008 12:53
Reporter: Tony Freixas Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.14a OS:Microsoft Windows (XP SP2)
Assigned to: CPU Architecture:Any
Tags: scrolling, UI

[1 Mar 2008 22:01] Tony Freixas
Description:
I was entering a VIEW and pressed Ctrl+S to save my changes. This caused the Physical_Schemata portion of the window to scroll to the start. The next thing I wanted to do was edit another view—unfortunately, my views were now scrolled off the visible region and I had to scroll down again to reach them.

Actually, there are probably multiple occurrences of this problem. The Layers window also scrolls up to the top on Ctrl+S. There could be other cases.

How to repeat:
Open a database schema with a lot of tables.
In the MySQL Model tab, display the schema such that the end of the table list occurs off-screen.
Create a view.
Type in something and press Ctrl+S.
The Physical Schemata region will scroll back to start.

Suggested fix:
Remember the user's state and restore it.
[3 Mar 2008 10:39] MySQL Verification Team
Thank you for the bug report. I wasn't able to repeat with a model I already
had, could you please provide pictures step by step so I can try again. Thanks
in advance.
[3 Mar 2008 16:43] Tony Freixas
I have added three screen shots to help demonstrate the problem:
  Step 1: Opened schema, scrolled to bottom of media schema and selected to edit the flat_edition VIEW. Note position of scroll bars.
  Step 2: Typed an 'x' after edition.coverImage in the VIEW.
  Step 3. Pressed Ctrl+S. Note that the schema window is now back at the top and the VIEWS are not visible.

Note captured by these screen shots: the Catalog pane and Layers pane have the same problem.
[3 Mar 2008 16:43] Tony Freixas
I mean "Not covered..." instead of "Note covered..."
[11 Mar 2008 19:08] Johannes Taxacher
This is fixed in our SVN rep. (Rev 2696) and will be in the next release. The Overview-page has been significantly improved.
[15 Mar 2008 12:53] MC Brown
A note has been added to the 5.15 changelog: 

When saving an existing model, the MySQL Model overview panel would scroll to the top of the model definition.