Received: (at submit) by debbugs.gnu.org; 19 May 2026 15:39:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 19 11:39:12 2026
Received: from localhost ([127.0.0.1]:45472 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wPMXI-000557-5X
for submit <at> debbugs.gnu.org; Tue, 19 May 2026 11:39:12 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:52548)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <triska@HIDDEN>)
id 1wPMXE-00054q-Et
for submit <at> debbugs.gnu.org; Tue, 19 May 2026 11:39:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <triska@HIDDEN>)
id 1wPMX9-0002Ry-0u
for bug-gnu-emacs@HIDDEN; Tue, 19 May 2026 11:39:03 -0400
Received: from [78.47.144.35] (helo=metalevel.at)
by eggs.gnu.org with esmtp (Exim 4.90_1)
(envelope-from <triska@HIDDEN>) id 1wPMX6-00048g-M5
for bug-gnu-emacs@HIDDEN; Tue, 19 May 2026 11:39:02 -0400
Received: from zenbook.localdomain (localhost [127.0.0.1])
by metalevel.at (Postfix) with ESMTP id 46E7D9C791;
Tue, 19 May 2026 17:32:02 +0200 (CEST)
Received: by zenbook.localdomain (Postfix, from userid 1000)
id 1172A330005F; Tue, 19 May 2026 17:32:03 +0200 (CEST)
From: Markus Triska <triska@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.60; Sometimes only upper parts of text are unexpectedly displayed
X-Debbugs-Cc:
Date: Tue, 19 May 2026 17:32:02 +0200
Message-ID: <87jysz2z65.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Host-Lookup-Failed: Reverse DNS lookup failed for 78.47.144.35 (failed)
Received-SPF: none client-ip=78.47.144.35; envelope-from=triska@HIDDEN;
helo=metalevel.at
X-Spam_score_int: -10
X-Spam_score: -1.1
X-Spam_bar: -
X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793,
SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
Cc: martin rudalics <rudalics@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
To reproduce this issue, please put the following code in a file called
frameglitch.el, and then invoke Emacs with:
$ emacs -Q -l frameglitch.el
The expectation is that "Hello!" is fully visibly displayed. However,
sometimes but not always, only an upper part of the letters is visible.
Press a key to return to regular Emacs interaction. You can do:
M-x eval-buffer RET
on frameglitch.el as often as you like, and sometimes "Hello!" is fully
visible, and sometimes not.
The example consistently works exactly as expected for example in Emacs
versions 26.1, 29.1 and 30.2, where "Hello!" is always fully visible.
The contents of frameglitch.el follow below.
Please let me know any time if anything else is needed.
Thank you and all the best,
Markus
;; -*- lexical-binding: t; -*-
(defun glitching-frame (x y)
(tool-bar-mode -1)
(menu-bar-mode -1)
(let* ((width 200)
(height 100)
(frame (make-frame `((parent-frame . ,(selected-frame))
(minibuffer . nil)
(left . ,x)
(top . ,y)
(internal-border-width . 0)
(vertical-scroll-bars . nil)
(left-fringe . 0)
(right-fringe . 0)
(no-special-glyphs . t) ; see #52929
;; not setting the width/height causes
;; mode line flickering (see #52666)
(width . (text-pixels . ,width))
(height . (text-pixels . ,height)))))
(buf (get-buffer-create "showing the text")))
(set-face-attribute 'default frame :height 12)
(set-frame-width frame width nil t)
(set-frame-height frame height nil t)
(with-selected-frame frame
(switch-to-buffer buf)
(erase-buffer)
(insert (propertize "Hello!" 'face '(:height 300)))
(setq cursor-type nil
mode-line-format nil))
frame))
(let ((f (glitching-frame 0 0)))
(read-key)
(delete-frame f))
In GNU Emacs 31.0.60 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw
scroll bars) of 2026-05-19 built on notebook
Repository revision: e90cafc2886dec40d241db16cc5cf89d44d34502
Repository branch: emacs-31
Windowing system distributor 'The X.Org Foundation', version 11.0.12101016
System Description: Debian GNU/Linux 13 (trixie)
Configured using:
'configure --without-cairo --with-x-toolkit=lucid
--with-xpm=ifavailable --with-gif=ifavailable --with-tiff=ifavailable
--with-gnutls=ifavailable'
Configured features:
FREETYPE GLIB GMP GSETTINGS HARFBUZZ JPEG LIBXML2 MODULES NOTIFY INOTIFY
PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11
XDBE XFT XIM XPM LUCID ZLIB
Important settings:
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
Markus Triska <triska@HIDDEN>:bug-gnu-emacs@HIDDEN.
Full text available.bug-gnu-emacs@HIDDEN:bug#81077; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.