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: Po Lu
Subject: bug#61337: 29.0.60; Setting frame-title-format makes Emacs to steal focus
Date: Fri, 10 Feb 2023 09:59:52 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Óscar Fuentes <ofv@wanadoo.es> writes:

> Right. The part about the z-order not changing just makes the problem
> worse.
>
> For instance: let's suppose that Emacs window is hidden by some other
> application's window, (Konsole for instance) that also has the focus.
> When I switch desktops Emacs will steal the focus, but otherwise the
> screen's appearence will not change, which makes me think that Konsole
> still has the focus, then I start typing but the input go to Emacs, and
> this too often causes a mess.
>
> Same thing could happen even when Emacs' window is visible, of course.
> After all, the user does not expect that switching desktops changes the
> focus to certain application's window.
>
> As for the proposed workaround, discovering that you have to set
> icon-title-format when you change frame-title-format is a bit
> problematic. Too many users don't read PROBLEMS, less so for behaviors
> that worked fine for ages.

Well, the problem isn't that frame-title-format worked, it's that
icon-title-format did not work for a very long time.

> Po: I can open a bug report on KDE, if you wish, although the technical
> issue is out of my depth and the user-facing description is too vague,
> so if you can provide a description of what Emacs is doing under the
> hood that causes KDE to give it the focus, it surely will help.

I would recommend saying:

  Window in another desktop ends up focused upon returning to that
  desktop if it changes WM_NAME and _NET_WM_NAME while in an iconic
  state.




reply via email to

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