GNU bug report logs - #25521
26.0.50; After (make-frame '((name . "foo"))) (select-frame-by-name "foo") doesn't see the frame

Previous Next

Package: emacs;

Reported by: Alex 'QWxleA' Poslavsky <qwxlea <at> gmail.com>

Date: Tue, 24 Jan 2017 21:11:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 26.0.50

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


Message #75 received at 25521 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 25521 <at> debbugs.gnu.org, qwxlea <at> gmail.com
Subject: Re: bug#25521: 26.0.50;
 After (make-frame '((name . "foo"))) (select-frame-by-name
 "foo") doesn't see the frame
Date: Fri, 29 Sep 2017 10:33:18 +0200
> I think you might have to change window managers.

Then I'll probably prefer to rather not play around with this.

> Hmm, that is actually less effect than I expected.  I recall now that
> some non-relevant MapNotify events get sent in this case [1].  These
> make x_wait_for_event (f, MapNotify) return earlier than the previous
> busy wait.
>
> Should we wrap a timeout loop around the x_wait_for_event call?  Or make
> the wait more selective (e.g., check that the given frame matches)?
> Seems a bit like overkill considering that a timeout of longer than 1
> second is unlikely to be wanted, on the other hand, we're not really
> waiting for the right thing...
>
> [1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24091#57

Shouldn't it work to wait only for VisibilityNotify events for the given
frame?

martin




This bug report was last modified 7 years and 273 days ago.

Previous Next


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