piranna / cefpython

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

context menu disappeared in pyside.py/pyqt.py #140

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I ran pyside.py/pyqt.py and clicked page with right mouse button, the context 
menu appeared but disappeared immediately!

could anyone help me solve this problem?
thanks!

Original issue reported on code.google.com by pianoboysai on 3 Oct 2014 at 12:53

GoogleCodeExporter commented 9 years ago
What OS and cefpython version? Does it not work at all or only on some websites?

Original comment by czarek.t...@gmail.com on 3 Oct 2014 at 1:24

GoogleCodeExporter commented 9 years ago
It works fine for me on Win7. Also what PyQt and QtCore version are you using?

Original comment by czarek.t...@gmail.com on 3 Oct 2014 at 1:25

GoogleCodeExporter commented 9 years ago
hi, win7 64, but I used 32bit python 2.7.8 and 
cefpython3-31.0.win32-py2.7-portable.zip
all pages are like this.

PySide==1.2.2
[pyqt.py] PyQt version: 4.11.1
[pyqt.py] QtCore version: 4.8.6

Original comment by pianoboysai on 3 Oct 2014 at 2:44

GoogleCodeExporter commented 9 years ago
Have you made any modifications to the scripts? Does this issue also occur in 
the wxpython.py and pywin32.py examples? Run cefclient.exe - does it occur 
there as well?

Original comment by czarek.t...@gmail.com on 3 Oct 2014 at 2:55

GoogleCodeExporter commented 9 years ago
no, have not any modification. 

cefclient.exe works fine!

I have no environment to test wxpython.py.

pywin32.py still suffers. 
btw: I installed ActivePython 2.7.8, and can not detect its pywin32 version.

so I patched pywin32.py code like this(otherwise it raises exception)
def GetPywin32Version():
    print win32api.__file__
    #fixed_file_info = win32api.GetFileVersionInfo(win32api.__file__, '\\')
    #return fixed_file_info['FileVersionLS'] >> 16

Original comment by pianoboysai on 3 Oct 2014 at 5:21

GoogleCodeExporter commented 9 years ago
Is anything interesting in debug.log file, any errors?

What are the items in context menu, are you able to see them for at least a 
moment? Are there any additional beside the standard ones below that are 
expected too appear?
 * Back
 * Forward
 * Reload
 * Print...
 * View Source
 * Open in external browser
 * Developer Tools

Original comment by czarek.t...@gmail.com on 3 Oct 2014 at 6:47

GoogleCodeExporter commented 9 years ago
no errors,  every item shows normally in the menu, but the menu disappeared 
immediately, and the qt window has a flash

Original comment by pianoboysai on 7 Oct 2014 at 5:26

GoogleCodeExporter commented 9 years ago
Version 31.0 adds new feature such as configuration of context menu, the 
default CEF menu is being modified. Can you please test an older version 29.4? 
That would tell us whether this is the new code that is responsible for this 
behavior. Download from here:
https://code.google.com/p/cefpython/downloads/detail?name=cefpython3-29.4.win32-
py2.7-portable.zip#makechanges

Also, have you encountered any other problems with cefpython? Can you please 
test the wxpython example? It tests many advanced features of cefpython and 
would tell us a lot more. You can download wxpython from here:
http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/wxPython2.8-win
32-unicode-2.8.12.1-py27.exe/download

Original comment by czarek.t...@gmail.com on 7 Oct 2014 at 6:44

GoogleCodeExporter commented 9 years ago
ok, I will test more later.
btw: could cefpython give a way to support flash render?

Original comment by pianoboysai on 8 Oct 2014 at 2:01

GoogleCodeExporter commented 9 years ago
This question is unrelated to this issue. Please ask questions on Forum.

Original comment by czarek.t...@gmail.com on 8 Oct 2014 at 5:52