Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt5.6: Clicking on Scroll bars seems to also click widgets behind them
Forum Update on Monday, May 27th 2025

Qt5.6: Clicking on Scroll bars seems to also click widgets behind them

Scheduled Pinned Locked Moved Unsolved General and Desktop
scrollbar
2 Posts 1 Posters 820 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • cgripeosC Offline
    cgripeosC Offline
    cgripeos
    wrote on last edited by
    #1

    Hello,

    Clicking on Scroll bars seems to also pass the "mouse click" event to the widgets behind them.

    Not sure if this is a bug or defined behavior.

    When I click on a scroll bar to scroll around a widget, I'd like the mouse click event to stop and get consumed by the the scroll bar element only.

    Is there a way to prevent the event from being passed to widgets behind it?

    Thanks in advance for any help!

    1 Reply Last reply
    0
    • cgripeosC Offline
      cgripeosC Offline
      cgripeos
      wrote on last edited by
      #2

      See https://bugreports.qt.io/browse/QTBUG-49549

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved