[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52914: 29.0.50; pgtk menu lag using mouse - very slow for menu item
From: |
Po Lu |
Subject: |
bug#52914: 29.0.50; pgtk menu lag using mouse - very slow for menu item to appear/disappear |
Date: |
Fri, 31 Dec 2021 21:40:11 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) |
bhrgunatha <bhrgunatha@gmail.com> writes:
> Using the new pgtk flag to compile, menu bar items are very slow to
> appear using a mouse e.g. clicking the Tools menu, the menu appears
> after about a second delay.
Could you please set a breakpoint on `menu_bar_button_pressed_cb' in
gtkutil.c, and see how many times it is called?
That callback being triggered too rapidly seems to be the most likely
problem.
> Using --with-x-toolkit=gtk3 instead of --with-pgtk does not lag.
By the way, are you running Emacs on Wayland?
If not, I recommend you use the regular X build instead, since it is
simply superior to the PGTK port.
Thanks.