https://bugs.kde.org/show_bug.cgi?id=410672

            Bug ID: 410672
           Summary: Provide a property to control the invisible
                    click/scroll area around the slider
           Product: frameworks-qqc2-desktop-style
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Sliders allow the user to click on different parts of them to make the handle
zoom to the clicked location, or move the handle by scrolling while the cursor
is over the slider. Also, the clickable/scrollable area is bigger than the
actual slider body itself; you don't have to have the cursor right one of the
pixels for the track or the handle.

In certain circumstances, it's desirable to have this area that accepts clicks
and scrolls to be even larger than usual. In Elisa, we have a use for this: we
put the playback slider in a horizontal bar and we want to have the
clickable/scrollable area extend to the full height of the bar (See Bug 408703
for details and background). We currently implement this with a custom
mousearea and custom styling for the control itself
(https://cgit.kde.org/elisa.git/tree/src/qml/MediaPlayerControl.qml#n194) but
we realize that this is not ideal and we would like to be more
upstream-friendly.

If the slider control itself exposed a property for the invisible scroll/click
area, then we could use that and not re-implement the whole thing from scratch.

I was unsure if Qt or the desktop style was the correct place to implement
this, so please let me know if this isn't right.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to