Bug 579410

Summary: Blur UI during DND operation on Table widget
Product: [Eclipse Project] Platform Reporter: Bhavana Bhongale <bhavanagkwd>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: critical    
Priority: P3 CC: bhavanagkwd
Version: 4.24   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
Blur and Bold Text during drag operation none

Description Bhavana Bhongale CLA 2022-03-25 01:14:27 EDT
Created attachment 288289 [details]
Blur and Bold Text during drag operation

We have an application based on Eclipse, which contains a Table and Tree viewer. The application is dpiUnaware and we have enabled gdiScaling for the application, to reduce the blurry fonts.
More about gdiScaling - https://blogs.windows.com/windowsdeveloper/2017/05/19/improving-high-dpi-experience-gdi-based-desktop-apps/

With gdiScaling enabled, the table rows on which mouse is dragged turn bold during the drag operation and restore after the drop is completed.

The issue can be reproduced with the DND SWT sample after enabling gdiScaling for Eclipse. This can be done from the Eclipse application Properties dialog -> Compatibility -> Click on "Change High DPI settings" -> Check the "Override high DPI scaling behavior" checkbox. -> Scaling performed by: Select System(Enhanced) from the drop down. Using this setting now the scaling will be performed by Windows OS.
Comment 1 Bhavana Bhongale CLA 2022-03-25 01:22:16 EDT
Issue can be reproduced using the SWT Example Launcher -> select Drag and drop from standalone application. Before running the Example you need to launch Eclipse using the (System Enhanced) Compatibility setting.