anmar7889 / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

Windows: Layout is wrong on initial window creation if hi-dpi is enabled #1445

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Windows 8.1 64-bit running on MacBook Pro Retina.

What steps will reproduce the problem?
1. Right click on cefsimple.exe, select Properties. On the Compatibility tab 
check "Disable display scaling on high DPI settings" and click OK.
2. Run cefsimple.exe.

What is the expected output? What do you see instead?
The window should layout google.com correctly. Instead, the layout is incorrect 
until the window is resized or minimized/restored.

Please use labels and text to provide additional information.
Tested incorrect with 2062+. Behaves correctly with 1650 (pre-Aura).

Original issue reported on code.google.com by magreenb...@gmail.com on 20 Nov 2014 at 8:27

Attachments:

GoogleCodeExporter commented 9 years ago
Also, the right-click context menu displays at the wrong location.

Original comment by magreenb...@gmail.com on 25 Nov 2014 at 5:58

GoogleCodeExporter commented 9 years ago
We are experiencing a similar-looking problem in our application on a 
particular machine with the following configuration:

- Windows 8.1 (Windows Surface Pro 3)
- High resolution (2160 x 1440) 
- High DPI (150% or 200%) - there appears to be no problem for 125% or below.

In each of our embedded browsers, the whole view appears to be rendering offset 
(see image).  Resizing the host window does not help and actually produces 
artefacts.

The actual DOM elements appear to be placed correctly (you can tell this by 
hovering over where the elements should be), however they are drawn in the 
wrong place.

The bug does not manifest in CEF 3.1650 but started when we upgraded to CEF 
3.1750.  

Any help gratefully received!

Original comment by ja...@thebatesons.com on 29 Jan 2015 at 11:10

Attachments:

GoogleCodeExporter commented 9 years ago
CEF is transitioning from Google Code to Bitbucket project hosting. If you 
would like to continue receiving notifications on this issue please add 
yourself as a Watcher at the new location: 
https://bitbucket.org/chromiumembedded/cef/issue/1445

Original comment by magreenb...@gmail.com on 14 Mar 2015 at 3:35