mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:03:39 +00:00
[DO NOT MERGE] Onboarding views + OpenGL #126
No reviewers
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml!126
Loading…
Reference in a new issue
No description provided.
Delete branch "pr124/0601.opengl"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR is for testing purpose only to provide designers with CI built binaries for supported platforms.
It combines bitcoin-core/gui-qml#33 and bitcoin-core/gui-qml#124.
Observations:
Note: These are the things I observed while running the app. They are not intended as a set of suggestions for any specific PR.
Of the onboarding views:

OptionButtonswitches only when they are tapped at the border. Without touching the edge, taping in the center does not change the selectedOptionButton.@shaavan thank you for testing on android, that's actually one thing we wanted to quickly confirm about the current master branch in general. Seems like this should be feedback on #124 in consideration of mobile devices.
This, in considersation of this repo, is about fixing the stuttering issues by moving from 2d rendering to opengl rendering. Please also test on desktop comparing this branch and master to see if there's a considerable difference in how things are rendered in switching through pages + resizing the window
Yes. And AFAIK, fixing the layout according to the design guide (for example, using max-width instead of width) shall fix most of these issues. I shall soon update PR #124 with the layout set.
I shall soon post my observation regarding this.
I could not observe any visible improvement on my desktop using OpenGL.Specification:
Ubuntu 22.04 with Qt version 5.15.3
Demo:
Edit 1:
For the above testing, I dynamically built the PR. It is possible that the PR might not have been built correctly. I will try building this PR with static builds to see if I observe any difference in the smoothness and rendering of the GUI.
Edit 2: This comment has been outdated. See this review for a better analysis of the PR.
Do logs confirm OpenGL usage?
I could not find any statement while configuring that talks about using OpenGL.
However, I found a seemingly relevant statement in the debug.log
I used the dynamic build for building this PR. Let me give a try building with static builds as well.
I successfully compiled this PR by doing a static build using depends.
System Specification:
Ubuntu 22.04 with Qt version 5.15.3
Steps used to compile
From
../gui-qmlfolderI observed considerable improvements with using OpenGL Rendering over 2-D Rendering.
Demo:
Concept ACK
I have tested this and compared to master using static builds. There is a huge difference, as expected. I am not including a video demonstration as I'm not sure it would accurately convey the difference due to compression and file size limit constraints.
OpenGL support is needed for implementing several UI elements as specified in the design files, it's widely superior to 2d rendering for general UI fluidity, and is needed for proper wayland support.
This can be closed now