! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Focus on mouse button release, not on click


Description HennR 2007-09-28 12:30:04 CEST
When you want to drag and drop files from e.g. thunar to audacious, thunar gets immediately focus before your can drop the files to audacious.

This sucks, but is easy to fix, just give the windows the focus after releasing the mouse button.

Thanks for your great work, and greets from Germany.

Comment 1 Olivier Fourdan editbugs 2009-10-11 16:36:12 CEST
I disagree, that's counter intuitive and I know of no other (recent) window manager that behaves like that.

Beside, you can use the taskbar suring DnD to select the destination window. And there is already a settings that allows you to click without raising a window, so I do not think such a change in the basic behavior of the window manager is suitable.
Comment 2 HennR 2009-10-11 18:13:51 CEST
OK, thanks for the feedback at all.
Comment 3 Butesa 2011-02-13 12:28:35 CET
I agree with HennR, windows should be focused when mouse button is released. Windows has this behavior and it makes drag'n'drop much easier. When doing single click, the time between click and release is so short you wouldn't notice the difference and on DnD it makes no sense to change the window arrangement when pressing the mouse button down.

Besides, there is nothing counter intuitive about that, every button on every dialog window and even the taskbar are waiting for mouse button release.

Comment 4 HennR 2011-02-13 15:10:16 CET
I still have the same opinion on that ;)

What about a compromise and making this configurable?
Comment 5 blabli 2014-08-14 18:48:17 CEST
I also would like an option which says "Raise Windows on mouse button release".

HennR spoke about drag and drop mp3 from thunar to audacious, I'll speak about videos and Vlc, different files to attach to a thunderbird mail, move files from a directory to another... examples where raise window on mouse button release would be nice are numerous.

Otherwise I know a very famous window manager that does that, used on ~90% of the computers around the world ... microsoft windows (since windows 95...).

I love to say to people "use Linux instead of proprietary-pattented-windows". Such an option would be an additional argument.

For us, daily computer users, it's not really a problem, but think of my grandfather...

Nevertheless, I'm a great Xfce fan and thank very much devs for the work they've done.
Comment 6 blabli 2014-08-14 20:11:30 CEST
This bug has also been reported here : 
Comment 7 Git Bot editbugs 2020-05-29 11:38:53 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/9.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #3577

Reported by:
Reported on: 2007-09-28
Last modified on: 2020-05-29


Olivier Fourdan
CC List:
3 users




Additional information