Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.13.0
-
None
-
Linux/EGLFS Platform Plugin on Raspberry Pi 4
Qt 5.13.0
Distro: Yocto-based Custom Linux Distro
Description
Hi, I am trying to implement a touch-screen safe version of quicknanobrowser in which I want to have a scroll bar that is wide in width. I have created a webenginescript for this regard and I successfully am able to display my custom scrollbar on a Linux PC with X11 backend.
However, the same code does not work for the Linux/EGLFS Platform Plugin on Raspberry Pi 4. There is also no debug information displayed related to it. I am using Qt 5.13.0 on both devices.
The code on top of quicknanobrowser example is as follows:
main.qml file
WebEngineView
...
userScripts: [
WebEngineScript
]
slidebar-fix.js
(function() {
css = document.createElement('style');
css.type = 'text/css';
css.id = 'SliderBarFix';
css.innerText = ' \
::-webkit-scrollbar
\
::-webkit-scrollbar-track { \
} \
::-webkit-scrollbar-thumb
\
::-webkit-scrollbar-corner
\
::-webkit-scrollbar-button
'; document.head.appendChild(css); }
)()
I would like to get expert help regarding this issue. Maybe webkit features are not activated with eglfs plugin? Any suggestion will help me greatly. Thank you in advance.