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

> On May 19, 2016, at 1:40 PM, Chris Gripeos <chris.grip...@harmonixmusic.com> 
> wrote:
> 
> 
> Hello,
> 
> I'm not sure if this is the right place to ask this question. 
> 
> I just noticed that when I click on a Scrollbar of a Widget, any child 
> Widgets that might be right behind the scroll bar at the position of the 
> mouse click, will also get the mouse click event. 
> 
> So, if you have a QTextEdit behind the Scrollbar and you click on the 
> Scrollbar right where the Scrollbar overlaps the QTextEdit, the QTextEdit 
> widget will come to focus. 
> 
> Is this the defined behavior? Or is it perhaps a bug?
> 
> If this is the defined behavior, is there a way to disable it so that the 
> scroll bar consumes the event and prevents it from getting passed to any 
> widgets behind it?
> 
> Thanks in advance for any help.
> 
> cg

-John Weeks
WaveMetrics, Inc.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to