From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Tab bar tabs landed on master Date: Thu, 3 Oct 2019 10:16:25 +0200 Message-ID: <19adfbe5-b9f6-a0ba-f4a0-c3759cbd7b07@gmx.at> References: <8736gci5jn.fsf@mail.linkov.net> <83muej8a0f.fsf@gnu.org> <87zhijqfys.fsf@mail.linkov.net> <834l0r84at.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="18160"; mail-complaints-to="usenet@blaine.gmane.org" Cc: lekktu@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii , Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 03 10:24:20 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFwPJ-0004Ul-7d for ged-emacs-devel@m.gmane.org; Thu, 03 Oct 2019 10:24:17 +0200 Original-Received: from localhost ([::1]:33738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFwPG-0007xY-5I for ged-emacs-devel@m.gmane.org; Thu, 03 Oct 2019 04:24:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40016) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFwHq-0007D0-Si for emacs-devel@gnu.org; Thu, 03 Oct 2019 04:16:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFwHp-0003BG-Tf for emacs-devel@gnu.org; Thu, 03 Oct 2019 04:16:34 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:46043) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFwHp-0003Ap-K1; Thu, 03 Oct 2019 04:16:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570090589; bh=MuQvdmV3XzYFFXHHlBqgRuZH0bbbp6uY+MQOdMFKfs4=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=W/8KryiQBarI+VouW1KmhNnBvo/+E8qzEnyNB8gGKGEtpKbUfccOcQW9NBgIWvh5t l0OXuoIODZCUC9DPPqFycL11exf3yq1BxifLMer88vnHIQFCGa2zuPNG+dTIFq3hSP Y2adiYk/tfizZxY6AZ4+tUBJ/TBq9zbP+arT3cQM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([46.125.249.90]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MORAa-1iUrIZ009m-00Pqo4; Thu, 03 Oct 2019 10:16:29 +0200 In-Reply-To: <834l0r84at.fsf@gnu.org> Content-Language: de-AT X-Provags-ID: V03:K1:Oi2G+rVZ1HnrKaqBEdwr4PVzhEgHJjNPy/vZYwvVcex7HkHQea7 /isIjKEFbiGgUNITtaRqoaEX2/8gEbFhTNpi7crNxEe9mi8Qy4M6voRHsgI3kIT5jxCnSLn nYIhgNNCmnanzngcsGM9FSPGpWn3N26IM22SsA3nKiaCPtRsdGt9Hkjh/0d8N35WGT3LVfP Mbf/hdfN3aDJ++63b4cuQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:pxZDWYO+f8M=:2AXE4tLOix1PBtkcEWrSFm veZKVqpGVmBgSu0gtwIgXRGj4CLQyGC5TOhj+azQv8YpJlvrIVV6tK1xyyMyE01cwM5sdleNS cg0CI5xlPVKCciATECqGwkWjZOdmaR3mSceW32V7VEdpJHEYRa3QQBo+eUCkKv8I8AsnnQsjJ 9c+zElNVv8WS9TzJrxCYgeY485RyFA3ydVDBw67YIrNP3Jz+GhH1shhvkTY2Xs0/InlEAVxtk 38jLjNVHRImTVEfDRW74IvHU7Bu7ITwIZO/ZtNiz+GgFwx4tiAtveUgXE/owcKvvWvwcm8H0Z J7NJmt7eURmKJrxVDX//ASZWuDN018/gOTMxXOGsp3XHmkLBo5C16SzvBQy0515v4AqHiyEk2 W6kq+QmY2am/omRNRtkAa4PLUZ9r4PhSlrM9iBshqkSCpED74oraUEJGMiL76M31XQ9E1MDAh 7zyrIK+dq3ezk+/PoSbnGHUNlcEHfus/IIyu3+iDArmMo4pG1yBRTT6D3zeFfzKZ/Z0J1b+9w uDYzUtQ+XzQrDOjUuPFsfpNWFQmLN7fiRznfOzSuyB260KcXrpU7T6FZv1NHryeqXIpedvOOc 47cz2eOS2ejDuE75Cy4rkECuozOQKc2YfO7d+Fhpan6sPNuzkhj0xJPLBH3nuKO2vbhG5678Q lIZ6wrotcVXrbdw0c/vmxTBINyCQgzwI4Vmp1FwlTeOJOm1wjTVtcSy5uCaA6eFa3Rtn18seH mN2FrGOAHfCEHGGfi4Hh4edt3VVGWzG3/G8vfWgkVtYD1PjnxJtlG6WPgvd/WMeJNFr368zB X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.18 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240490 Archived-At: >> Tab-bar code is just a copy of tool-bar code. And indeed >> running `emacs -Q -f tool-bar-mode' that disables tool-bar-mode >> exposes the same problem: >> >> (let ((initial (assq 'outer-size (frame-geometry)))) >> (tool-bar-mode 1) >> (tool-bar-mode 0) >> (list (assq 'outer-size (frame-geometry)) initial)) >> >> => ((outer-size 680 . 693) (outer-size 680 . 676)) > > I don't see any problem here. As I understand it, the problem with > tab bars is twofold: > > . turning on tab-bar-mode on GUI frames behaves differently on > GNU/Linux and MS-Windows > > . turning on tab-bar-mode on TTY frames on MS-Windows produces a > broken frame > > We should fix these problems; what you show for tool bar is not a > problem, but the expected behavior, AFAICT. > > Martin, am I right? The behavior Juri reports for his GTK build is not right - the values should be the same. But I cannot reproduce it here. And I would not trust any recipe that asks for display and suppression of an external widget within two redisplays cycles. This way madness lies. But if the behavior is reproducible for emacs -Q -f tool-bar-mode and (progn (tool-bar-mode 1) (assq 'outer-size (frame-geometry))) (progn (tool-bar-mode 0) (assq 'outer-size (frame-geometry))) done in separate steps then we indeed have a problem with at least one window manager. Bug#16013 and friends are still open ... martin