Bug #35407 Table box column name/data type extends outside the table at some zoom levels

Submitted: 18 Mar 2008 15:51 Modified: 10 Aug 2009 15:04
Reporter: Tony Freixas Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.15-rc OS:Windows (XP SP2)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: CHECKED, tables

[18 Mar 2008 15:51] Tony Freixas
Description:
I noticed that some of my tables have text that extends outside the table box. I tried to reproduce this with a new schema diagram, but that seemed to work OK until I started to zoom in. At some zoom levels, the text is right at the edge of the box or outside it.

I suspect that zoom algorithm for the text is different than the table boxes. Text size is often scaled in discrete steps.

How to repeat:
1. Create a new schema with one table.
2. In the diagram, add a few fields to the table. Use long names and data types, e.g. acolumnwithalongname DECIMAL(15,2).
3. Zoom in and out in small steps.

Suggested fix:
The only fix I know is to allow some padding on the box size to allow for the expansion and shrinkage of the text. I suspect that the longer the string, the more padding you need.
[18 Mar 2008 16:47] MySQL Verification Team
Thank you for the bug report. Could you please provide the model file which
presents this issue and also your video settings. Thanks in advance.
[18 Mar 2008 22:48] Tony Freixas
For the model file, see the "how to repeat" section. You can create your own in the time it takes to add a note to a bug report.

For the video settings: 1920 x 1200 display size.

-------------------------------------------------------
| Item             | Value                            |
-------------------------------------------------------
| Device Type      | Display adapters                 |
| Device Name      |                                  |
| Description      | NVIDIA GeForce 7600 GS           |
| Manufacturer     | NVIDIA                           |
| Location         | PCI bus 1, device 0, function 0  |
| Driver Provider  | NVIDIA                           |
| Driver Version   | 6.14.11.6921                     |
| Driver Date      | 12-5-2007                        |
| Status Code      | 0                                |
| Status Message   | OK                               |
-------------------------------------------------------
[18 Mar 2008 23:41] MySQL Verification Team
Thank you for the feedback.
[3 Aug 2009 17:20] Alfredo Kojima
I believe this has been fixed previously. I'm unable to repeat it anymore.
[5 Aug 2009 9:17] Johannes Taxacher
confirm, this has been improved during optimization of canvas code.
the issue does not appear in 5.1.16 anymore
[10 Aug 2009 15:04] Tony Bedford
An entry was added to the 5.1.16 changelog:

When zooming an EER Diagram, the text in a table would sometimes extend beyond the edge of the table box.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.044 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.