GNU bug report logs - #64630
30.0.50; unable to change to raise or lower a child-frame

Previous Next

Package: emacs;

Reported by: Andrey Listopadov <andreyorst <at> gmail.com>

Date: Fri, 14 Jul 2023 20:10:01 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Po Lu <luangruo <at> yahoo.com>
To: Andrey Listopadov <andreyorst <at> gmail.com>
Cc: 64630 <at> debbugs.gnu.org
Subject: Re: bug#64630: 30.0.50; unable to change to raise or lower a
 child-frame
Date: Sat, 15 Jul 2023 09:16:28 +0800
Andrey Listopadov <andreyorst <at> gmail.com> writes:

> Hello.
>
> I'm working on an alternative windowing system for Emacs that explores
> child frames as a base for windowing, instead of using splits.  I've
> noticed that no matter what I do, I can't restack child-frames.  Calling
> `frame-raise' or changing the `z-group' has no effect on the frames
> spawned by my window manager.
>
> The simplest possible way to test this in Emacs -Q is to eval this code
> twice:
>
> (let ((frame
>        (make-frame
> 	`((width . 20) (height . 8)
> 	  (parent-frame . ,(selected-frame))
> 	  (drag-with-header-line . t)
> 	  (undecorated . t)
> 	  (minibuffer . nil)))))
>   (set-window-parameter
>    (frame-root-window frame)
>    'header-line-format
>    " %b"))
>
> It will create two small child frames, and no matter what I do the order
> of frames is not changes.  A friend of mine reported that it works under
> X on Emacs 28 as expected.  I suspect that it may be related to the fact
> that I'm using Wayland version of GNOME Shell and a PGTK build. I will
> try to recompile Emacs later and post the results here.

This is a known limitation of PGTK builds that is a consequence of how
newer versions of GDK implement its ``client-side windows''.  It was
discussed in depth last year, within another bug report, and the
consensus was that it wouldn't be fixed any time soon.




This bug report was last modified 1 year and 265 days ago.

Previous Next


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