From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#46827: Broken initial size of GTK3 frame Date: Thu, 13 May 2021 09:54:16 +0200 Message-ID: <7f7d8029-1b32-fae7-837a-fe0c65281510@gmx.at> References: <6caa020a-084c-e3f2-7a34-262f7127b21b@gmx.at> <87eeerwvoq.fsf@mail.linkov.net> <9cde65ef-b150-121b-bd7f-5852406180c1@gmx.at> <87bl9uqjuq.fsf@mail.linkov.net> <874kfk50f4.fsf@mail.linkov.net> <7e503d11-5cd0-9ed7-e75a-5977eb5ecf3a@gmx.at> <3096e1f1-0090-5892-c752-bd82d974214e@gmx.at> <871ranagzo.fsf@mail.linkov.net> <9736f3c8-157c-423d-55ad-21118c48d939@gmx.at> <93f1d912-a26f-ccf9-926b-731ad02d7734@gmx.at> <87sg32chgv.fsf@mail.linkov.net> <63e9cb33-afc0-8e9c-4e35-78f5e504eb47@gmx.at> <87h7jhgiqs.fsf@mail.linkov.net> <87o8dmppdn.fsf@mail.linkov.net> <6565dd1a-5933-00e3-4427-c713aa36d6d5@gmx.at> <87r1iexuoc.fsf@mail.linkov.net> <8735utyyla.fsf@mail.linkov.net> <62983626-60c1-5d8b-7ad6-67c65b408195@gmx.at> <87y2cjvp2s.fsf@mail.linkov.net> 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="16572"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46827@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 13 09:55:37 2021 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 1lh6C0-0004Be-Sb for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 May 2021 09:55:36 +0200 Original-Received: from localhost ([::1]:53394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lh6Bz-0007SU-VJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 May 2021 03:55:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh6BS-0006b1-Gj for bug-gnu-emacs@gnu.org; Thu, 13 May 2021 03:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57945) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lh6BS-0005vb-89 for bug-gnu-emacs@gnu.org; Thu, 13 May 2021 03:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lh6BS-0004Mg-7Y for bug-gnu-emacs@gnu.org; Thu, 13 May 2021 03:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 May 2021 07:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46827 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 46827-submit@debbugs.gnu.org id=B46827.162089246616732 (code B ref 46827); Thu, 13 May 2021 07:55:02 +0000 Original-Received: (at 46827) by debbugs.gnu.org; 13 May 2021 07:54:26 +0000 Original-Received: from localhost ([127.0.0.1]:41257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lh6As-0004Lo-Hf for submit@debbugs.gnu.org; Thu, 13 May 2021 03:54:26 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:34027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lh6Aq-0004La-MJ for 46827@debbugs.gnu.org; Thu, 13 May 2021 03:54:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620892458; bh=4OsdaCVHft7ld96MHlnJzHbPHnI0L42GECViiLFle+s=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=Lla5BFIWBLzi2zIo6sQfLlyuyFjpFjw6YiuOSyYAOGXW/6w67ACxOC2NHt8GNlDqy x3dyE1Bg4EtNdJN4SA7hmCQ533EmXdAN4F31DGKn52WrNnQzsYFs1wy1+HdmoC+xB5 RKJsVkNyfnFLI0UvbF3YFQkltfxgueD1RJA6rIG4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([213.142.96.164]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mv31W-1lPIJ008yO-00qxoo; Thu, 13 May 2021 09:54:18 +0200 In-Reply-To: <87y2cjvp2s.fsf@mail.linkov.net> Content-Language: en-US X-Provags-ID: V03:K1:zfQlfX2qSzxRTd2PA1jSezLmysAyEyem+EiFWcbtuA96zfHcTla Xv9ESeKI/jrSDgdPfwOyLonHwHrZqrQtbPThVSKbuKFh1P+4iUnO134/gYtAZ+hHjux167u 9/Nu06qTDPmmRLRuzSrMecPyTipjiSD2vKf+KjaPlzh6KLiH0g72JdNLB8GeCMG0fMadCH3 QN9YfmUp78vqdrGyjoRNA== X-UI-Out-Filterresults: notjunk:1;V03:K0:hF0CkjTSURQ=:KvqWQUFEt4IM5lV/yHJqm0 l2r9D1mDnri2E1y6m1Y5nStz/ggr3I+ew4Nig9zDl/H1NcPrarAiEaoZw9iXSQcd8pz3qsNbe bcYGkWS6LE2JSBB2qaQzQaNdCmqAajoeY9+TVaJ5+qpbniP+HTc5qYL8Ds31TYxr1raZpAOLQ +ayVQQFrZeHCx9zDt/b9L9BJG3Lakox9RjZyW/9aLhkSLc/9VviffGiNeHFxK5KPsjc7mvU8Y fxETrDq9klx871upFnoOevFt/GA/fmfOismPejhdNvL4OmP0g6WPwBXyX3r2lhNn6qJwVjU+g FDHixiT/sBs7RGm5yK7OysgOYBXBMvl2GzCJJnWspKYflFW5EmhVhX/4vhkbn4Itjkq3cam8p dOIpuLk/tZuGenl26TGlgF9rMYqEL9b7Uc0NofSeoeyG69K2on2+4EU6M14FiU/0bzO6SMBeq djTn2UDLX9egOaWf24dQfbnG/4veVeqEM8UojI2pJHezUvJoqGQZTYgF7Zo+JDLZJR583iDwY MFhCo6K0gE5ICiHqwQJGBlXEtd6FnVFwnKcK0ejyfgvfvzBKwk6wqFHVOkQWnzdU8d88bbYcG 3cS/+xwNHBiuFau0gS6DqvPieYNLabDRQHvJ4ASodWPygaTbj2b6yZiFXxNJxWDx1i8Ov2Wg2 zV+X/38/hNMb04fAnkCpCtBVCciroBwAGQJgijRqyTgSZLeDrCDIQDWIH5aJQIy7cSZ5aZ5kN UyJNUloBUZH4QcgzKjZgXd2iiGg4kvp9tvYvf9GL5EXnWv66FgMMZaJHvCttlixTJNq0FVwX 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:206403 Archived-At: > Isn't this a bug that the tool bar and menu bar incorrectly calculate lines? The lines are calculated correctly by rounding up when we divide the object's pixel height by the default character height of the frame. But that calculated value is useless on a GUI. >> Note: In practice we care only about zero or not zero here. > > It could also help to detect the situation when lines are wrapped. For internal objects (like the Lucid or Windows tool bar or your tab bars) only the display engine can reliable do that. For external objects (like the Motif or Windows menu bars) detecting wrapping is unreliable anyway. martin