Summary: | Switch Window mouse action does not work when assigned to “Vertical Scroll” | ||
---|---|---|---|
Product: | [Plasma] plasma4 | Reporter: | Kai Uwe Broulik <KaiUweBroulik2> |
Component: | containment-desktop | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | asraniel, chanika |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Kai Uwe Broulik
2010-11-15 18:03:33 UTC
I haven't personally tried with vertical scroll, but for me it does not work with left and middle button click. Right click is OK. What I was talking about is that if you assign Switch virtual desktops to vertical scroll, you can scroll through the windows. When assigning switch windows it does nothing and not cycle through windows. But this can also be by design, well since a restoring maximizing window would interfere with that. But scrolling should at least trigger the same menu as when clicking the middle button. it's not by design... it's code I forgot to finish, apparently. :) void SwitchWindow::wheelEvent(QGraphicsSceneWheelEvent *) { //TODO somehow find the "next" or "previous" window //without changing hte window order (don't want to always go between two windows) } it sounds like I wanted behaviour like alt-tab, but I'm not sure that would be possible with just wheel events. Is anyone interested in working on this? :) Git commit d4f7697745eecc6fe32aaab7c15d0e9977ab59f4 by Aaron Seigo. Committed on 06/12/2011 at 23:58. Pushed by aseigo into branch 'master'. implement wheel scrolling between windows BUG:256995 M +55 -2 plasma/generic/containmentactions/switchwindow/switch.cpp http://commits.kde.org/kde-workspace/d4f7697745eecc6fe32aaab7c15d0e9977ab59f4 |