unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#52294: 28.0.90; Large delay between clicking tool-bar item and it displaying as depressed
       [not found] <87bl1vshx8.fsf.ref@yahoo.com>
@ 2021-12-05  6:04 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-12-05  8:25   ` Eli Zaretskii
  0 siblings, 1 reply; 13+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-12-05  6:04 UTC (permalink / raw)
  To: 52294


Clicking any tab bar button doesn't result in it being immediately
displaying as depressed: instead, you have to move the mouse and wait a
few seconds for it to be displayed that way.

On X-Windows builds without toolkit tool bars, the depressed appearance
is displayed immediately.

In GNU Emacs 28.0.90 (build 1, i686-pc-mingw32)
 of 2021-12-05 built on DESKTOP-IHBUNG7
Windowing system distributor 'Microsoft Corp.', version 10.0.22000
System Description: Microsoft Windows 10 Enterprise (v10.0.2009.22000.318)

Configured using:
 'configure --with-gnutls=ifavailable --prefix=/emacs-28.0.90/../prefix'

Configured features:
ACL MODULES NOTIFY W32NOTIFY PDUMPER SOUND THREADS TOOLKIT_SCROLL_BARS

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1252

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail
rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json map text-property-search seq byte-opt
gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils time-date subr-x cl-loaddefs
cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel dos-w32 ls-lisp disp-table
term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice
button loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads w32notify w32 multi-tty
make-network-process emacs)

Memory information:
((conses 8 53739 11225)
 (symbols 24 6687 1)
 (strings 16 19706 1714)
 (string-bytes 1 624351)
 (vectors 8 13634)
 (vector-slots 4 183149 16554)
 (floats 8 24 316)
 (intervals 28 318 5)
 (buffers 584 12))





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

* bug#52294: 28.0.90; Large delay between clicking tool-bar item and it displaying as depressed
  2021-12-05  6:04 ` bug#52294: 28.0.90; Large delay between clicking tool-bar item and it displaying as depressed Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-12-05  8:25   ` Eli Zaretskii
  2021-12-05  8:35     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2021-12-05  8:25 UTC (permalink / raw)
  To: Po Lu; +Cc: 52294

> Date: Sun, 05 Dec 2021 14:04:09 +0800
> From:  Po Lu via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> 
> Clicking any tab bar button doesn't result in it being immediately
> displaying as depressed: instead, you have to move the mouse and wait a
> few seconds for it to be displayed that way.

I cannot reproduce that.  Here the reaction is immediate.

Please try to profile Emacs when you press the tab, maybe it will give
some hints.






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

* bug#52294: 28.0.90; Large delay between clicking tool-bar item and it displaying as depressed
  2021-12-05  8:25   ` Eli Zaretskii
@ 2021-12-05  8:35     ` Lars Ingebrigtsen
  2021-12-05  8:57       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 13+ messages in thread
From: Lars Ingebrigtsen @ 2021-12-05  8:35 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Po Lu, 52294

Eli Zaretskii <eliz@gnu.org> writes:

>> Clicking any tab bar button doesn't result in it being immediately
>> displaying as depressed: instead, you have to move the mouse and wait a
>> few seconds for it to be displayed that way.
>
> I cannot reproduce that.  Here the reaction is immediate.
>
> Please try to profile Emacs when you press the tab, maybe it will give
> some hints.

It's a bit unclear whether this is about the tool bar (mentioned in the
subject) or the tab bar (in the body of the article)...

I can't reproduce this in any case on Debian/bookworm.

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





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

* bug#52294: 28.0.90; Large delay between clicking tool-bar item and it displaying as depressed
  2021-12-05  8:35     ` Lars Ingebrigtsen
@ 2021-12-05  8:57       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-12-05  9:05         ` Eli Zaretskii
  0 siblings, 1 reply; 13+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-12-05  8:57 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 52294, Eli Zaretskii

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> Clicking any tab bar button doesn't result in it being immediately
>>> displaying as depressed: instead, you have to move the mouse and wait a
>>> few seconds for it to be displayed that way.
>>
>> I cannot reproduce that.  Here the reaction is immediate.
>>
>> Please try to profile Emacs when you press the tab, maybe it will give
>> some hints.
>
> It's a bit unclear whether this is about the tool bar (mentioned in the
> subject) or the tab bar (in the body of the article)...

