Subject: bug#55412: 28.1; In Emacs 28.1, using ':eval' in 'frame-title-format' doesn't work properly

From: Eli Zaretskii <[email-masked]>
Date: Sat, 21 May 2022 11:35:47 +0300

> Date: Sat, 21 May 2022 10:32:41 +0200
> Cc: [email-masked], [email-masked], [email-masked]
> From: martin rudalics <[email-masked]>
> 
>  >> When trying to fix Bug#32777 I spent some time investigating these
>  >> issues but never found out why on earth we should call routines like
>  >> 'select-frame' and 'select-window' from redisplay.
>  >
>  > Well, now we know at least one reason: so that referencing
>  > frame-parameters would what Lisp programs expect.
> 
> I don't understand what you mean here.  Please elaborate.

See the OP's report: a :eval form in frame-title-format that
references a frame-parameter assumes that the frame whose title is
being evaluated is the selected-frame when the :eval form runs.