Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
5.9.3
-
None
-
Raspberry Pi 3 running Raspbian Jessie Lite October 2016
Qt cross compiled for opengl with eglfs ([https://wiki.qt.io/RaspberryPi2EGLFS)] to allow for multiple screen output on the pi.
Qt 5.9.3
Description
I have cross compiled Qt 5.9.3 for the Raspberry Pi 3 using EGLFS front end instead of X11. This is the case where the Qt applications run full screen on top of dispmanx/EGL using the Broadcom drivers.
All components compile correctly but there is a problem when rendering the drop down portion of select controls on a web page inside a QWegEngineView. The drop down box is positioned in the upper left corner of the display. This happens for both touch and mouse input methods.
The code to reproduce is simple, inside main:
QtWebEngine::initialize()
QWebEngineView *view = new QWebEngineView();
view->load(QUrl( - link to page - ));
view->show();
I tried the same steps on a windows build of the same version and everything worked as expected.
It is possible to reproduce the error using the W3Schools example page at the following link: https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select
To reproduce the described problem you can follow these steps:
1. Navigate to the page above on a cross compiled build targeting the Broadcom drivers.
2. Click on the drop down box on the page.
Expected result: The drop down box should appear beneath the select control on the page.
Actual result: The drop down box appears in the top left corner of the page. It is interesting to note that the input responds as if the drop down box is in the correct place, so click just beneath the select control actually selects a new value from the list. It is just the rendering of the drop down list that is in the wrong place.