I meant to say toolbar.  Sorry for not reading the report thoroughly
before sending.

> I can't reproduce this in any case on Debian/bookworm.

It only happens on MS-Windows.






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

* bug#52294: 28.0.90; Large delay between clicking tool-bar item and it displaying as depressed
  2021-12-05  8:57       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-12-05  9:05         ` Eli Zaretskii
  2021-12-05  9:22           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2021-12-05  9:05 UTC (permalink / raw)
  To: Po Lu; +Cc: 52294, larsi

> From: Po Lu <luangruo@yahoo.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,  52294@debbugs.gnu.org
> Date: Sun, 05 Dec 2021 16:57:56 +0800
> 
> Lars Ingebrigtsen <larsi@gnus.org> writes:
> 
> > It's a bit unclear whether this is about the tool bar (mentioned in the
> > subject) or the tab bar (in the body of the article)...
> 
> I meant to say toolbar.  Sorry for not reading the report thoroughly
> before sending.

I cannot reproduce the issue with the tool bar, either.  The reaction
is immediate here.





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

* bug#52294: 28.0.90; Large delay between clicking tool-bar item and it displaying as depressed
  2021-12-05  9:05         ` Eli Zaretskii
@ 2021-12-05  9:22           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-12-05 20:46             ` Lars Ingebrigtsen
  2021-12-06 12:35             ` Eli Zaretskii
  0 siblings, 2 replies; 13+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-12-05  9:22 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 52294, larsi

Eli Zaretskii <eliz@gnu.org> writes:

> I cannot reproduce the issue with the tool bar, either.  The reaction
> is immediate here.

FWIW, I don't see the problem on Windows XP, but it's there on every
computer running Windows 10 I tried, and also under Wine.





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

* bug#52294: 28.0.90; Large delay between clicking tool-bar item and it displaying as depressed
  2021-12-05  9:22           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-12-05 20:46             ` Lars Ingebrigtsen
  2021-12-06  0:46               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-12-06 12:35             ` Eli Zaretskii
  1 sibling, 1 reply; 13+ messages in thread
From: Lars Ingebrigtsen @ 2021-12-05 20:46 UTC (permalink / raw)
  To: Po Lu; +Cc: 52294

Po Lu <luangruo@yahoo.com> writes:

> FWIW, I don't see the problem on Windows XP, but it's there on every
> computer running Windows 10 I tried, and also under Wine.

I tried this in Windows 11 (in a MingW build), and I couldn't reproduce
it:

emacs -Q
Insert some text into *scratch*
Click on the "undo" tool bar item

The "undo" button updates immediately for me.

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





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

* bug#52294: 28.0.90; Large delay between clicking tool-bar item and it displaying as depressed
  2021-12-05 20:46             ` Lars Ingebrigtsen
@ 2021-12-06  0:46               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-12-06  0:49                 ` Lars Ingebrigtsen
  2021-12-06 12:38                 ` Eli Zaretskii
  0 siblings, 2 replies; 13+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-12-06  0:46 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 52294, Eli Zaretskii

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Po Lu <luangruo@yahoo.com> writes:
>
>> FWIW, I don't see the problem on Windows XP, but it's there on every
>> computer running Windows 10 I tried, and also under Wine.
>
> I tried this in Windows 11 (in a MingW build), and I couldn't reproduce
> it:
>
> emacs -Q
> Insert some text into *scratch*
> Click on the "undo" tool bar item
>
> The "undo" button updates immediately for me.

Was that build 32-bit?

That could perhaps be related.





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

* bug#52294: 28.0.90; Large delay between clicking tool-bar item and it displaying as depressed
  2021-12-06  0:46               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-12-06  0:49                 ` Lars Ingebrigtsen
  2021-12-06 12:38                 ` Eli Zaretskii
  1 sibling, 0 replies; 13+ messages in thread
From: Lars Ingebrigtsen @ 2021-12-06  0:49 UTC (permalink / raw)
  To: Po Lu; +Cc: 52294

Po Lu <luangruo@yahoo.com> writes:

> Was that build 32-bit?
>
> That could perhaps be related.

My build is 64-bit, so perhaps.

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





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

* bug#52294: 28.0.90; Large delay between clicking tool-bar item and it displaying as depressed
  2021-12-05  9:22           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-12-05 20:46             ` Lars Ingebrigtsen
