Bug #44528 Changing tabs does full-screen "wobble" and redraw, spikes CPU
Submitted: 28 Apr 2009 18:34 Modified: 15 May 2009 11:23
Reporter: Benjamin Hill Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench Severity:S5 (Performance)
Version:5.1.12 5478 OS:Windows (XP SP3)
Assigned to: CPU Architecture:Any
Tags: cpu, redraw, visual

[28 Apr 2009 18:34] Benjamin Hill
Description:
This is continued from previous builds.  Every time you change tabs, the entire window below the top most menu (including the top and side toolbars) wobbles - it re-draws itself, shifts a few pixels, re-draws, shifts back, and re-draws back to the original. 

Every time it happens, the CPU usage spikes for a bit.  Slows down editing significantly, makes the program seem sluggish when it is normally just fine.  Sometimes you try to click to edit a column while it is still "wobbling" which it doesn't like, sometimes leads to a crash (less often, the wobble is 100% tho)

How to repeat:
To reproduce: Open a normally complex schema mwb file.  Double-click on a table.  

Switch between the "Table", "Columns", "Indexes", etc. tabs for the table.  Every time you change tabs, the entire window below the top most menu (including the top and side toolbars) wobbles - it re-draws itself, shifts a few pixels, re-draws, shifts back, and re-draws back to the original.  It seems to happen in sequence - perhaps some strange global debugging refresh is being triggered?  Perhaps it tries to draw between tabs?

Suggested fix:
Don't redraw, or even better, find out what is causing the pixel shift wobble and eliminate it.
[28 Apr 2009 21:06] MySQL Verification Team
Thank you for the bug report. Could you please provide the model file which cause such behavior?. I couldn't repeat for example with Sakila model. Thanks in advance.
[28 Apr 2009 21:10] Benjamin Hill
Example mdb uploaded, visible only to devs.
[29 Apr 2009 7:01] Valeriy Kravchuk
I do not see this problem even on your .mwb. Please, send informatino that Help > Syestem Info menu item gives.
[29 Apr 2009 14:01] Benjamin Hill
This is a thinkpad T42p.

MySQL Workbench OSS for Windows version 5.1.12
Cairo Version: 1.8.6
Rendering Mode: GDI Rendering
OpenGL Driver Version: Not Detected
OS: Windows XP
CPU: Intel(R) Pentium(R) M processor 1.80GHz, 1.0 GB RAM
Video adapter info:
Adapter type: ATI MOBILITY FIRE GL T2
Chip Type: ATI MOBILITY FIRE GL T2/T2e AGP (0x4E54)
BIOS String: BK-ATI VER008.011.004.014
Video Memory: 131072 KB
[15 May 2009 11:23] Susanne Ebrecht
Many thanks for writing a bug report.

Your problem is not because of a bug. It is related to your system. Please read hardware FAQ: 

http://dev.mysql.com/workbench/?page_id=30