Bug 537499 - [HiDPI] Print margin not correct with high dpi
Summary: [HiDPI] Print margin not correct with high dpi
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.8   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-30 08:59 EDT by Fabio Zadrozny CLA
Modified: 2020-09-13 22:58 EDT (History)
4 users (show)

See Also:


Attachments
Screenshot showing issue of print margin with high dpi monitor. (105.91 KB, image/png)
2018-07-30 08:59 EDT, Fabio Zadrozny CLA
no flags Details
Not painting between columns 80 and 81, cursor is at margin, font is Inconsolata@13pt. (149.39 KB, image/png)
2020-09-13 22:55 EDT, Nitin Dahyabhai CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Zadrozny CLA 2018-07-30 08:59:15 EDT
Created attachment 275192 [details]
Screenshot showing issue of print margin with high dpi monitor.

Showing the print margin to 100 with a monitor with high dpi (with an editor with a font customized for consolas 10) makes the print margin appear in the wrong place.
Comment 1 Christian Karsch CLA 2019-02-02 03:16:46 EST
This Bug still appear on version 4.10

I use a UHD monitor and DPI-scaling of 175%
Comment 2 Niraj Modi CLA 2019-06-11 09:22:10 EDT
(In reply to Christian Karsch from comment #1)
> This Bug still appear on version 4.10
> 
> I use a UHD monitor and DPI-scaling of 175%

Quick query:
1. How are you measuring the print-margin ? I saw you used a series of '=' characters, can you share more details on this part.

2. Do you see the issue at 175% only can you try 200%. Thanks!
Comment 3 Nitin Dahyabhai CLA 2020-09-13 22:55:45 EDT
Created attachment 284118 [details]
Not painting between columns 80 and 81, cursor is at margin, font is Inconsolata@13pt.

In my case I'm measure it using the status line at the bottom of the window. This is a screenshot taken with the plain Text Editor on 4.17.0.I20200902-1800 with "-Dswt.enable.autoScale=true -Dswt.autoScale=150 -Dswt.autoScale.method=nearest". If I restart without those options, it paints in the right place, and restarting with the options makes the margin paint in the wrong place again.