<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>412685</bug_id>
          
          <creation_ts>2019-10-07 02:15:14 +0000</creation_ts>
          <short_desc>qqc2-desktop ScrollBars should respect QStyle::SH_ScrollBar_LeftClickAbsolutePosition when clicking in the scrollbar trough</short_desc>
          <delta_ts>2020-09-26 17:37:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-qqc2-desktop-style</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=402578</see_also>
    
    <see_also>https://bugs.kde.org/show_bug.cgi?id=379498</see_also>
    
    <see_also>https://bugs.kde.org/show_bug.cgi?id=384889</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>junior-jobs</keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nate Graham">nate</reporter>
          <assigned_to name="Marco Martin">notmart</assigned_to>
          <cc>bugseforuns</cc>
    
    <cc>kde</cc>
    
    <cc>kde</cc>
          
          <cf_commitlink>https://invent.kde.org/frameworks/qqc2-desktop-style/commit/7b7946e110afae7b2364fa46c2cb874f2e501204</cf_commitlink>
          <cf_versionfixedin>5.75</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1884001</commentid>
    <comment_count>0</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2019-10-07 02:15:14 +0000</bug_when>
    <thetext>Bug 402578 changed the click-in-the-scroll-trough behavior to match the current QWidgets default, but ideally we should respect the style hint so that when Bug 379498 gets fixes, all the scrollbars instantly react accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884088</commentid>
    <comment_count>1</comment_count>
    <who name="Kai Uwe Broulik">kde</who>
    <bug_when>2019-10-07 08:11:41 +0000</bug_when>
    <thetext>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(&quot;scrollToClickPosition&quot;) in the MouseArea of ScrollBar.qml and then jump to position like when doing a middle mouse click.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1953256</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-08-26 17:48:02 +0000</bug_when>
    <thetext>*** Bug 425825 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1960303</commentid>
    <comment_count>3</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2020-09-26 15:07:43 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/31</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1960352</commentid>
    <comment_count>4</comment_count>
    <who name="Bharadwaj Raju">bharadwaj.raju777</who>
    <bug_when>2020-09-26 17:36:40 +0000</bug_when>
    <thetext>Git commit 7b7946e110afae7b2364fa46c2cb874f2e501204 by Bharadwaj Raju.
Committed on 26/09/2020 at 14:57.
Pushed by ngraham into branch &apos;master&apos;.

Respect scrollbar click to jump to position setting

Checks style.styleHint(&quot;scrolltoClickPosition&quot;) 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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>