Bug 304248

Summary: Wheel operations on title bar not functional
Product: [Plasma] kwin Reporter: Martin Flöser <mgraesslin>
Component: auroraeAssignee: Martin Flöser <mgraesslin>
Severity: normal CC: charles.v.wright, kwin-bugs-null
Priority: NOR Keywords: regression
Version: 4.8.97   
Target Milestone: 4.9.1   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.9.1

Description Martin Flöser 2012-07-29 16:28:16 UTC
Wheel operations are not functional in Aurorae 3.

Steps to reproduce:
1. Select an Aurorae theme
2. Configure a wheel operation for titlebar, e.g. change opacity
3. Use Mouse wheel on Titlebar

Expected behavior:
Mouse wheel events are accepted, opacity changes

Actual behavior:
Comment 1 Martin Flöser 2012-08-02 08:49:37 UTC
Git commit 0f329beb522e77846989477f0c66b4df8459ab1d by Martin Gräßlin.
Committed on 30/07/2012 at 20:00.
Pushed by graesslin into branch 'KDE/4.9'.

Install event filter on Aurorae Decoration to handle WheelEvents

Unfortunately QtQuick 1 does not provide a way to receive Wheel
events. But the window decoration needs to pass wheel events on
the titlebar to KWin core.

In order to process also Wheel Events in Aurorae an event
filter is installed on the widget and in case the mouse positon
is on the title bar the titlebarMouseWheelOperation is invoked.
FIXED-IN: 4.9.1
REVIEW: 105801

M  +18   -0    kwin/clients/aurorae/src/aurorae.cpp
M  +1    -0    kwin/clients/aurorae/src/aurorae.h

Comment 2 Thomas Lübking 2012-08-03 23:21:40 UTC
*** Bug 304527 has been marked as a duplicate of this bug. ***
Comment 3 vinnywright 2012-08-03 23:30:39 UTC
so how dose one fix it on KDE-4.9.00 ? Kubuntu-12.04 

Comment 4 Thomas Lübking 2012-08-03 23:33:45 UTC
a) ask distro to backport the fix
b) compile fixed version yourself
c) use another decoration until 4.9.1 is released.

There's no magic "__fix_bug_304248" key or environment variable, sorry.
Comment 5 vinnywright 2012-08-03 23:37:30 UTC
tryed b) but it dident work ....maby I dident do something just right as discribed hear

Comment 6 vinnywright 2012-08-05 23:44:22 UTC
A member of kubuntu forums.net has uploded the fixed ver. of  kde-window-manager-common
that fixes the no title wheel events on aurorae decorations on KDE-4.9.00
PPA hear https://launchpad.net/%7Eschumski/+archive/kfn