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

Bug 487462

Summary: [Win32] Content assist : Background color of selected line is missing
Product: [Eclipse Project] Platform Reporter: Olivier Masseau <maol>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert
Version: 4.5.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Bug Depends on: 421383    
Bug Blocks:    
Attachments:
Description Flags
screenshot of the bug
none
screenshot of the same problem in the history view
none
Eclipse_ContentAssist_History_with_Background_Win10_build_version_10240 none

Description Olivier Masseau CLA 2016-02-08 10:00:46 EST
Created attachment 259637 [details]
screenshot of the bug

The background color of the current selection is missing in the Content assist popup. The consequence is that it is really hard to tell what is selected.

See screenshot: The 'equals' method has been selected but the only way to know that it has been selected is the return type 'Object' that is black instead of gray.

I'm using the Classic theme. No preferences have been changed.
Comment 1 Olivier Masseau CLA 2016-02-09 06:06:07 EST
Created attachment 259649 [details]
screenshot of the same problem in the history view

I just noticed I also have this problem in the 'History' view.
See attached screenshot.
Comment 2 Niraj Modi CLA 2016-02-10 08:54:34 EST
Created attachment 259685 [details]
Eclipse_ContentAssist_History_with_Background_Win10_build_version_10240

(In reply to Olivier Masseau from comment #0)
(In reply to Olivier Masseau from comment #1)

I don't see this issue with Eclipse(4.5.1/4.6 M4 releases) using Classic theme(as selected from Eclipse preferences), tested Win10 build version 10240.
Both 'Content assist' popup and 'History' view look fine.(Sharing snapshot)

Just to narrow down on the problem, try installing latest Win10 updates.
If you continue to see the problem, please share more details on how to reproduce the problem at our end.
Comment 3 Olivier Masseau CLA 2016-02-11 03:41:25 EST
Ok, I found what causes the problem.

It happens when I apply the high dpi fix, telling windows that eclipse is not high DPI aware via a .manifest file, to be able to use it on my QHD+ display (3200x1800).
Discussion about this fix is mentionned here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=421383
Comment 4 Niraj Modi CLA 2016-07-21 09:36:53 EDT
(In reply to Olivier Masseau from comment #3)
> Ok, I found what causes the problem.
> 
> It happens when I apply the high dpi fix, telling windows that eclipse is
> not high DPI aware via a .manifest file, to be able to use it on my QHD+
> display (3200x1800).
> Discussion about this fix is mentionned here:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=421383

With latest Eclipse 4.6 release, Eclipse is now high DPI aware application and there is no need for custom steps(comment 3) for high DPI usage. Closing this bug as WONTFIX.

For more details see bug 479614.