[xfwm4] focus problems introduced in RCs

Liviu Andronic landronimirc at gmail.com
Tue Nov 28 18:09:13 CET 2006


Hello Olivier,

On 11/27/06, Olivier Fourdan <fourdan at xfce.org> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hi,
>
> Liviu Andronic wrote:
> >
> > I have noticed some peculiar behaviour of xfwm4, that was introduced in
> > RC1 and RC2.
> >
> > First of all, the one linked to emelFM2. emelFM2 allows user to open
> > several widgets (if not mistaking terminology) at the same time. For
> > example, I can have a file open with the internal viewer, a second one
> > with the internal editor, and the find plugin at the same time. And I
> > can continue to peacefully browse my folders. However, consider that all
> > these windows are open (one would also be enough) and I browse using the
> > main window and I decide to open another dialog (create dir, for
> > example): when I close this last opened dialog, xfwm4 bugs. Instead of
> > giving focus back to the main window (where I was browsing before
> > opening the mkdir dialog), it gives it to one of the secondary windows
> > (internal viewer, for example). Fluxbox handles correctly this case and
> > so did xfwm4 in Beta releases. I was told that Gnome also behaved
> > correctly.
>
> Unfortunately, there is no right or wrong behavior here, just a focus
> passing policy. xfwm4 has a different focus passing policy, which may
> make sense for some apps and may not with others.

Both Gnome and Fluxbox have a different policy, and so had Xfce before
RC1. Would it be possible to make it as an option in the WM Tweaks?

emelFM2 is not alone in this respect.
I have noticed that acroread also miss-behaved because of this policy.
Something related to using the
"simple find dialog" (<ctrl>f). Don't have the details in my mind.

Personally,
I believe that when closing a dialog, it would be the previously used
dialog to receive
focus. Be it the main application window or any secondary windows. In
emelFM2, if I activate
internal viewer window and then pass to the internal
editor window, and close the latter, it is the
internal viewer to receive focus. However, if I have a viewer opened
and browse the files and open
with editor a certain file, uppon close of the latter
the main window is to receive focus (instead of the
internal editor, that could possibly have been opened for hours and
had nothing to do with my recent
activity in the application).


>
> I'm not seeing that in current SVN, it sounds like bug #2561 which, I
> believe, is fixed.
>
> http://bugzilla.xfce.org/show_bug.cgi?id=2561

It may well be. I'll check with the next RC, as I am not able to access
subversion with my Internet connection.



>
> Yes I see what you mean, I've just committed an improvement for that.
> The behavior now depends on the focus stealing prevention.


Thanks,
Liviu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20061128/ed09135a/attachment.html>


More information about the Xfce mailing list