Fix dash for siebel tvs - #114
Merged
Merged
Conversation
QtWebEngine doesn't support flex gap, only grid gap
Contributor
Author
|
Link since the bot failed: https://fix-dash-for-siebel-tvs.rp-web-dash.pages.dev/ |
anandani4136
approved these changes
Sep 17, 2025
anandani4136
left a comment
Collaborator
There was a problem hiding this comment.
Your tenacity in making this a reality is truly impressive. LGTM!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First, some background.
Siebel's main giant screen has the following specs:
1920x1080 (dpr 1) - Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) KorbytPlayer/3.21.2 Chrome/114.0.5735.289 Electron/25.8.4 Safari/537.36 - Win32The tvs dotted around have the following specs:
1920x1080 (dpr 1) - BrightSign/9.0.211 (XD235) Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.15.2 Chrome/87.0.4280.144 Safari/537.36 - Linux aarch64Importantly, our dashboard renders fine on the giant screen but has issues on the tvs. This is because the tvs use (a very old, probably because they don't want to pay for a new license) QtWebEngine 5.15.2, which does not render certain things properly.
To address this, I manually installed QtWebEngine and nearly lost my mind.
Open for details
Installed from https://account.qt.io/s/archived-versions (Qt > 5.15.2 > Linux), needed to create temp account to trial.Created a simple project:
rp.pro:mainwindow.h:mainwindow.cpp:main.cpp:Importantly, needed to disable the sandbox to get anything to render. Enabling remote debugging allowed me to use the oldest chrome console I've ever seen (you have to double click to open elements, crazy)
Finally, I was able to reproduce what was going on which would have taken forever otherwise.
This pr addresses the issues I found by:
box-sizing: border-boxfixes thatAlso, I added an explicit timezone but I have a suspicion that the tv's actual time is just off, so we'll see.
Before:

Notice the scrollbars, which explains why everything seemed "zoomed in"
Now:
