kryskool / cefpython

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

Browser window covering other widgets in PyGTK #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Running pygtk_.py sample program included in cefpython package

What is the expected output? What do you see instead?
I expect to get the output as shown in 
https://code.google.com/p/cefpython/wiki/PyGTK
with menubar and searchentry

Instead browser window is covering other widgets in PyGTK. Image added. I 
switched of browser window resize to see whats happening

What version of the product are you using? On what operating system?
I'm Using cefpython_0.41_windows_py2.7.zip and pygtk 2.24.0 on Windows 7

Please provide any additional information below.
wxPython renders menubar and browser window correctly

Original issue reported on code.google.com by priit.a...@gmail.com on 15 Nov 2012 at 11:35

Attachments:

GoogleCodeExporter commented 9 years ago
The screenshot in wiki was made on Windows XP. I've tested pygtk_.py example a 
moment ago on Windows 7 64bit and it works fine.

What version of GTK are you using (not asking for pygtk)? It should display in 
the background command window when running pygtk_.bat. Is it the latest 2.24.10?

Did you modify pygtk_.py in any way? Specifically the OnSize() function? Or the 
way container is placed in the table?

Does the problem occur only when you resize the window? What are the exact 
steps you do?

Original comment by czarek.t...@gmail.com on 16 Nov 2012 at 9:36

GoogleCodeExporter commented 9 years ago
Thanks for quick response 

I used gtk version 2.24.0

Now I upgraded to 2.24.10 and everything looks fine. I looked into the issue 
though.
It seems there was a bug in GTK as since container.get_window().handle, that 
CreateBrowser uses, gives the ID of mainWindow not the actual container (see 
attached Image)

Original comment by priit.a...@gmail.com on 16 Nov 2012 at 11:44

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 16 Nov 2012 at 11:46