GNU bug report logs - #19776
25.0.50; HTML rendering is very slow

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Wed, 4 Feb 2015 23:04:02 UTC

Severity: minor

Merged with 22846

Found in versions 25.0.50, 25.0.91

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 19776 <at> debbugs.gnu.org, dmantipov <at> yandex.ru, stefan <at> marxist.se, schwab <at> linux-m68k.org, monnier <at> iro.umontreal.ca, rms <at> gnu.org
Subject: bug#19776: The hourglass
Date: Mon, 25 Oct 2021 18:41:10 +0200
When not using the timerfd stuff, the hourglass timer is triggered
correctly even when busy-looping like this:

(while t)

But it's not actually displayed until there's a keyboard/mouse event, or
redisplay is triggered otherwise.  So it's this code:

static void
x_show_hourglass (struct frame *f)
{
[...]
             x->hourglass_window = XCreateWindow
               (dpy, parent, 0, 0, 32000, 32000, 0, 0,
                InputOnly, CopyFromParent, mask, &attrs);
           }

         XMapRaised (dpy, x->hourglass_window);
         XFlush (dpy);
       }
    }
}

If I stick a call to Fredisplay in there, then it'll actually display
the hourglass, but that seems rather heavy-handed.  What's the proper
way to trigger the redisplay here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





This bug report was last modified 3 years and 206 days ago.

Previous Next


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