GNU bug report logs - #46827
Broken initial size of GTK3 frame

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Sun, 28 Feb 2021 09:32:01 UTC

Severity: normal

Tags: fixed

Fixed in version 28.1

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Juri Linkov <juri <at> linkov.net>
Cc: 46827 <at> debbugs.gnu.org
Subject: bug#46827: Broken initial size of GTK3 frame
Date: Thu, 13 May 2021 09:54:16 +0200
> 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




This bug report was last modified 4 years and 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.