Refresh issues in windows 8

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Refresh issues in windows 8

Postby sproc » Thu Jul 10, 2014 12:59 pm

I am using CEF for rendering web content. In Windows 8, CEF is rendering only on a portion of HWND but not on the whole window. The content gets cut(not visible) from both Bottom and Right. But this works perfectly fine in windows 7.
Any suggestions of how to resolve this?
sproc
Techie
 
Posts: 10
Joined: Wed Jun 04, 2014 12:53 pm

Re: Refresh issues in windows 8

Postby magreenblatt » Thu Jul 10, 2014 1:17 pm

What CEF version? 32-bit or 64-bit build? Are you using windowed or off-screen rendering? Are you setting any particular CefSettings/CefBrowserSettings or passing any command-line flags? Does the problem reproduce in cefclient or cefsimple?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Refresh issues in windows 8

Postby sproc » Fri Jul 11, 2014 11:05 am

After much investigation. I found out it is the issue of High-DPI. Does CEF support high dpi, if so then how to enable that?
sproc
Techie
 
Posts: 10
Joined: Wed Jun 04, 2014 12:53 pm

Re: Refresh issues in windows 8

Postby magreenblatt » Fri Jul 11, 2014 11:12 am

sproc wrote:After much investigation. I found out it is the issue of High-DPI. Does CEF support high dpi, if so then how to enable that?

That depends on what CEF version you're using.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Refresh issues in windows 8

Postby sproc » Fri Jul 11, 2014 12:03 pm

I am using "cef_binary_3.1750.1738_windows64.7z" downloaded from http://www.magpcss.net/cef_downloads/. How will I enable High DPI support in this?
sproc
Techie
 
Posts: 10
Joined: Wed Jun 04, 2014 12:53 pm

Re: Refresh issues in windows 8

Postby magreenblatt » Fri Jul 11, 2014 12:21 pm

Check "Disable display scaling on high DPI settings" under Properties > Compatibility for the executable.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Refresh issues in windows 8

Postby sproc » Fri Jul 11, 2014 2:57 pm

Actually, my application has support for High DPI. And I am passing HWND to CEF for rendering the web content. Can't I resolve this from CEF end ? So that CEF renders this on the basis of DPI.
sproc
Techie
 
Posts: 10
Joined: Wed Jun 04, 2014 12:53 pm

Re: Refresh issues in windows 8

Postby magreenblatt » Fri Jul 11, 2014 3:02 pm

It's impossible to answer your questions without more information. Please answer the questions that I posted earlier.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 46 guests