From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#75120: 31.0.50; which-key crashes on xt if the scroll bar is activated. Date: Thu, 9 Jan 2025 09:52:24 +0100 Message-ID: <4eb9312d-c5c6-4f0a-899b-da2aab9a5f5a@gmx.at> References: <86ttaorosk.fsf@gnu.org> <87frltih5u.fsf@gmail.com> <86bjwg31am.fsf@gnu.org> Reply-To: martin rudalics Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1350"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: enometh@meer.net, 75120@debbugs.gnu.org To: Eli Zaretskii , Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 09 09:53:23 2025 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tVoI6-0000B2-Ph for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jan 2025 09:53:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVoHo-0008Sa-Gw; Thu, 09 Jan 2025 03:53:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVoHm-0008SA-Qm for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 03:53:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVoHm-0008Sk-Ib for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 03:53:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=TuNEUMwFF93aIT9vLdcl/av1j34vA2rvkTo/LzuJGWM=; b=H2Og6O3+PIsSDdjjUzseKcBxq9q2Ig919zwitq9K9oBQGzHFHQG4oxSKjZmu/QslNlF/ZXbdS4FOUf15y7pKq6HELEvMU3mFsyvWUaAai//UF6uYG02Y5TZ0nIHJc6j0bgmRsyqYfjBXSfPaOkdU3D25nInj4aEBqzImBEhJcCX4i5oHHQHTqW4tV4ueho9nIx96a52LOvYiwzjE4ZStJNS7/rXpWsVzY941xCZMih6iUxq+0NwJubzwDyW0HZpEbtJOjepFD8aa5ij1DAxh84IkJOAQpgEB95f1w1e8N5g6lBVEN8Pq9cn930Y4vq1wJdH1gNGPw/qMfBAr9raPiA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVoHm-0002km-DZ for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 03:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Jan 2025 08:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75120 X-GNU-PR-Package: emacs Original-Received: via spool by 75120-submit@debbugs.gnu.org id=B75120.173641276010527 (code B ref 75120); Thu, 09 Jan 2025 08:53:02 +0000 Original-Received: (at 75120) by debbugs.gnu.org; 9 Jan 2025 08:52:40 +0000 Original-Received: from localhost ([127.0.0.1]:50368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVoHQ-0002jj-D3 for submit@debbugs.gnu.org; Thu, 09 Jan 2025 03:52:40 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:44569) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVoHO-0002jS-BK for 75120@debbugs.gnu.org; Thu, 09 Jan 2025 03:52:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1736412747; x=1737017547; i=rudalics@gmx.at; bh=TuNEUMwFF93aIT9vLdcl/av1j34vA2rvkTo/LzuJGWM=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=hKWU02Skwa/XF18AK84aGH+0hhjZkJGnrtv/Zq3iGd/DeFzlZNL/jEHNujuIcGqU 8E27Ams6sYq8MDyc66HEcJLfukpSx5Ee1UYOwz0czF5jT9M9kO0vYRWII9VXPzz6f TOOzoAZGVftbiLnm1rMo4YvRJ8W8A8pu4gpBPQ2G+Y41ahIfp3ZTJW5SY5fqj5gwi vBIhZssUMCYlFsC78MYjgmgmFLzdsvKUVI5jXenx1LfjyY76qjkwRTuOIifgvzwuq hh2CNpnJgb9KAIJmFQ6DWJ26IIZe2I4213jNz/QMnnAkvz8LHTC7YYCWg3pc7v1Ap E7yLwtRLngmiorXfwg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([213.142.97.150]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N2mFi-1tbGLf0aDs-00zAGu; Thu, 09 Jan 2025 09:52:27 +0100 Content-Language: en-US In-Reply-To: <86bjwg31am.fsf@gnu.org> X-Prov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9kpboopavdWN7O/lA0sMhr4Ag8W X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298817 Archived-At: > Maybe we should simply do what xt_horizontal_action_hook does for the > horizontal scroll bar, i.e. do nothing if w->vertical_scroll_bar is > nil? I checked in a trivial fix for this. I'm not sure whether this will leave some garbage behind - we probably should at least set window_being_scrolled to nil if it is deleted (though how soon could it be resurrected from a window configuration?) but I have no idea about what to do with toolkit_scroll_bar_interaction. These static variables in xterm.c are some sort of a mess. martin