Skip to content

Click-to-focus sometimes spontaneously unfocuses #1188

Description

@stephenrkell

I recently migrated from FVWM 2.x and although most things have been smooth, I seem to be hitting a bug to do with click to focus. I am using almost the current git head revision (4592849).

Sometimes, clicking a click-to-focus window does not focus it. Rather, it focuses it very briefly and then immediately unfocuses it.

When this happens, clicking the window any number of times will not focus it. I have to click the title bar, as a workaround. Then things are fine again for some length of time before the problem occurs again.

It may be nondeterministic, but seems to be more common when I've just switched desktops using the pager.

I have created a short video showing the problem. The problem occurs at about 5s in the video. xev is running on the side, and you can see that a FocusOut event is seen when the window loses focus. My guess is that this should not be generated.

This did not happen with FVWM 2.x, under the same config. To my knowledge, I have nothing configured that is supposed to unfocus the window. The focus part of my config is below... I can supply the full config if that's useful.

  • Fvwm3 version: fvwm3 1.1.3 (1.1.2-5-g4592849)
  • Linux distribution or BSD name/version: Devuan daedalus mostly, some mish-mahs
  • Platform (run: uname -sp): Linux unknown

I realise this may be hard to reproduce. I use SIGUSR2 to enable logging and re-manifested the problem, but nothing was printed in the log. I'll see if I can do the config minimisation thing next, but I will post this here for now just in case there are other suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething's broken!

    Type

    No fields configured for Bug.

    Projects

    Status
    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions