Page MenuHomePhorge

Fix freeze when use scroll bar
Changes PlannedPublicDraft

Authored by nannanko on Sat, Jun 20, 8:01 AM.

Details

Reviewers
tusooa
Group Reviewers
O1: the Kazv Project
Summary

Fix freeze when use scroll bar.

Type: fix

Test Plan

Open a room with enough events, drag the scroll bar and verify that the kazv don't freezes.

Diff Detail

Repository
rK kazv
Branch
nannanko/scroll-freeze
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 635
Build 1252: Invoke BuildbotBuildbot build #1880
Build 1251: arc lint + arc unit

Event Timeline

scrollBar.size has a minimum of 0.05; use the actual size to rescale position

Harbormaster returned this revision to the author for changes because remote builds failed.Sat, Jun 20, 9:05 AM
Harbormaster failed remote builds in B635: Diff 978!
src/contents/ui/RoomPage.qml
149

Add comments on why this fixes the problem

149–173

Need to implement onIncreaseAction and onDecreaseAction, otherwise accessibility tools cannot function on this scroll bar:

https://doc.qt.io/qt-6/qml-qtquick-accessible.html#increaseAction-signal