GNU bug report logs - #76321
31.0.50; Moving nested child frames out of their child parents

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Sun, 16 Feb 2025 05:17:02 UTC

Severity: normal

Found in version 31.0.50

Fixed in version 31.1

Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 76321 <at> debbugs.gnu.org
Subject: Re: bug#76321: 31.0.50; Moving nested child frames out of their
 child parents
Date: Mon, 17 Feb 2025 10:52:22 +0100
[Message part 1 (text/plain, inline)]
martin rudalics <rudalics <at> gmx.at> writes:

>> Thanks. This frame parameter stuff is sooo over-engineered :-/.
>
> Don't ask me how much time I spent on it.  The most important thing
> would be to make values more characteristic - instead of 40 use 39 ...
>
>> Does it work with your changes, or is it still crashing?
>
> I found the crash when I tried to drag a child frame's child with the
> mouse.  So yes, it's crashing with my changes.
>
> martin

I've found the reason, please see the attached patch. If it works for
you, I'll put in master.

With your latest diff, and nothing additional on top of it, and with

(defun tty-3 ()
  (interactive)
  (setq tty-3
	(make-frame
	 `((parent-frame . ,tty-2)
	   (left . (- 10)) (top . 5)
                   ^^^^^^^

the placement of tty-3 seems wrong. Just saying, I think you mentioned
that you fixed that already.

[0001-Fix-child-coordinate-calculation-bug-76321.patch (text/x-patch, attachment)]

This bug report was last modified 93 days ago.

Previous Next


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