Bug 829906 - XFCE: Clicking inside a window grabs and drags the window
Summary: XFCE: Clicking inside a window grabs and drags the window
Alias: None
Product: Fedora
Classification: Fedora
Component: xfwm4
Version: 17
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2012-06-07 19:15 UTC by Russell Doty
Modified: 2012-12-15 18:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-12-15 18:04:54 UTC
Type: Bug

Attachments (Terms of Use)
modified patch against xfwm-4.8.3 (2.37 KB, patch)
2012-11-19 15:07 UTC, Eric Harney
no flags Details | Diff

Description Russell Doty 2012-06-07 19:15:19 UTC
Description of problem:

When clicking inside an application, such as selecting a message inside Evolution, about 25% of the time the result is to grab and drag the window. The window is 3"-4" to the right of the mouse cursor and follows the mouse. The window goes outside the screen, and frequently jumps to another workspace.

Trying to position the window is problematic - it jumps around, and usually ends up in another workspace. The only workaround I've been able to find is to single click to drop the window, and then drag it normally.

Version-Release number of selected component (if applicable):

Fedora 17 with XFCE

How reproducible:
About 25% of the time; have not been able to identify any specific actions that cause it.

Steps to Reproduce:
1. Click inside a window, such as selecting a message in Evolution (also occurs with Firefox and other applications)
Actual results:

The window is grabbed and dragged.

Expected results:

The desired function selected in the application.

Additional info:

Comment 1 Kevin Fenzi 2012-06-07 21:52:37 UTC
What are your focus settings set to?

Do you have a mouse or trackpad? If trackpad are you pressing on it with multiple fingers? 
Perhaps some odd trackpad feature is coming into effect here.

Comment 2 Russell Doty 2012-06-08 15:33:23 UTC
Where do I check focus settings? I'm running default; haven't changed anything (that I know of).

This is occuring on two systems: one is a desktop with mouse only. The other is a notebook in a docking station, where it is occuring with the external mouse. I haven't used the touchpad much - fresh installation without much experience.

Comment 3 Kevin Fenzi 2012-06-08 20:21:48 UTC
Settings->window manager -> focus.

Comment 4 Russell Doty 2012-06-08 21:03:16 UTC
Ah, thank you.

Set to click to focus with a short delay. Will increase the delay and see what happens.

Comment 5 Russell Doty 2012-06-08 21:09:42 UTC
The delay is apparently for focus follows mouse. Changing it (and retaining click to focus) has no affect on the window grabbing issue.

Comment 6 Eric Harney 2012-11-15 22:10:10 UTC
I also had this issue, often w/ Evolution.  I found that patching this commit into my local xfwm4 package eliminated the problem.  I've run it for a few weeks now with great results.  (F17)


Perhaps we can include this in the Fedora package?

Comment 7 Kevin Fenzi 2012-11-18 19:34:17 UTC
Sure, but it doesn't seem to apply cleanly to 4.8. ;( 

Did you clean it up so it does? Or are you using a locally built 4.10 there?

Comment 8 Eric Harney 2012-11-19 15:07:20 UTC
Created attachment 647821 [details]
modified patch against xfwm-4.8.3

Ah -- forgot about that.  I had increased the patch fuzz level in my .spec.

Here is a cleaned up version that will apply to the 4.8.3 RPM.

Comment 9 Kevin Fenzi 2012-11-24 20:14:08 UTC
Can you test this scratch build: 


If that looks good I can push it out as an update...

Comment 10 Eric Harney 2012-11-26 22:45:39 UTC
I ran the test package all day and it seems to be working well.

Comment 11 Fedora Update System 2012-11-28 04:23:07 UTC
xfwm4-4.8.3-3.fc17 has been submitted as an update for Fedora 17.

Comment 12 Fedora Update System 2012-11-29 06:06:03 UTC
Package xfwm4-4.8.3-3.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xfwm4-4.8.3-3.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2012-12-15 18:04:56 UTC
xfwm4-4.8.3-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.