Summary: | qqc2-desktop ScrollBars should respect QStyle::SH_ScrollBar_LeftClickAbsolutePosition when clicking in the scrollbar trough | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-qqc2-desktop-style | Reporter: | Nate Graham <nate> |
Component: | general | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | bugseforuns, kde, kde |
Priority: | NOR | Keywords: | junior-jobs |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=402578 https://bugs.kde.org/show_bug.cgi?id=379498 https://bugs.kde.org/show_bug.cgi?id=384889 |
||
Latest Commit: | https://invent.kde.org/frameworks/qqc2-desktop-style/commit/7b7946e110afae7b2364fa46c2cb874f2e501204 | Version Fixed In: | 5.75 |
Sentry Crash Report: |
Description
Nate Graham
2019-10-07 02:15:14 UTC
Sounds like a simple change to qqc2-desktop-style: That attribute is already exposed via KQuickStyleItem::styleHint, so effectively one would just need to check style.styleHint("scrollToClickPosition") in the MouseArea of ScrollBar.qml and then jump to position like when doing a middle mouse click. *** Bug 425825 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/31 Git commit 7b7946e110afae7b2364fa46c2cb874f2e501204 by Bharadwaj Raju. Committed on 26/09/2020 at 14:57. Pushed by ngraham into branch 'master'. Respect scrollbar click to jump to position setting Checks style.styleHint("scrolltoClickPosition") and respects the behaviour set (whether clicking on a scroll bar position should move a page up/down or jump to that absolute position) M +14 -5 org.kde.desktop/ScrollBar.qml https://invent.kde.org/frameworks/qqc2-desktop-style/commit/7b7946e110afae7b2364fa46c2cb874f2e501204 |