unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Protesilaos Stavrou <info@protesilaos.com>
To: alternateved@gmail.com, 51161@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	[thread overview]
Message-ID: <871r4qf6c6.fsf@protesilaos.com> (raw)
In-Reply-To: <875yu2plde.fsf@gmail.com>

On 2021-10-12, 12:50 +0200, Tomasz Hołubowicz <alternateved@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

  reply	other threads:[~2021-10-12 18:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-12 10:50 bug#51161: 28.0.50; Wrong cursor face in new frame with pgtk Tomasz Hołubowicz
2021-10-12 18:25 ` Protesilaos Stavrou [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-07 11:02 bug#53073: 29.0.50; Emacs daemon --with-pgtk does not show modus-vivendi cursor Protesilaos Stavrou
2022-01-07 12:03 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-07 21:32   ` Morgan Smith
2022-01-07 22:34     ` bug#51161: 28.0.50; Wrong cursor face in new frame with pgtk Morgan Smith
2022-01-08  0:41       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871r4qf6c6.fsf@protesilaos.com \
    --to=info@protesilaos.com \
    --cc=51161@debbugs.gnu.org \
    --cc=alternateved@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).