From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Caio Henrique Newsgroups: gmane.emacs.bugs Subject: bug#43397: 28.0.50; Adding tool bar items: update tool bar Date: Mon, 14 Sep 2020 11:30:22 -0300 Message-ID: <87h7s0jurl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21596"; mail-complaints-to="usenet@ciao.gmane.io" To: 43397@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 14 16:31:13 2020 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 1kHpVh-0005VP-0f for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Sep 2020 16:31:13 +0200 Original-Received: from localhost ([::1]:40072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHpVg-0008M0-0D for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Sep 2020 10:31:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHpVW-0008L8-KS for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 10:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44157) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHpVW-0002ln-9e for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 10:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kHpVW-0007im-5w for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 10:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Caio Henrique Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Sep 2020 14:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43397 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160009383729638 (code B ref -1); Mon, 14 Sep 2020 14:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Sep 2020 14:30:37 +0000 Original-Received: from localhost ([127.0.0.1]:55703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHpV6-0007hy-Qp for submit@debbugs.gnu.org; Mon, 14 Sep 2020 10:30:37 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:34084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHpV3-0007hp-Ja for submit@debbugs.gnu.org; Mon, 14 Sep 2020 10:30:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHpV3-00080F-DD for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 10:30:33 -0400 Original-Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]:44586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHpV0-0002bN-Mu for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 10:30:33 -0400 Original-Received: by mail-qk1-x741.google.com with SMTP id n133so216178qkn.11 for ; Mon, 14 Sep 2020 07:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=n0r57nXeeIaMMD5L8BM5mIcXHj60ajVvTpuSccxtNwQ=; b=UTl53y+Pv1nB3HCKnf/jQmVB1sYSJcJL8M3PymTM1l8wJE8yJwMiWFoR+NEI60VrEQ nE0PDUPNsTzJ3jHU/v2NyYfoTTst0V+X6qr/lJb65Pptbablu2fK0aXrjtUTQVV1dO3B s7S/fAna2ZxeMWJIZbztA9vtDzKP/CbQAf7eOCDUGiusQihig0utUqFue+5WPNsQKDs+ 8dP0Yt31OoaGf+Z0gqGm3PWVD1X/4ws8cmfkxTLfmCqXgzSOuPOTkoTUuxwlG85O4QuC f3BToCSq2eoALHm8PFo3hSNAlxVOMB/oMNmTnZ+AVjnU5LEJSqFmXuBG16cUt80irMql YHhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=n0r57nXeeIaMMD5L8BM5mIcXHj60ajVvTpuSccxtNwQ=; b=F1QDrT7haUGCUzZTW761Kb7xslYBav0v14WslxMq0ipx0ci7CJMxXbbU2TjUJMeM0i BjIvFmpmSnkrDvMaSvciCbZOHnQ9xe9FniGzF4+m1NfdJCa04rfl3ylxIYQqMcAwMBx6 u3n21qqPuS+OXbx9zXczyO0mTY3wrZ7TwTHNWzbYnypoOZuwNlNZJU/IeWpMbpG62n99 i39ZZwFrCnjFLy9qyOc4RHy1hwS8SUQGkEx9KD37Xu3Hk21eo9KEThSt+Z55+bwFhXFA 9PVhIQI2rt4TzPh+jmw9gmagm+nKWR1aZtYCaNUDnBwVGlt8VAIRWxBzmEQH0yVB14Se 7rHA== X-Gm-Message-State: AOAM533pqhpBvuDAJ0q8drUicvqo52FF4P/FKlpycLlwey1oOMZ6odk7 HW1uo+JFF4v3p6bRL5TDzSAkepN4Kng= X-Google-Smtp-Source: ABdhPJzb/oy8id7OkfciLWZjY++pdkXAzGxCkzma4nLbXsbLh31+V87UGV/DgmlAU+fCzWLVoISEiw== X-Received: by 2002:a37:6848:: with SMTP id d69mr12351724qkc.80.1600093828697; Mon, 14 Sep 2020 07:30:28 -0700 (PDT) Original-Received: from localhost.localdomain ([181.223.151.236]) by smtp.gmail.com with ESMTPSA id t1sm14594889qtj.12.2020.09.14.07.30.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2020 07:30:28 -0700 (PDT) X-Google-Original-From: Caio Henrique Received-SPF: pass client-ip=2607:f8b0:4864:20::741; envelope-from=caiohcs0@gmail.com; helo=mail-qk1-x741.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.bugs:188053 Archived-At: Hi all, I don't know if this is a bug or the expected behavior of the function tool-bar-add-item-from-menu: 1. emacs -Q 2. paste and eval this: (progn (tool-bar-add-item-from-menu 'undo-redo "redo" nil :vert-only t) (redraw-display) (force-mode-line-update)) I'm using both redraw-display and force-mode-line-update to try to force the tool-bar to draw the icon (I know that I should'nt do this, I'm just trying to figure if this is a bug); but the icon only appears when I click one or two times with the mouse anywhere in the buffer. If there is a bug, this is possibly related to it: https://lists.gnu.org/archive/html/emacs-devel/2020-09/msg00603.html https://lists.gnu.org/archive/html/emacs-devel/2020-09/msg00726.html https://lists.gnu.org/archive/html/emacs-devel/2020-09/msg00780.html And also this: https://lists.gnu.org/archive/html/emacs-devel/2020-09/msg01089.html https://lists.gnu.org/archive/html/emacs-devel/2020-09/msg01101.html > Eli: Here, the above displays nothing at all on the tool bar. (If I click with the mouse anywhere in the buffer, that icon also gets displayed for me) Thanks! ____ In GNU Emacs 28.0.50 (build 19, x86_64-pc-linux-gnu, GTK+ Version 3.24.13, cairo version 1.16.0) Configured features: XPM JPEG TIFF GIF PNG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER