bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focu


From: Eli Zaretskii
Subject: bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus
Date: Fri, 10 Feb 2023 09:15:16 +0200

> From: Po Lu <luangruo@yahoo.com>
> Cc: Óscar Fuentes <ofv@wanadoo.es>,  61337@debbugs.gnu.org
> Date: Fri, 10 Feb 2023 10:15:48 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > But I guess we will need to agree to disagree here.
> 
> I think you are both arguing over a misunderstanding.

I don't see a misunderstanding between us.

> Oscar's problem is that KWin focuses Emacs when it really should not,
> when Emacs has done nothing to ask for the focus, and is in fact
> iconified in a different desktop.

I understand that.  I'm just saying that an Emacs user, even a user
such as myself, who knows one or two things about Emacs, has no way of
knowing whether, while the user was away of working with a desktop,
something happened that caused Emacs or WM to switch focus to the
Emacs's window on that desktop.  The events that can cause this on a
modern system are a legion, and can be caused both by what Emacs does
in the background and by the system for any number of valid reasons.

Therefore, the first thing I, as a user, do when I want to resume my
work, is to find out which window has the input focus; I do NOT rely
on some prior knowledge of where I think the focus should be.

> And even worse, that focus is set in a way that cannot easily be
> perceived by the user.

If the WM doesn't provide good ways for the user to tell which window
has input focus, not even as a user customization, that WM is buggy
and should be fixed.  But that is definitely not a problem for us to
solve.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]