Review Request 113124: MouseEventListener: Don't process event from children multiple times.

Nicolás Alvarez nicolas.alvarez at gmail.com
Mon Nov 18 23:39:16 UTC 2013



> On Oct. 31, 2013, 12:27 p.m., Kevin Funk wrote:
> > Bump. Can we have this fixed soonish? Nicolas, can you push?
> 
> Kevin Funk wrote:
>     Bump again -- Without this fix, controlling volume in KMix via the mouse wheel is close to impossible. Can someone push?
> 
> Nicolás Alvarez wrote:
>     See https://bugs.kde.org/show_bug.cgi?id=316546#c21

It turns out the bug(s) I saw related to mouse click events happen even without this patch (I can't believe I didn't test that), so this patch doesn't make things any worse in that aspect, *and* it fixes the mouse wheel problem in KMix. Pushing now.


- Nicolás


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113124/#review42747
-----------------------------------------------------------


On Oct. 6, 2013, 4:36 p.m., Nicolás Alvarez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113124/
> -----------------------------------------------------------
> 
> (Updated Oct. 6, 2013, 4:36 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Bugs: 316546
>     http://bugs.kde.org/show_bug.cgi?id=316546
> 
> 
> Repository: kde-runtime
> 
> 
> Description
> -------
> 
> MouseEventListener: Don't process event from children multiple times.
> 
> If an event passed through multiple visually-overlapping children of
> MouseEventListener, the event filter was processing the event every time.
> For example, this caused problems for the KMix icon in the tray, which
> would trigger volume changes three times for every mouse wheel event.
> 
> BUG:316546
> 
> 
> Diffs
> -----
> 
>   plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp 36530e075dc52348f32032c32457a090b904c3b9 
> 
> Diff: http://git.reviewboard.kde.org/r/113124/diff/
> 
> 
> Testing
> -------
> 
> The KMix problem is gone, each mouse wheel step now changes the volume by the appropriate amount.
> 
> 
> Thanks,
> 
> Nicolás Alvarez
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20131118/e2cfb6dd/attachment.html>


More information about the Plasma-devel mailing list