@ 2021-12-06 12:35             ` Eli Zaretskii
  2021-12-06 13:26               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2021-12-06 12:35 UTC (permalink / raw)
  To: Po Lu; +Cc: 52294, larsi

> From: Po Lu <luangruo@yahoo.com>
> Cc: larsi@gnus.org,  52294@debbugs.gnu.org
> Date: Sun, 05 Dec 2021 17:22:44 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > I cannot reproduce the issue with the tool bar, either.  The reaction
> > is immediate here.
> 
> FWIW, I don't see the problem on Windows XP, but it's there on every
> computer running Windows 10 I tried, and also under Wine.

Can you try Emacs 27 on those systems?  I don't currently have Emacs
28 on any Windows 10 box to which I have access, and it doesn't happen
with Emacs 27 there.





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

* bug#52294: 28.0.90; Large delay between clicking tool-bar item and it displaying as depressed
  2021-12-06  0:46               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-12-06  0:49                 ` Lars Ingebrigtsen
@ 2021-12-06 12:38                 ` Eli Zaretskii
  1 sibling, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2021-12-06 12:38 UTC (permalink / raw)
  To: Po Lu; +Cc: 52294, larsi

> From: Po Lu <luangruo@yahoo.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,  52294@debbugs.gnu.org
> Date: Mon, 06 Dec 2021 08:46:41 +0800
> 
> Lars Ingebrigtsen <larsi@gnus.org> writes:
> 
> > Po Lu <luangruo@yahoo.com> writes:
> >
> >> FWIW, I don't see the problem on Windows XP, but it's there on every
> >> computer running Windows 10 I tried, and also under Wine.
> >
> > I tried this in Windows 11 (in a MingW build), and I couldn't reproduce
> > it:
> >
> > emacs -Q
> > Insert some text into *scratch*
> > Click on the "undo" tool bar item
> >
> > The "undo" button updates immediately for me.
> 
> Was that build 32-bit?
> 
> That could perhaps be related.

I don't see how this would be related, but all my builds are 32-bit,
FWIW.





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

* bug#52294: 28.0.90; Large delay between clicking tool-bar item and it displaying as depressed
  2021-12-06 12:35             ` Eli Zaretskii
@ 2021-12-06 13:26               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-12-06 13:57                 ` Eli Zaretskii
  0 siblings, 1 reply; 13+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-12-06 13:26 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 52294, larsi

Eli Zaretskii <eliz@gnu.org> writes:

> Can you try Emacs 27 on those systems?  I don't currently have Emacs
> 28 on any Windows 10 box to which I have access, and it doesn't happen
> with Emacs 27 there.

It works with Emacs 27.2.





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

* bug#52294: 28.0.90; Large delay between clicking tool-bar item and it displaying as depressed
  2021-12-06 13:26               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-12-06 13:57                 ` Eli Zaretskii
  0 siblings, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2021-12-06 13:57 UTC (permalink / raw)
  To: Po Lu; +Cc: 52294, larsi

> From: Po Lu <luangruo@yahoo.com>
> Cc: larsi@gnus.org,  52294@debbugs.gnu.org
> Date: Mon, 06 Dec 2021 21:26:36 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Can you try Emacs 27 on those systems?  I don't currently have Emacs
> > 28 on any Windows 10 box to which I have access, and it doesn't happen
> > with Emacs 27 there.
> 
> It works with Emacs 27.2.

Which you compiled?  Or someone else?

Anyway, I'm surprised that this could be somehow due to Emacs's code.
The MS-Windows implementation of the tool bar is entirely within
Emacs, so maybe profiling that could give some ideas?





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

end of thread, other threads:[~2021-12-06 13:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87bl1vshx8.fsf.ref@yahoo.com>
2021-12-05  6:04 ` bug#52294: 28.0.90; Large delay between clicking tool-bar item and it displaying as depressed Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-05  8:25   ` Eli Zaretskii
2021-12-05  8:35     ` Lars Ingebrigtsen
2021-12-05  8:57       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-05  9:05         ` Eli Zaretskii
2021-12-05  9:22           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-05 20:46             ` Lars Ingebrigtsen
2021-12-06  0:46               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-06  0:49                 ` Lars Ingebrigtsen
2021-12-06 12:38                 ` Eli Zaretskii
2021-12-06 12:35             ` Eli Zaretskii
2021-12-06 13:26               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-06 13:57                 ` Eli Zaretskii

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).