From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#75120: 31.0.50; which-key crashes on xt if the scroll bar is activated. Date: Thu, 09 Jan 2025 10:26:26 +0100 Message-ID: <87tta8fid9.fsf@gmail.com> References: <86ttaorosk.fsf@gnu.org> <87frltih5u.fsf@gmail.com> <86bjwg31am.fsf@gnu.org> <4eb9312d-c5c6-4f0a-899b-da2aab9a5f5a@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19554"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 75120@debbugs.gnu.org, enometh@meer.net To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 09 10:27:26 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 1tVop4-0004wR-IP for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jan 2025 10:27:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVooh-0006Gk-8H; Thu, 09 Jan 2025 04:27:03 -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 1tVoog-0006Ga-5p for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 04:27:02 -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 1tVoof-0007tu-T5 for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 04:27:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=+mm28ZeYpEQUIm04WbugsT7ZHZAb5RVUL2ro0B0I2vU=; b=PHWZdxPxXzUYZp+gTJvPWDyqk5mEYcEe6x4b7jM4S2jHYnBLO7D0Ge0cdxJfgXgC9uw0DhNFVPRBn2//gKYO1GNZXyf1gN/PWcz64AEdRtitleQDI9D4Gyy6SndC9bkehj6opPx17/FiPmSJSDIQX2tDhNBCtFeQjAP8JiN3627z7Z9yqjeW7YZOuTUs/Y0810DSg4QPzB3o9Hhm4vFXCjJkFaRd1rsOOFzUqBoDavNxGcBUUG1reUt4SwReJ43S2kJRAnrLlRT5+nwwJPu+9u5HSVe1ZiViUpGUCyaQsxwsgzH6F5KSdDHAo/BiLKd60/ZgKnnp2zJ6gv4Zw/wNxw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVoof-0004RM-Nl for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 04:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Jan 2025 09:27:01 +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.173641479617030 (code B ref 75120); Thu, 09 Jan 2025 09:27:01 +0000 Original-Received: (at 75120) by debbugs.gnu.org; 9 Jan 2025 09:26:36 +0000 Original-Received: from localhost ([127.0.0.1]:50435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVooG-0004Qc-8a for submit@debbugs.gnu.org; Thu, 09 Jan 2025 04:26:36 -0500 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:50267) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tVooD-0004QL-O3 for 75120@debbugs.gnu.org; Thu, 09 Jan 2025 04:26:34 -0500 Original-Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-38a25d4b9d4so333380f8f.0 for <75120@debbugs.gnu.org>; Thu, 09 Jan 2025 01:26:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736414787; x=1737019587; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=+mm28ZeYpEQUIm04WbugsT7ZHZAb5RVUL2ro0B0I2vU=; b=kD+DAQR6bHBPXrgjK9DgGLMJn69kuAZucrozBUwfrPhS4cpP0RrKuoOxNUZ61yly9H YCxfjgonuB3683amQ+NflAipZn6wFPs9F7pA17m58KXSE1VJfNoPBTHTcfX1yFDdy1rl XE+uhknasmAjMamtgo8GwY2RkbuzPElsoaZnds+Arv1lRtEYoqTZBf63FYt/vcDuweVz HyfxZNlkZPLjYZXaVGPC2hzjxdoivXBkGXQaYJZnWJg5YzqDeSkyK0Mv6ohWuTPIQfLU k3XkkkrNgMGHjR8rZEdAJq7X7O2q1QFbcflAkaSCbyXkes2TtQVAyED5n/1JSiVP10WD yizw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736414787; x=1737019587; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+mm28ZeYpEQUIm04WbugsT7ZHZAb5RVUL2ro0B0I2vU=; b=cBPbxtQKS/Ob3SJmp4AS4qkrTc67ejR9Lka0WtqiJoXAcPDxe8jE3ZJsDPAPtf5XHw /wsGzqYLbSWvoI7nk3BcnHSK3tW5oaeDQ/rZ4ntGh0W72ZtWxk55iRl2LK8scWJvIwIQ I+CbPkdANwk7awbrv5bw1WX+5Fotmwe+fAEMg3l4HZ+KkiwbcG+pvKZjnZk/Y6VAbp1D kYdZNYNJhNBb6U8nEhkj0MbBLSmAV9ROqL7Ax4PUf5PypCwHCOcTuJqXxeLhVFo9BgsO 1VRQTb6/JICu8oKRh75cdJFL7Ox7qqlyIqfd/rxNcIVE1jOT78lHgsdufl8Y/ycY2A8y y5NQ== X-Forwarded-Encrypted: i=1; AJvYcCVys6cTCBazU4WQChi+jyxA80/0OyY7JE44b+o0kWuhz2YUwCO5p8YoqoFB70+rCCaNPfpIlA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwjigNloiIbl1rLmLvKqJP9JXPvYoutW3yYLzg5RuWNVoLHh5hu aQqY5llxQdT/RVH0obVgCSY4bq8kif0S9nMIS1CdbtibMA1iDA59hE5Avw== X-Gm-Gg: ASbGnctQ9t6/9vACjHCZGoc/LdaiB4/ug5ZLrwIBt97Pq9dmMLc7Am5v4u29W/imdMD nagtQDulzqSI+WsnIIU+f/Vi2gRC3Ezuup+prL2B+kOq3vzDcXaQtocr+5WLqyeL4gYPke8Txv/ OeaNjvyNmqyafPOD7ZXlEWSzQIU7lUNUJn4PhsP1df6IOkpSLlUOp1tkyB8ukgV7vfhf6B1+QDa FBXtET0eEQE+uqY2G8deKmvp9g8JYnOVmnZhA/99uGp X-Google-Smtp-Source: AGHT+IGSv7JQuIhoisdF258TEfv6hnRpuo9YxRQmvvHUc+8Eghdh/LLZXK1NwTRwZNJpGeEARfgSNg== X-Received: by 2002:a5d:5f4b:0:b0:385:ed16:c91 with SMTP id ffacd0b85a97d-38a872e8ab2mr4226954f8f.24.1736414787050; Thu, 09 Jan 2025 01:26:27 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb51:e89c:7c24:7fd1:983d]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a8e38f176sm1292377f8f.63.2025.01.09.01.26.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2025 01:26:26 -0800 (PST) In-Reply-To: <4eb9312d-c5c6-4f0a-899b-da2aab9a5f5a@gmx.at> (martin rudalics's message of "Thu, 9 Jan 2025 09:52:24 +0100") 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:298821 Archived-At: >>>>> On Thu, 9 Jan 2025 09:52:24 +0100, martin rudalics = said: >> 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? martin> I checked in a trivial fix for this. I'm not sure whether this= will martin> leave some garbage behind - we probably should at least set martin> window_being_scrolled to nil if it is deleted (though how soon = could it martin> be resurrected from a window configuration?) but I have no idea= about martin> what to do with toolkit_scroll_bar_interaction. These static v= ariables martin> in xterm.c are some sort of a mess. Thanks, I didn=CA=BCt realize the window was being deleted. Fixes it for me. Robert --=20