Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320015 - new look - toolbar and persp switcher issues
Summary: new look - toolbar and persp switcher issues
Status: VERIFIED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 1.0 RC3   Edit
Assignee: Susan McCourt CLA
QA Contact: Susan McCourt CLA
URL:
Whiteboard:
Keywords:
: 320257 (view as bug list)
Depends on:
Blocks: 293481
  Show dependency tree
 
Reported: 2010-07-15 12:41 EDT by Susan McCourt CLA
Modified: 2010-07-27 13:52 EDT (History)
3 users (show)

See Also:
bokowski: review+
remy.suen: review+


Attachments
Toolbar shown for an unselected window (15.27 KB, image/png)
2010-07-15 13:30 EDT, Brian de Alwis CLA
no flags Details
tag top level windows 'topLevel' (985 bytes, patch)
2010-07-20 20:05 EDT, Eric Moffatt CLA
no flags Details | Diff
patch to renderer and new style sheets (4.78 KB, patch)
2010-07-20 21:22 EDT, Susan McCourt CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Susan McCourt CLA 2010-07-15 12:41:04 EDT
based on a 6/15 win7 screenshot review and a 7/7 multiplatform screenshot review by Linda.  These are the issues flagged that are still true (many were already fixed.)  Note I don't see that these are critical for ship, but if it's a matter of stylesheet or layout tweak for some of them, I will attempt....

- global toolbar should be 32 pixels high from top of gradient to bottom keyline
- global toolbar items should be faded to 50% opacity
- gutter space between bottom of global toolbar and top of panes should be 32 pixels high

- Mac only - why is the perspective switcher not the same as in other platforms?
Comment 1 Brian de Alwis CLA 2010-07-15 13:30:18 EDT
Created attachment 174424 [details]
Toolbar shown for an unselected window

On MacOS X, the toolbar gradient looks a bit jarring for unselected windows.  Only if we're taking requests, of course.
Comment 2 Susan McCourt CLA 2010-07-15 17:20:04 EDT
(In reply to comment #0)
> - global toolbar should be 32 pixels high from top of gradient to bottom
> keyline

It looks like this was already done.

> - gutter space between bottom of global toolbar and top of panes should be 32
> pixels high

I think this was a typo.  The mockups show 24 and that seems much more reasonable to me.  Changed stylesheets to use 24 at top and 12 (instead of 10) on sides.  we might get some complaints about 24 being too much wasted space, 18 could be a compromise if that happens.  Let's see what folks say...
Comment 3 Susan McCourt CLA 2010-07-15 17:21:23 EDT
So the remaining issues here are:

- global toolbar items should be faded to 50% opacity (Linda)
- Mac only - why is the perspective switcher not the same as in other
platforms? (Linda)
- On MacOS X, the toolbar gradient looks a bit jarring for unselected windows (Brian)
Comment 4 Susan McCourt CLA 2010-07-19 11:31:03 EDT
*** Bug 320257 has been marked as a duplicate of this bug. ***
Comment 5 Remy Suen CLA 2010-07-19 11:34:26 EDT
The top trim having more space than other trim areas seems kind of weird. It's not a huge deal for a workbench window but becomes very noticeable when working with detached windows.
Comment 6 Susan McCourt CLA 2010-07-19 11:37:10 EDT
maybe we should be using the id of the workbench window so that this doesn't happen for all trim windows.  I also want to see the overall feedback we get about having this much space for the workbench window.
Comment 7 Remy Suen CLA 2010-07-19 11:44:07 EDT
(In reply to comment #6)
> maybe we should be using the id of the workbench window so that this doesn't
> happen for all trim windows.

Yes, I think ids/tags/whatever would be an appropriate solution here.
Comment 8 Susan McCourt CLA 2010-07-20 19:40:25 EDT
Boris, OK for RC3?
This is a stylesheet-only change.  We use the IDE Window's id to ensure that the big margins are used only for workbench windows.  I rather arbitrarily chose margins of 2px for other trimmed windows (detached windows).
Comment 9 Eric Moffatt CLA 2010-07-20 20:05:48 EDT
Created attachment 174807 [details]
tag top level windows 'topLevel'
Comment 10 Boris Bokowski CLA 2010-07-20 20:28:49 EDT
+1 for making the change (but we should capture the stylesheet changes as attachments on this bug as well).
Comment 11 Susan McCourt CLA 2010-07-20 21:14:25 EDT
yes, I intend to do so.  I was getting ready to apply a patch when i realized that subsequently opened workbench windows weren't working...hence Eric's patch.  Now I'll combine it all...
Comment 12 Susan McCourt CLA 2010-07-20 21:22:23 EDT
Created attachment 174813 [details]
patch to renderer and new style sheets

Here is the complete patch.  I verified that the initial IDE Window and subsequent workbench windows have the right margins.  Detached windows have the 2px margins.
Comment 13 Susan McCourt CLA 2010-07-20 21:23:11 EDT
Remy, can you review?  (it felt like cheating to ask Eric since he did the code part...)
Comment 14 Remy Suen CLA 2010-07-20 21:31:04 EDT
Looks good to me.
Comment 15 Susan McCourt CLA 2010-07-21 12:01:25 EDT
committed to HEAD >201000721.(In reply to comment #3)

I'd like to mark this fixed since something went in for RC3 and I've opened individual bugs for remaining issues:

> So the remaining issues here are:
> 
> - global toolbar items should be faded to 50% opacity (Linda)
bug 320527

> - Mac only - why is the perspective switcher not the same as in other
> platforms? (Linda)
> - On MacOS X, the toolbar gradient looks a bit jarring for unselected windows
> (Brian)

bug 320528
Comment 16 Susan McCourt CLA 2010-07-27 13:52:01 EDT
verified on Win7, Build id: I20100726-2152