Bug 225179 - mouse appears in top left corner on resume
Summary: mouse appears in top left corner on resume
Status: RESOLVED DUPLICATE of bug 218468
Alias: None
Product: unknown
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-01 19:17 UTC by Jesse Milette
Modified: 2013-06-20 17:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screen rotation script (2.10 KB, application/octet-stream)
2013-06-20 12:25 UTC, abhijit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Milette 2010-02-01 19:17:36 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

KDE 4.4 RC2

when i resume my system (ubuntu karmic) the mouse cursor comes back in the top left corner. Actually, as soon as i press the sleep button on the power plasmoid my mouse jumps to the corner, then when i resume, it will jump back there again. this is bad as it can trigger the effect that kwin has mapped to that corner.  I think this is a plasma bug, but not sure.  sorry....
Comment 1 Jesse Milette 2010-02-11 01:42:32 UTC
this also effects 4.4 final.
Comment 2 Christoph Feck 2010-03-13 23:31:54 UTC

*** This bug has been marked as a duplicate of bug 218468 ***
Comment 3 abhijit 2013-06-20 12:25:33 UTC
Created attachment 80667 [details]
screen rotation script

screen rotation script
Comment 4 abhijit 2013-06-20 13:18:29 UTC
Hi,

I am facing the similar problem when I use KICAD in KDE with Fedora 18 (64-bit) in my ThinkPad X230T convertible laptop. In KDE when I scroll inside KICAD window the pointer goes to top-left corner. KICAD is running fine with GNOME even if I rotate the screen with the attached script (rotate). Once I logout from GNOME and enter KDE there will be no problem. The problem starts if I directly enter KDE or rotate the screen in KDE.

I think it is a problem with KDE desktop effect and how the xrandr configurations are treated by KDE but not sure.
Comment 5 abhijit 2013-06-20 17:31:21 UTC
Hi,

I think I have found the cause of this problem. With the change of USB mouse model the name of the input device changes and the entries in the rotation script are not updated accordingly.
Here I have shown the list of pointer devices and the last two entries are removable. some time USB mouse can be detected as "USB OPTICAL MOUSE" instead of  "Microsoft Basic Optical Mouse".  

[abhijit@localhost ~]$ xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Wacom ISDv4 E6 Pen stylus                 id=13   [slave  pointer  (2)]
⎜   ↳ Wacom ISDv4 E6 Finger touch               id=14   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=16   [slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                     id=17   [slave  pointer  (2)]
⎜   ↳ Wacom ISDv4 E6 Pen eraser                 id=19   [slave  pointer  (2)]
⎜   ↳ Microsoft Basic Optical Mouse             id=9    [slave  pointer  (2)]
⎜   ↳ 2.4G RF Keyboard & Mouse                  id=11   [slave  pointer  (2)]

Now I feel I need to dynamically update this rotate script. Please let me know if there is any other method to rotate the screen by screen rotation button in KDE.