OSX: Browser component does not resize with window

Having problems with building or using the JCEF Java binding? Ask your questions here.

OSX: Browser component does not resize with window

Postby a3li » Thu Jul 23, 2015 4:03 am

Heya,

Trying the current binary distribution (jcef_binary_3.1750.1738.91_macosx64), the browser component does not resize when resizing the window, it rather stays at the size it was initially rendered with.
When resizing the window, it is stuck to the lower-left corner of the window, as seen in the bundled demo app: http://puu.sh/j9EzC/45320147cf.png

I've tried on several machines with both a 1.7_80 and a 1.8.0_45 JDK on OSX 10.10, none working. (I did try the Windows version as well where this seems to work just fine)

I'd appreciate any pointers on debugging/fixing this, maybe filing a bug is (more) appropriate? Thanks.
a3li
Newbie
 
Posts: 2
Joined: Wed Jul 22, 2015 4:05 am

Re: OSX: Browser component does not resize with window

Postby magreenblatt » Thu Jul 23, 2015 10:16 am

That version is quite old. You can build the new version yourself as described at https://bitbucket.org/chromiumembedded/ ... uilding.md. Note that you may run into https://bitbucket.org/chromiumembedded/ ... issues/166 with the new version.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: OSX: Browser component does not resize with window

Postby a3li » Thu Jul 23, 2015 11:02 am

Ah yes, in the newer version, resizing works; however I did indeed run into bug 166.

I tried the suggested fix for said bug and can confirm it no longer works. Is there anything that I can do to help fix this, so that we can have resizable and other colors as well? ;)
a3li
Newbie
 
Posts: 2
Joined: Wed Jul 22, 2015 4:05 am

Re: OSX: Browser component does not resize with window

Postby magreenblatt » Wed Jul 29, 2015 3:03 pm

Issue #166 is now fixed.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 138 guests