cefpython icon indicating copy to clipboard operation
cefpython copied to clipboard

HTML <select> element wrongly positioned in windowed mode on Linux

Open cztomczak opened this issue 8 years ago • 6 comments

Reproducible with hello_world.py, wxpython.py and cefclient examples running CEF Python v58.0 on Linux (Ubuntu 14.04). Also reported by user running Windows 7, but CEF version not provided, probably v57. It seems that it works fine on Mac.

Steps to reproduce:

  1. Run example to load Google.com
  2. Type "mozilla select element" and click first result
  3. Scroll down to the "Examples" section and click on the <select> element
  4. Options appear outside the window in the top left corner of the screen

Also reproducible with latest CEF cef_binary_3.3071.1636.g2718da5_linux64_client (cefsimple).

Reported bug upstream: https://bitbucket.org/chromiumembedded/cef/issues/2195/html-element-wrongly-positioned-in

For now a temporary solution would be to replace

cztomczak avatar Jun 15 '17 08:06 cztomczak

This tiny javascript library (20 KB) could be used to transform

cztomczak avatar Jun 21 '17 15:06 cztomczak

A follow-up on the issue. On Mac <select> boxes do work fine. I have a report by other user that it works fine on Windows 7. Also I don't see no one else reported it in CEF tracker/forum so I guess it's a rare issue and occurs only on some computers.

cztomczak avatar Jun 30 '17 15:06 cztomczak

Strange. What could be causing it to work on some systems and not others?

BrenBarn avatar Jul 08 '17 07:07 BrenBarn

@BrenBarn Do you have latest Updates installed? Does the issue reproduce on your OS in Google Chrome browser at that same version?

cztomczak avatar Jul 08 '17 10:07 cztomczak

You mean latest windows updates? I think so. I don't have Google Chrome installed, but I do have Vivaldi installed and <select> works fine in Vivaldi.

BrenBarn avatar Jul 09 '17 01:07 BrenBarn

Is there any workaround for this? I just ran into this error, and it looks like that workaround javascript is defunct now.

jgentil avatar Dec 10 '20 21:12 jgentil