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

Bug 515036

Summary: Selected day of month in due date picker is not visible
Product: [Eclipse Project] Platform Reporter: Mat Booth <mat.booth>
Component: SWTAssignee: Xi Yan <xixiyan>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ericwill, rgrunber
Version: 4.9Keywords: triaged
Target Milestone: 4.9 M2   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/125558
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=92026a06e12d118b31b3cea7fd4d86c877f3acbb
Whiteboard:
Attachments:
Description Flags
Illustration of the problem none

Description Mat Booth CLA 2017-04-10 10:47:02 EDT
Created attachment 267729 [details]
Illustration of the problem

See attached screenshot. When creating a new local task, using the due-date picker widget, the currently selected day-of-month is not visible.

OS: linux (RHEL 7.3)
ARCH: x86_64
WS: gtk (3.14.13)

This is in a fresh install of the latest Oxygen I-build, build ID: 4.7.0.I20170409-2000

With Mylyn 3.22.0 installed from the Oxygen update site.
Comment 1 Roland Grunberg CLA 2018-07-03 10:57:22 EDT
Reproduced with Photon 4.8 and Mylyn 3.24.0.
Comment 2 Roland Grunberg CLA 2018-07-04 13:14:12 EDT
This is reproducible in the DateTime widget itself, which is actually used here.

Simply open ControlExample from SWT examples. Go to the DateTime tab and select SWT.CALENDAR from the right. Now change the background colour to red. Note how the selected day is white but there's no background for the selection itself.
Comment 3 Eric Williams CLA 2018-07-04 13:38:42 EDT
This is a question of adding the selection background when setting the DateTime's background color. Xi, please investigate.
Comment 4 Eclipse Genie CLA 2018-07-04 15:04:49 EDT
New Gerrit change created: https://git.eclipse.org/r/125558
Comment 6 Eric Williams CLA 2018-07-05 09:50:45 EDT
(In reply to Eclipse Genie from comment #5)
> Gerrit change https://git.eclipse.org/r/125558 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/
> ?id=92026a06e12d118b31b3cea7fd4d86c877f3acbb

Patch is in master, thanks Xi.