! 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 follows mouse does not work during selection
Status:
RESOLVED: MOVED

Comments

Description Heiko Schlichting 2013-02-22 15:53:43 CET
If "focus follows mouse" is enabled, I expect that the window under the mouse is always in focus. But if the mouse changes windows during selection, the wrong (=focused window when selection starts) remains in focus.

To reproduce:

* Open two windows (e.g. xfce4-terminal, xterm, konsole) and place them side by side.
* Start selection in one window and move mouse during selection (=keep mouse button pressed) into the other window.
* Start typing --> wrong window

Expected behaviour: the window below the mouse gets focus when selection ends (mouse button is released).
Comment 1 Olivier Fourdan editbugs 2013-02-22 21:29:28 CET
Not a bug.

When selecting, the app has an active grab on the pointer and the WM won't receive the enter/leave events.
Comment 2 Heiko Schlichting 2013-02-22 23:25:19 CET
Thanks for your quick answer.

I'm sure you are right but as other window managers (e.g. in KDE) does not show this behavior there must be a way to prevent this. Maybe it is possible to set focus right after the selection.
Comment 3 Olivier Fourdan editbugs 2013-02-23 08:34:50 CET
Yes, enter/leave events are emitted on ungrab, so updating focus could be achieved afterwards, but not during selecting.
Comment 4 Heiko Schlichting 2013-02-23 11:43:06 CET
Afterwards should be fully sufficient and a big win. The problem happen quite often if someone use a tiled window layout.
Comment 5 Git Bot editbugs 2020-05-29 11:54:32 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/110.

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 #9871

Reported by:
Heiko Schlichting
Reported on: 2013-02-22
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
4.10.0

Attachments

Additional information