GNU bug report logs - #51161
28.0.50; Wrong cursor face in new frame with pgtk

Previous Next

Package: emacs;

Reported by: Tomasz Hołubowicz <alternateved <at> gmail.com>

Date: Tue, 12 Oct 2021 15:03:01 UTC

Severity: normal

Merged with 52647, 53073

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.

Full log


View this message in rfc822 format

From: Protesilaos Stavrou <info <at> protesilaos.com>
To: alternateved <at> gmail.com, 51161 <at> debbugs.gnu.org
Subject: bug#51161: 28.0.50; Wrong cursor face in new frame with pgtk
Date: Tue, 12 Oct 2021 21:25:45 +0300
On 2021-10-12, 12:50 +0200, Tomasz Hołubowicz <alternateved <at> gmail.com> wrote:

> Bug happens while using pgtk branch (with native comp option
> enabled). Using the same configuration file with only native comp option
> enabled did not triggered the bug.
>
> When creating new frame while using modus-vivendi theme the cursor face
> instead of using the theme color, used the color of the underlying
> character - when on blue character, the cursor is blue and the character
> takes the background color, when on background the cursor takes
> background color which makes it invisible. 
>
> Bug could not be reproduced by starting Emacs with 'emacs -Q' since
> whenever the theme is loaded or reloaded the bug ceases to exist and
> Emacs can be used normally.

Thank you Tomasz for reporting this upstream!  As I noted in my issue
tracker and based on what you describe here, this must not be a bug with
the modus-themes but with the feature/pgtk branch.

I am, nonetheless, monitoring the issue and am prepared to support the
maintainers if they need any further input from my side.

> Cursor face definition is a simple code below (from modus-themes.el):
> `(cursor ((,class :background ,fg-main)))

Just to expand on this: the 'cursor' face for the modus-vivendi theme is
very simple in that it just uses a white colour for the background
attribute.

Because the two modus-themes (modus-operandi and modus-vivendi) are
derived from the same source, if there was a problem here it should also
occur in modus-operandi, whose 'cursor' uses a black background.

-- 
Protesilaos Stavrou
https://protesilaos.com

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

Previous Next


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