Bug 531522 - Initial defaultsTo of colorDefinition not working
Summary: Initial defaultsTo of colorDefinition not working
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.8   Edit
Hardware: PC Windows All
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-22 05:01 EST by Stephan Bluemel CLA
Modified: 2020-06-08 09:03 EDT (History)
1 user (show)

See Also:


Attachments
Example Project to reproduce bug (2.13 KB, application/x-zip-compressed)
2018-02-22 05:14 EST, Stephan Bluemel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Bluemel CLA 2018-02-22 05:01:19 EST
The following colorDefinition fails to initialize the default value correctly:

<extension
         point="org.eclipse.ui.themes">
      <colorDefinition
            categoryId="org.eclipse.jdt.ui.presentation"
            defaultsTo="org.eclipse.ui.workbench.INACTIVE_UNSELECTED_TABS_COLOR_START"
            id="my.color"
            isEditable="true"
            label="My color">
      </colorDefinition>
</extension>

When starting an eclipse instance with a plugin containing this definition the color defaults to black (0,0,0).

When clicking the "Reset" Button for this color (under "Appreance/Colors and fonts"), the default is set as expected.
Comment 1 Stephan Bluemel CLA 2018-02-22 05:14:04 EST
Created attachment 272809 [details]
Example Project to reproduce bug
Comment 2 Eclipse Genie CLA 2020-06-08 09:01:19 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Andrew Obuchowicz CLA 2020-06-08 09:03:21 EDT
IMO if this bug is still present, it's worth investigating into.