unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30995: 25.3; Slow window and frame popup on Emacs 26+ (e.g. with Helm)
@ 2018-03-30  4:56 Pierre Neidhardt
  2018-03-30  5:07 ` Noam Postavsky
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Neidhardt @ 2018-03-30  4:56 UTC (permalink / raw)
  To: 30995


Since Emacs 26, I've noticed a slight delay (I'd say between 100ms and
500ms) in the creation of _some_ windows, most noticeably all Helm
windows.  This does not occur on Emacs 25.

I had initially reported the issue upstream to Helm:

	https://github.com/emacs-helm/helm/issues/1976

But its maintainer believes Helm is not to blame here.

I use EXWM but it is not clear whether the issue is rooted there either.

Any insight on what could slow down window/frame creation on Emacs 26?


In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.28)
 of 2018-03-25 built on localhost
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
Configured using:
 'configure
 CONFIG_SHELL=/gnu/store/mm0zclrzj3y7rj74hzyd0f224xly04fh-bash-minimal-4.4.12/bin/bash
 SHELL=/gnu/store/mm0zclrzj3y7rj74hzyd0f224xly04fh-bash-minimal-4.4.12/bin/bash
 --prefix=/gnu/store/6cflji7h6y0v15dvnccv7paaa7894gdc-emacs-25.3
 --enable-fast-install'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY ACL
GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11

Important settings:
  value of $LANG: en_US.utf8
  locale-coding-system: utf-8-unix

Major mode: EXWM
<#secure method=pgpmime mode=sign>

--
Pierre Neidhardt





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#30995: 25.3; Slow window and frame popup on Emacs 26+ (e.g. with Helm)
  2018-03-30  4:56 bug#30995: 25.3; Slow window and frame popup on Emacs 26+ (e.g. with Helm) Pierre Neidhardt
@ 2018-03-30  5:07 ` Noam Postavsky
  2018-04-12  7:41   ` Pierre Neidhardt
  0 siblings, 1 reply; 4+ messages in thread
From: Noam Postavsky @ 2018-03-30  5:07 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: 30995

notfound 30995 25.3
found 30995 26.1
quit

Pierre Neidhardt <ambrevar@gmail.com> writes:

> Since Emacs 26, I've noticed a slight delay (I'd say between 100ms and
> 500ms) in the creation of _some_ windows, most noticeably all Helm
> windows.  This does not occur on Emacs 25.
>
> I had initially reported the issue upstream to Helm:
>
> 	https://github.com/emacs-helm/helm/issues/1976
>
> But its maintainer believes Helm is not to blame here.
>
> I use EXWM but it is not clear whether the issue is rooted there either.
>
> Any insight on what could slow down window/frame creation on Emacs 26?

I think this might be a similar case to a recent emacs-devel thread[1].
Does changing x-wait-for-event-timeout affect things?  If so, it's
likely fixed in latest master by [2: 2a192e21cf] and [3: 00c1f771f2].

[1]: https://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00807.html

[2: 2a192e21cf]: 2018-03-29 19:11:47 -0400
  Don't wait for visible frames to become visible
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=2a192e21cf3b04b7f830b4971c1508c611e13a3c

[3: 00c1f771f2]: 2018-03-29 19:17:34 -0400
  * src/xterm.c (x_make_frame_visible): Fix typo in previous change.
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=00c1f771f2a51ffa675ec5a07ea330f2605cd302





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#30995: 25.3; Slow window and frame popup on Emacs 26+ (e.g. with Helm)
  2018-03-30  5:07 ` Noam Postavsky
@ 2018-04-12  7:41   ` Pierre Neidhardt
  2018-04-12 22:51     ` Noam Postavsky
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Neidhardt @ 2018-04-12  7:41 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: 30995

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]


	(setq x-wait-for-event-timeout nil)

fixed it for me on 26-RC1.  Thanks a lot!

-- 
Pierre Neidhardt

Extreme fear can neither fight nor fly.
		-- William Shakespeare, "The Rape of Lucrece"

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#30995: 25.3; Slow window and frame popup on Emacs 26+ (e.g. with Helm)
  2018-04-12  7:41   ` Pierre Neidhardt
@ 2018-04-12 22:51     ` Noam Postavsky
  0 siblings, 0 replies; 4+ messages in thread
From: Noam Postavsky @ 2018-04-12 22:51 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: 30995

tags 30995 fixed
close 30995 27.1
quit

Pierre Neidhardt <ambrevar@gmail.com> writes:

> 	(setq x-wait-for-event-timeout nil)
>
> fixed it for me on 26-RC1.  Thanks a lot!

Okay, that confirms it's the same issue as the emacs-devel thread.  I
expect to backport the fix in 26.2.  Marking the bug as fixed in v27 for
now.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-12 22:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-30  4:56 bug#30995: 25.3; Slow window and frame popup on Emacs 26+ (e.g. with Helm) Pierre Neidhardt
2018-03-30  5:07 ` Noam Postavsky
2018-04-12  7:41   ` Pierre Neidhardt
2018-04-12 22:51     ` Noam Postavsky

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).