Bug 537896 - [HiDPI][GTK] SWT to receive/handle DPI change notification from OS
Summary: [HiDPI][GTK] SWT to receive/handle DPI change notification from OS
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.6   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 4.14 M1   Edit
Assignee: Eric Williams CLA
QA Contact:
URL:
Whiteboard: RHT
Keywords: plan, triaged
Depends on:
Blocks: 538342 534820
  Show dependency tree
 
Reported: 2018-08-13 05:59 EDT by Lakshmi P Shanmugam CLA
Modified: 2019-10-25 09:40 EDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lakshmi P Shanmugam CLA 2018-08-13 05:59:30 EDT
+++ This bug was initially created as a clone of Bug #515502 +++

Tutorial: Writing High-DPI Win32 Applications
https://msdn.microsoft.com/en-us/library/windows/desktop/dd464659%28v=vs.85%29.aspx

As per above MSDN there is a event notification 'WM_DPICHANGED' sent to applications with SetProcessDpiAwareness set to 'PROCESS_PER_MONITOR_DPI_AWARE'.

SWT needs above mechanism to be in place, to start receive the DPI change notification from OS and then re-layout accordingly.
Comment 2 Eric Williams CLA 2019-10-04 14:33:44 EDT
(In reply to Eclipse Genie from comment #1)
> Gerrit change https://git.eclipse.org/r/150608 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/
> ?id=b611c641f66406730e0b9fd0ad5e6774606415bd

In master now.
Comment 3 Eric Williams CLA 2019-10-08 13:36:21 EDT
Verified in I20191008-0600.