[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 301777] left/top screen edge event not working with touchpad
From:       Thomas Lübking <thomas.luebking () gmail ! com>
Date:       2012-07-27 20:35:44
Message-ID: bug-301777-17878-JHjFfQdslP () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=301777

--- Comment #27 from Thomas Lübking <thomas.luebking@gmail.com> ---
(In reply to comment #25)
> 1) When an action is assigned to a screen corner, there seems to be an
> invisible pixel at that corner that triggers a QPoint event when hit by the
> cursor
That is the input window used to trigger screenborder actions.

> and then immediately pushes the cursor away from that pixel.
PushBack* is (afaik and reasonably) used to detect the users will, ie. that
s/he *wants* to enter that corner (ie. triggers events until the delay times
out)

> 1,1.  Therefore, "pushing" the cursor into the corner will continuously
> trigger QPoint events as the cursor is constantly moving to 0,0 and being
> forced back to 1,1.
yes - until the BorderDelay times out.

> 2) When using the trackpad on Jared's laptop, when the cursor moves to 0,0,
> a QPoint event is triggered, but the cursor is *not* forced out to 1,1 and
> instead remains at 0,0.
That either means the pushback is disabled (unlikely) or we can't warp the
cursor.

$ kreadconfig --file kwinrc --group Windows --key ElectricBorderPushbackPixels
If it prints nothing, it's default, ie. "1"
Try 
$ kwriteconfig --file kwinrc --group Windows --key ElectricBorderPushbackPixels
0
$ qdbus org.kde.kwin /KWin reconfigure

NOTICE: that this will cause ignorance of the activation delay setting and
trigger actions immediately. 
(WARNING to others: It was also *vastly* broken in older versions of KWIn, but
4.8.x should be fine)

> Using a mouse, the cursor is properly kicked out to 1,1 in the top-left corner.
What suggests "driver issue" - it will likely either do some extra smart magic
on the screen border or just be broken (about warping from 0,0 to 1,1) - you
can also try to
$ kwriteconfig --file kwinrc --group Windows --key ElectricBorderPushbackPixels
3

"3" is a magic number (aka random guess) and if it works that means the
touchpad driver for some reason prevent warping /to/ 1,1 - otherwise it means
it prevents warping /from/ 0,0

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic