GNU bug report logs - #53073
29.0.50; Emacs daemon --with-pgtk does not show modus-vivendi cursor

Previous Next

Package: emacs;

Reported by: Protesilaos Stavrou <info <at> protesilaos.com>

Date: Fri, 7 Jan 2022 11:03:01 UTC

Severity: normal

Merged with 51161, 52647

Found in versions 28.0.50, 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53073 in the body.
You can then email your comments to 53073 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#53073; Package emacs. (Fri, 07 Jan 2022 11:03:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Protesilaos Stavrou <info <at> protesilaos.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 07 Jan 2022 11:03:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Protesilaos Stavrou <info <at> protesilaos.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Emacs daemon --with-pgtk does not show modus-vivendi cursor
Date: Fri, 07 Jan 2022 13:02:00 +0200
[Message part 1 (text/plain, inline)]
Dear maintainers,

While using the pgtk build, any emacsclient frame that starts the daemon
fails to show the cursor on the current window when the active theme is
'modus-vivendi'.

Steps to reproduce:

* Include just the following in the 'init.el' file:

    (add-hook 'after-init-hook (lambda () (load-theme 'modus-vivendi)))

* Launch Emacs with:

    emacsclient -c -a ''

* Notice that the cursor is not visible in the scratch buffer.

* Type 'C-h o' (or 'M-x describe-symbol') and search for 'cursor'.

* In the resulting Help buffer, notice that the background attribute is
  "#ffffff" (white), which is correct.

* No white cursor is visible (see attached screenshot).

Original report: <https://github.com/protesilaos/modus-themes/issues/7>.

* * *

In GNU Emacs 29.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.17.4)
 of 2022-01-03 built on kronos
Repository revision: ab5ee3e29e916d4009b301841e9780aad564a6a0
Repository branch: makepkg
System Description: Arch Linux

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
 --with-sound=alsa --with-modules --without-libotf --without-m17n-flt
 --without-gconf --without-gsettings --with-native-compilation
 --with-xinput2 --with-pgtk --without-xaw3d --with-sound=no
 --without-gpm --without-compress-install
 '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
 -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
 -fstack-clash-protection -fcf-protection'
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
 -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
 -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS''


system-configuration-features
=> "ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG JSON LCMS2
LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG
RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XIM GTK3
ZLIB"

* * *

Thank you for your time!

All the best,
Protesilaos

-- 
Protesilaos Stavrou
https://protesilaos.com
[screenshot_region_2022-01-07-12:46:50.png (image/png, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53073; Package emacs. (Fri, 07 Jan 2022 12:04:02 GMT) Full text and rfc822 format available.

Message #8 received at 53073 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Protesilaos Stavrou <info <at> protesilaos.com>
Cc: 53073 <at> debbugs.gnu.org
Subject: Re: bug#53073: 29.0.50; Emacs daemon --with-pgtk does not show
 modus-vivendi cursor
Date: Fri, 07 Jan 2022 20:03:17 +0800
Thanks, this should be fixed now.  Please test.

BTW, I recall this same bug being reported one (or perhaps two times?)
from before the PGTK code was installed on master.

Would someone please volunteer to find and merge those bugs with this
one?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53073; Package emacs. (Fri, 07 Jan 2022 15:33:02 GMT) Full text and rfc822 format available.

Message #11 received at 53073 <at> debbugs.gnu.org (full text, mbox):

From: Protesilaos Stavrou <info <at> protesilaos.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 53073 <at> debbugs.gnu.org
Subject: Re: bug#53073: 29.0.50; Emacs daemon --with-pgtk does not show
 modus-vivendi cursor
Date: Fri, 07 Jan 2022 17:32:16 +0200
On 2022-01-07, 20:03 +0800, Po Lu <luangruo <at> yahoo.com> wrote:

> Thanks, this should be fixed now.  Please test.

I tested it and can confirm that it works.  Thank you!

> BTW, I recall this same bug being reported one (or perhaps two times?)
> from before the PGTK code was installed on master.

The one I am aware of is bug#51161:
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51161>.

> Would someone please volunteer to find and merge those bugs with this
> one?

On emacs.git the admin/notes/bugtracker file has a section on how to
merge bugs, but I have not done that before and prefer not to mess
things up.

-- 
Protesilaos Stavrou
https://protesilaos.com




Merged 52647 53073. Request was from Morgan Smith <Morgan.J.Smith <at> outlook.com> to control <at> debbugs.gnu.org. (Fri, 07 Jan 2022 21:25:01 GMT) Full text and rfc822 format available.

Merged 51161 52647 53073. Request was from Morgan Smith <Morgan.J.Smith <at> outlook.com> to control <at> debbugs.gnu.org. (Fri, 07 Jan 2022 21:25:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53073; Package emacs. (Fri, 07 Jan 2022 21:33:01 GMT) Full text and rfc822 format available.

Message #18 received at 53073 <at> debbugs.gnu.org (full text, mbox):

From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Protesilaos Stavrou <info <at> protesilaos.com>, 53073 <at> debbugs.gnu.org
Subject: Re: bug#53073: 29.0.50; Emacs daemon --with-pgtk does not show
 modus-vivendi cursor
Date: Fri, 07 Jan 2022 16:32:21 -0500
Po Lu <luangruo <at> yahoo.com> writes:
> Thanks, this should be fixed now.  Please test.
I'll test this tonight and get back to you.  I also experienced this bug.

> BTW, I recall this same bug being reported one (or perhaps two times?)
> from before the PGTK code was installed on master.
I think I merged the other bug reports.  They where 52647 and 51161.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53073; Package emacs. (Fri, 07 Jan 2022 22:35:02 GMT) Full text and rfc822 format available.

Message #21 received at 53073 <at> debbugs.gnu.org (full text, mbox):

From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Protesilaos Stavrou <info <at> protesilaos.com>, 51161 <at> debbugs.gnu.org,
 53073 <at> debbugs.gnu.org
Subject: Re: bug#51161: 28.0.50; Wrong cursor face in new frame with pgtk
Date: Fri, 07 Jan 2022 17:34:31 -0500
I tested with commit 5136f5333ba693b478eb450d298ce75679062937 and the
bug is gone!  Thank you so much!




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53073; Package emacs. (Sat, 08 Jan 2022 00:42:02 GMT) Full text and rfc822 format available.

Message #24 received at 53073-done <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Morgan Smith <Morgan.J.Smith <at> outlook.com>
Cc: Protesilaos Stavrou <info <at> protesilaos.com>, 51161-done <at> debbugs.gnu.org,
 53073-done <at> debbugs.gnu.org
Subject: Re: bug#51161: 28.0.50; Wrong cursor face in new frame with pgtk
Date: Sat, 08 Jan 2022 08:41:25 +0800
Morgan Smith <Morgan.J.Smith <at> outlook.com> writes:

> I tested with commit 5136f5333ba693b478eb450d298ce75679062937 and the
> bug is gone!  Thank you so much!

Thanks, closing.

I hope it's okay to Cc two bug done addresses.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 05 Feb 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 52 days ago.

Previous Next


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