Bug 149313 - [Toolbar] Zoom Percentage and Screen Resolution
Summary: [Toolbar] Zoom Percentage and Screen Resolution
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: 2.2   Edit
Assignee: Anthony Hunter CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 97522
Blocks:
  Show dependency tree
 
Reported: 2006-06-30 11:17 EDT by Anthony Hunter CLA
Modified: 2010-07-19 12:31 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Hunter CLA 2006-06-30 11:17:44 EDT
The zoom percentage selection on the top right hand side does not show if you use 800 x 600 resolution. 

It is possible to dock the Perspective bar to the left, which makes the zoom 
option visible, but this takes up an additional line on the screen.

Maybe we can detect and reduce the size of the font selection pulldown.                        

A customer raised this as a CP3 defect, so it is important to them for some reason.
Comment 1 Alex Boyko CLA 2006-07-20 14:25:14 EDT
We need to insert the same separators between our buttons as the separators between the Eclipse buttons. It is likely that there will be a lot of work involved with that.
Comment 2 Alex Boyko CLA 2006-07-28 17:21:33 EDT
It might be an Eclipse bug. There are two kinds of toolbar managers that Eclipse creates (that contain toolbar styles): view tool bar manager and just tool bar manager. The difference between them is that view tool bar manager has SWT.WRAP style on and the other one doesn't. Hence, all view toolbars (i.e. package explorer, search, console, type hierarchy view toolbars and others) have their buttons jumping on the next lines when needed. The toolbars that are added for editors are using the tool bar manager without SWT.WRAP style and therefore having their buttons cut off on upon window resizings. I think that to be able to fix this bug will have either:

1. Call actionBarPresentation.createViewToolBarManager() instead of actionBarPresentation.createToolBarManager() in org.eclipse.ui.internal.EditorActionBars

or

2. Add " | SWT.WRAP" to org.eclipse.ui.internal.presentations.DefaultActionBarPresentationFactory#createToolBarManager() 

Also note that class org.eclipse.ui.internal.presentations.DefaultActionBarPresentationFactory
has a very interesting comment at the top
Comment 3 Anthony Hunter CLA 2006-08-02 12:49:22 EDT
Moving to 2.0
Comment 4 Anthony Hunter CLA 2007-06-19 11:03:16 EDT
Moving to the next release, GMF 2.1.
Comment 5 Anthony Hunter CLA 2008-06-11 13:49:44 EDT
This is now depends on Bug 97522 since Bug 163977 was a duplicate.

In our case, a dropdown is chopped, rather than an icon, but it is the same issue.
Comment 6 Eric Moffatt CLA 2008-10-28 15:38:32 EDT
Anthony, is this still an issue? If so how can I repro it (I'll get GEF or whatever as long as it's in the undate site...;-).
Comment 7 Anthony Hunter CLA 2008-10-28 16:04:33 EDT
Yes this is still an issue.

Get one of the GEF / GMF editors and make it so that the zoom pulldown is on the right and move the perspective bar so it overlaps the zoom pulldown.

(In reply to comment #0)
> The zoom percentage selection on the top right hand side does not show if you
> use 800 x 600 resolution. 

This actually can happen at 1920x1200 in the above case, perspective bar overlaps the zoom pulldown. The pulldown should wrap and it does not.
Comment 8 Eclipse Webmaster CLA 2010-07-19 12:31:00 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug