GNU bug report logs - #75056
31.0.50; tty-child-frames with server / multiple clients possible hangs

Previous Next

Package: emacs;

Reported by: Len Trigg <lenbok <at> gmail.com>

Date: Tue, 24 Dec 2024 05:44:02 UTC

Severity: normal

Found in version 31.0.50

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Eli Zaretskii <eliz <at> gnu.org>, lenbok <at> gmail.com, 75056 <at> debbugs.gnu.org
Subject: bug#75056: 31.0.50; tty-child-frames with server / multiple clients possible hangs
Date: Wed, 29 Jan 2025 14:04:10 +0100
[Message part 1 (text/plain, inline)]
martin rudalics <rudalics <at> gmx.at> writes:

>> But it seemed to work on the release branch.  Anyway, with your patches
>> I don't see the assertion violation any more so you should check them
>> in.
>
> Spoke to early.  Now setting the cursor in a C-l child frame doesn't
> work any more.

Back from the drawing board, please find now 3 patches attached.

Idea was right, only that something was missing: the selected frame is
insofar related to the update that if it is part of the z-order on the
root being updated, it determines which frame in the z-order has the
cursor. Sounds a bit complicated, but fixes the problem :-).

I have rebased to include a comment fix you mentioned in one of the old
commits.

[0001-Don-t-use-selected-frame-in-tty_set_cursor.patch (text/x-patch, attachment)]
[0002-Replace-two-macros-with-functions-in-dispnew.c.patch (text/x-patch, attachment)]
[0003-Further-fixes-for-cursor-positioning.patch (text/x-patch, attachment)]

This bug report was last modified 111 days ago.

Previous Next


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