GNU bug report logs - #6068
make-frame-visible but not selected

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Fri, 30 Apr 2010 19:40:03 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Lars Ingebrigtsen <larsi <at> gnus.org>, Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 6068 <at> debbugs.gnu.org
Subject: bug#6068: make-frame-visible but not selected
Date: Fri, 2 Jul 2021 14:25:41 +0200
>> So I seem to be unable to reproduce this (under Debian/bullseye, under
>> Gnome Shell).
>>
>> Are you still seeing this issue in recent Emacs versions?
>
> More information was requested, but no response was given within a
> month, so I'm closing this bug report.  If the problem still exists,
> please respond to this email and we'll reopen the bug report.

Just to elaborate: After

  (setq frame (window-frame))
  (make-frame)

a plain

  (make-frame-visible frame)

indeed won't change anything.  But

  (setq frame (window-frame))
  (make-frame)
  (iconify-frame frame)

followed by

  (make-frame-visible frame)

usually will shift focus to the frame.  Conceptually,

  (set-frame-parameter frame 'no-focus-on-map t)

should fix it but here on Debian Buster this does not work and I have to
use

  (set-frame-parameter frame 'no-accept-focus t))

to handle Lennart's use case.  This is not TRT because the frame
probably should accept focus later but so far I have not found a
reliable way to fix that.

martin




This bug report was last modified 3 years and 319 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.