Bug 569589

Summary: When OS Display scale set to 125%, open MS Word document from eclipse, word document opened externally
Product: [Eclipse Project] Platform Reporter: Hongying <zhang.hongying>
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 4.17   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
screenshot of change OS Display scale none

Description Hongying CLA 2020-12-09 11:10:35 EST
Created attachment 285004 [details]
screenshot of change OS Display scale

If OS Display scale set to 125% or 150%, open MS Word document from eclipse File -> Open menu, word document opened externally. 

Steps to reproduce:
1. Modify System Display “Scale and Layout” to 125% or 150%. 
2. Launch eclipse4.17 (or other old version of eclipse)
3. Open TaskManager, find javaw.exe process for eclipse4.17
4. Right Mouse click on javaw.exe and select “Properties” to open Properties dialog for this process
5. From “javaw.exe Properties” dialog, go to “Compatibility” tab, and click “Change high DPI settings” button.  Check “Override high DPI scaling behavior” check box, and select “System” from dropdown list. (Please see attached screenshot)
6. Click OK to close all popped up properties dialog.
7. From ecilpse4.17, do File -> Open to open a Word file with extension “.docx”, observe that word document will be opened externally.  We are expecting word document open embedded inside eclipse4.

This problem can be reproduced with eclipse 4.10, 4.16 and 4.17. We have an RCP application that contains a Viewer, where has OLE integration that allows user to embed a MSWord document inside Viewer. With above UI display scaling settings, word document was not embedded inside Viewer, but opened externally.