Bug 69491 - dragging (mouse down + moving mouse) sometimes does not work
Summary: dragging (mouse down + moving mouse) sometimes does not work
Status: RESOLVED DUPLICATE of bug 90795
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-02 10:06 UTC by A T Somers
Modified: 2005-06-17 15:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
xev output of dragging inside the window (27.03 KB, text/plain)
2003-12-03 11:48 UTC, A T Somers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description A T Somers 2003-12-02 10:06:20 UTC
Version:            (using KDE KDE 3.1.4)
Installed from:    Compiled From Sources
Compiler:          gcc 2.95.3 
OS:          Linux

I have an annoying problem that pops up every now and then, and I really don't know for sure where to locate it. The problem is that while moving the mouse and clicking buttons work fine, the combination does not. That means: I can't drag. That means: no selecting text, no moving scrollbars, problems moving files, etc. etc. The problem also affects the mousebutton. One click is generated, but when the mouse stays down, nothing more happens. That is most appearant on scrollbars, where you can use the up and down buttons to move the scrollbar. Normally, you can hold the mouse down, but this does not work anymore. 

The main problem is that this is not well reproducable. It sometimes happens, then it goes away again. It may have something to do with the fact that I'm on a laptop that I suspend at the end of the day, so I don't need to reboot. Sometimes it helps to log off and on again, sometimes it does not.
Comment 1 Lubos Lunak 2003-12-02 14:46:15 UTC
I suggest first checking that your mouse or whatever it is doesn't just require some cleaning.
Comment 2 A T Somers 2003-12-02 14:50:40 UTC
Subject: Re:  dragging (mouse down + moving mouse) sometimes does not work

On Tuesday 02 December 2003 14:46, you wrote:
> ------- Additional Comments From l.lunak@kde.org  2003-12-02 14:46 -------
> I suggest first checking that your mouse or whatever it is doesn't just
> require some cleaning.
Duh. I'm sorry, this is a serious bugreport, and a dirty mouse is REALLY isn't 
the case. I have tried both my optical mouse and the little joystick on the 
laptop, and both have the same effect: moving works nice, clicking works 
nice, dragging does not.
Did you even read the bugreport?

Andr
Comment 3 Lubos Lunak 2003-12-02 15:00:18 UTC
Of course I did - it looks just like those other bugreports where the problem was a broken mouse.
- Is this problem specific to KDE/Qt applications? Do e.g. Gtk+ one work?
- When it happens next time, run 'xev' and log its output, drag inside the window, and attach the output to this bugreport.
Comment 4 A T Somers 2003-12-02 15:08:02 UTC
Subject: Re:  dragging (mouse down + moving mouse) sometimes does not work

On Tuesday 02 December 2003 15:00, you wrote:
> Of course I did - it looks just like those other bugreports where the
> problem was a broken mouse. 
Even when I told about non-repeating mouseevents and signing in again? OK... 
I'm not sure where to look for it, I am guessing it's either the 
windowmanager or X11 itself, but I'm no expert in this field.

>- Is this problem specific to KDE/Qt
> applications? Do e.g. Gtk+ one work?
I'm not sure. I don't have Gtk applications installed, because of the limited 
space on my laptop and the fact that I don't use Gtk+ applications. However, 
I _think_  the problem also occurred in OpenOffice. I will check next time it 
happens.

> - When it happens next time, run 'xev'
> and log its output, drag inside the window, and attach the output to this
> bugreport.
OK, will do.

Andr
Comment 5 A T Somers 2003-12-03 11:48:30 UTC
Created attachment 3537 [details]
xev output of dragging inside the window

The problem has popped up again. As suggested, I have started up xev to
generate some data. I have been dragging around in the window xev created.
Comment 6 Lubos Lunak 2003-12-03 12:01:39 UTC
According to the xev output, you have moved the mouse in the window, without having any button pressed (the MotionNotify events), then you have clicked left button (ButtonPress and ButtonRelease), and then you have again moved the mouse. Which means that from xev's point of you, you haven't been dragging, and you haven't even pressed the mouse button before moving the mouse. Which means this is very likely XFree's or the mouse's fault, not KDE's, although there's a small chance something is filtering out those events.
Would it be possible to run e.g. WindowMaker or whatever for a while, without any KDE application, so that it can be checked whether this problem appears without using KDE?

Comment 7 A T Somers 2003-12-03 12:11:07 UTC
Subject: Re:  dragging (mouse down + moving mouse) sometimes does not work

On Wednesday 03 December 2003 12:01, you wrote:
Well, then xev and I disagree :-)
I agree with your diagnosis. I will be hard to only run windowmaker for 
awhile. It can take hours before the problem pops up again, and I need to get 
some work done (with KDE applications). I will try to do that some other 
time... (not looking forward to missing my beloved KDE).

Comment 8 Lubos Lunak 2004-01-19 16:24:54 UTC
Waiting for a response.
Comment 9 A T Somers 2004-02-10 10:30:36 UTC
OK, finally I seem to have found what triggers it, though I don't understand the relation between the two. I have a problem with my laptop that whenever I come out of suspend, my time has leapt one hour ahead. So, I select Adjust Date and Time from the clock applet, enter my root password and set the time back. The moment I click OK, scrolling now longer works. However, sometimes (I haven't figured out yet when exactly), it starts to work again spontaniously after some time. I'll look and see if it is after the hour has gone by.
Comment 10 A T Somers 2004-02-10 12:07:43 UTC
Some more testing confirms the time-related issue: First, I noticed that dragging worked again. More than an hour had passed. So, I set back my clock two minutes. After OK, dragging didn't work anymore, but after two minutes, it came back, and dragging worked again. 
Comment 11 Lubos Lunak 2004-02-10 16:58:51 UTC
Could you please have a look at comment #2 in bug #56989?
Comment 12 A T Somers 2004-02-10 17:34:09 UTC
On Tuesday 10 February 2004 16:58, you wrote:
> Could you please have a look at comment #2 in bug #56989?

Did so: the resulting number is:
0:2688337177

The machine is an IBM Thinkpad 600E, xf86version returns XFree86-4.x

André

Comment 13 Lubos Lunak 2005-06-17 15:27:47 UTC

*** This bug has been marked as a duplicate of 90795 ***