unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: "Basil L. Contovounesios" <contovob@tcd.ie>
Cc: 46493@debbugs.gnu.org, yuuki harano <masm+emacs@masm11.me>
Subject: bug#46493: [feature/pgtk] Low contrast region face
Date: Sat, 13 Feb 2021 23:12:48 +0200	[thread overview]
Message-ID: <53279abd-90ee-6f2c-63c6-9a8bd8b4d14d@yandex.ru> (raw)
In-Reply-To: <878s7rheq1.fsf@tcd.ie>

On 13.02.2021 22:53, Basil L. Contovounesios wrote:
> Dmitry Gutov <dgutov@yandex.ru> writes:
> 
>> On 13.02.2021 18:55, Basil L. Contovounesios wrote:
>>> X-Debbugs-Cc: Yuuki Harano <masm+emacs@masm11.me>
>>> Severity: wishlist
>>> On master:
>>> 0. emacs -Q
>>> 1. M-2 M-b
>>> 2. M-2 M-@
>>
>> That's not a GTK3 build, though, right?
> 
> configure.ac suggests otherwise:
> 
>    pgtk )
>      term_header=pgtkterm.h
>      with_gtk3=yes
>      USE_X_TOOLKIT=none
>    ;;
> 
> As does the GTK3 seen in the system-configuration-features part of my
> signature in the OP.

No, I'm talking about your "reference" screenshot.

You are not comparing pgtk to the GTK3 build, which I think should be 
the reference when discussing it.

>>> Repeat the same on feature/pgtk:
>>> I understand that each toolkit has its look & feel, and that colour
>>> perception is subjective, but the default contrast on pgtk strikes me as
>>> a bit too low for text editing.
>>
>> Seems like it uses the same background color as the GTK3 build (the current
>> one)? And that is probably the color of the window background.
>>
>> My current GTK theme has a bit darker windows, so the background color looks
>> like fine here, FWIW.
> 
> I don't use a desktop environment, and I'm not really familiar with GTK,
> but here's my $XDG_CONFIG_HOME/gtk-3.0/settings.ini:
> 
>    [Settings]
>    gtk-font-name                     = DejaVu Sans 10
>    gtk-icon-theme-name               = Adwaita
>    gtk-recent-files-enabled          = false
>    gtk-recent-files-limit            = 0
>    gtk-recent-files-max-age          = 0
>    gtk-theme-name                    = Adwaita

It's some color within the Adwaita theme, then.

>> But the screenshot exhibits another (definite) bug: when Emacs is just started,
>> the cursor shape is hollow. Switch away from its window and then back: the
>> cursor is now filled.
> 
> I can't reproduce that here.  My cursor is always filled so long as the
> frame is focused.  The hollow cursor in my screenshot seems to be the
> result of invoking scrot via gmrun, during which Emacs seems to lose
> focus.  I don't know why that doesn't happen with Lucid; I assumed it
> was just toolkit-specific behaviour.  [BTW, disabling blink-cursor-mode
> does not change anything.]
> 
> Is this rather some kind of mishandling of focus events on Emacs' side?

Hm, all right. Maybe I'll report it later.

I can easily reproduce it with the current feature/pgtk by just calling 
'src/emacs -Q'. The cursor is hollow until I switch windows or drag the 
current one.

Not so in the GTK3 build.





  reply	other threads:[~2021-02-13 21:12 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-13 16:55 bug#46493: [feature/pgtk] Low contrast region face Basil L. Contovounesios
2021-02-13 20:21 ` Dmitry Gutov
2021-02-13 20:53   ` Basil L. Contovounesios
2021-02-13 21:12     ` Dmitry Gutov [this message]
2021-02-14 12:48       ` Basil L. Contovounesios
2021-02-14  3:59 ` Yuuki Harano
2021-02-14 13:00   ` Basil L. Contovounesios
2021-02-15 17:06     ` Yuuki Harano
2021-02-15 19:20       ` Basil L. Contovounesios
2022-06-17 13:41   ` Lars Ingebrigtsen
2022-06-18  1:58     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-18 10:04       ` Lars Ingebrigtsen
2022-06-19  2:36         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-19 11:11           ` Lars Ingebrigtsen
2022-06-19 11:54             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-19 12:02               ` Lars Ingebrigtsen
2022-06-19 12:51                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-19 22:41                   ` Lars Ingebrigtsen
2022-06-20  0:59                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-20  1:12                       ` Lars Ingebrigtsen
2022-06-20  1:44                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-23  8:53                         ` Lars Ingebrigtsen
2022-07-23  8:59                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-23  9:09                             ` Lars Ingebrigtsen
2022-07-23  9:18                               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-23  9:37                                 ` Lars Ingebrigtsen
2022-06-18 15:43       ` Basil L. Contovounesios 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=53279abd-90ee-6f2c-63c6-9a8bd8b4d14d@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=46493@debbugs.gnu.org \
    --cc=contovob@tcd.ie \
    --cc=masm+emacs@masm11.me \
    /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).