Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 493138

Summary: Customize Perspective dialog: items on 'Action Set Availability' tab must not be rendered in disabled color
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Andrey Loskutov <loskutov>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bsd, daniel_megert, peter
Version: 4.5Flags: daniel_megert: review+
Target Milestone: 4.6 RC1   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/72232
https://git.eclipse.org/r/72231
https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=0277b09528f8d95c3a353ffa9e1dc9e5ae23d6cd
Whiteboard:
Bug Depends on: 420956    
Bug Blocks:    
Attachments:
Description Flags
Fix for the left column only none

Description Dani Megert CLA 2016-05-06 09:24:17 EDT
4.5 and beyond

Customize Perspective dialog: items on '' tab must not be rendered in disabled color.
Comment 1 Dani Megert CLA 2016-05-06 09:29:23 EDT
This got broken by fix for bug 420956.
Comment 2 Dani Megert CLA 2016-05-06 09:30:03 EDT
Fix should be trivial.
Comment 3 Andrey Loskutov CLA 2016-05-08 01:55:55 EDT
Dani, there are 3 columns on this page: left one for "Available action sets", middle one for "Menubar details", right one for "Toolbar details". All three render unavailable elements in "disabled" color. I guess you only want the left one to show all elements in standard color?
Comment 4 Eclipse Genie CLA 2016-05-08 02:13:39 EDT
New Gerrit change created: https://git.eclipse.org/r/72232
Comment 5 Eclipse Genie CLA 2016-05-08 02:13:41 EDT
New Gerrit change created: https://git.eclipse.org/r/72231
Comment 6 Andrey Loskutov CLA 2016-05-08 02:34:53 EDT
Created attachment 261537 [details]
Fix for the left column only

(In reply to Eclipse Genie from comment #4)
> New Gerrit change created: https://git.eclipse.org/r/72232

(In reply to Eclipse Genie from comment #5)
> New Gerrit change created: https://git.eclipse.org/r/72231

Dani, please chose which one you want, if you meant all 3 columns, then we need both patches, if you meant only the left column, we need only patch 72231 (this is what the attached  picture shows).
Comment 7 Brian de Alwis CLA 2016-05-08 22:24:06 EDT
*** Bug 492662 has been marked as a duplicate of this bug. ***
Comment 8 Brian de Alwis CLA 2016-05-08 22:40:26 EDT
I think he means just the first column (the "Available action sets"). Having the Menu and Toolbar columns controlled by the check state makes sense.  So +1 to 72231 from me.
Comment 9 Dani Megert CLA 2016-05-09 12:10:59 EDT
(In reply to Andrey Loskutov from comment #6)
> Dani, please chose which one you want, if you meant all 3 columns, then we
> need both patches, if you meant only the left column, we need only patch
> 72231 (this is what the attached  picture shows).

I was talking about the whole entry/line. Let me know if that is not obvious.
Comment 10 Andrey Loskutov CLA 2016-05-09 13:23:06 EDT
(In reply to Dani Megert from comment #9)
> (In reply to Andrey Loskutov from comment #6)
> > Dani, please chose which one you want, if you meant all 3 columns, then we
> > need both patches, if you meant only the left column, we need only patch
> > 72231 (this is what the attached  picture shows).
> 
> I was talking about the whole entry/line. Let me know if that is not obvious.

Dani, wjat do you mean by a "line"? Does attached picture (patch 72231) shows what you expect or not? If not, we need both patches. Could you then please add your +1 on appropriate patch(es) and here on the bug, if you want it for RC1?
Comment 12 Dani Megert CLA 2016-05-10 07:06:31 EDT
(In reply to Andrey Loskutov from comment #10)
> (In reply to Dani Megert from comment #9)
> > (In reply to Andrey Loskutov from comment #6)
> > > Dani, please chose which one you want, if you meant all 3 columns, then we
> > > need both patches, if you meant only the left column, we need only patch
> > > 72231 (this is what the attached  picture shows).
> > 
> > I was talking about the whole entry/line. Let me know if that is not obvious.
> 
> Dani, wjat do you mean by a "line"? Does attached picture (patch 72231)
> shows what you expect or not?

Yes. I never thought about the other two columns, since they are correctly enabled depending on the checkbox.

Thanks for the fix!
Comment 13 Dani Megert CLA 2016-05-12 06:41:34 EDT
Verified in eclipse-SDK-I20160511-2000-win32-x86_64.