From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#46493: [feature/pgtk] Low contrast region face Date: Sat, 13 Feb 2021 23:12:48 +0200 Message-ID: <53279abd-90ee-6f2c-63c6-9a8bd8b4d14d@yandex.ru> References: <87sg5zrjos.fsf@tcd.ie> <47fd7ede-ab16-e832-1e0a-d1da5451a310@yandex.ru> <878s7rheq1.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3179"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: 46493@debbugs.gnu.org, yuuki harano To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 13 22:14:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lB2F3-0000gO-Gk for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 22:14:13 +0100 Original-Received: from localhost ([::1]:38120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lB2F2-0005oI-Jl for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 16:14:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lB2Es-0005me-FX for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 16:14:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lB2Es-00079X-7z for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 16:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lB2Es-0005Ze-3D for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 16:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Feb 2021 21:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46493 X-GNU-PR-Package: emacs Original-Received: via spool by 46493-submit@debbugs.gnu.org id=B46493.161325078321342 (code B ref 46493); Sat, 13 Feb 2021 21:14:02 +0000 Original-Received: (at 46493) by debbugs.gnu.org; 13 Feb 2021 21:13:03 +0000 Original-Received: from localhost ([127.0.0.1]:35151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lB2Du-0005Y9-K5 for submit@debbugs.gnu.org; Sat, 13 Feb 2021 16:13:02 -0500 Original-Received: from mail-wr1-f44.google.com ([209.85.221.44]:45307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lB2Dp-0005XZ-DR for 46493@debbugs.gnu.org; Sat, 13 Feb 2021 16:13:01 -0500 Original-Received: by mail-wr1-f44.google.com with SMTP id v7so4063417wrr.12 for <46493@debbugs.gnu.org>; Sat, 13 Feb 2021 13:12:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=UY/5fYv+ajzj/s8oWvsWulsv0ZRUojQx5arAAWh7kcA=; b=TUxmpQmlWV7KI1u68xZJxywck2h6vGDO7ia5jhrje6+Iksh/FJkag7Ozqqgm8VhAwX e46U+WpyxPJKAPNawDBa8ogGT8GFRPqFgMkRF31Sf+gUBEYboggUSJmbZfOSaHR99OkE MVRqWHCQIQtfykhOgIM4IEVzQj0oDV2nrzUeMq4ZCRyrw4zldy1rUeZY7ALkfxjHFNb+ e1Otsrp/d2cnvRNJVJAqJ5HjUj615JhdxkdGqNRofFKNh2AO86m5gcH3WZWRpoTJcQU0 UJ0KqrV/FvNlESLAXSpAObhaYieklOXE0YpoN/PWkywEk/JkDviwkgkF7e/Unn3f7rP0 z3tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UY/5fYv+ajzj/s8oWvsWulsv0ZRUojQx5arAAWh7kcA=; b=bjZZ6dD74aZy6TGlZ/uB4etOHKbmyP/nKZT5CoGK0499AwTBcKgQrTcjFfEp9Xlxrn 6YmkAqY7iAKVB1sToB/R1AVcRm1KsBjn6nPyGh4r4p+Jv/W6MJH9H1/dOtMFFmChEX// jkwGjrDbg9Pwf7VRlmRcaDwHZ5N46R4c/cVx1wePFN0ELlz2T0qUT2NFnmCYM+K6PwEp sEGMz914sDb/hCJFVjs4IgOhpuEYeRZiNo59SZ/tP3e9K16COaSyDl/05FdYFk/2oimS fE1m57+slRSU22OQuZP87xAmJd/THzyn2l7kd5Xk3ttkqdnG+HElPYl+q6QNd6rG7Ism ydOA== X-Gm-Message-State: AOAM532wWCdUZLVNVnsw0LsSQ6cHWXTOLFIbqxK2nCN8RAs9AU4RlA0/ TmLF/HYc9yXNoJCmh7PXf9E= X-Google-Smtp-Source: ABdhPJwv2irTIVatev+ib/DI6TGaDTrsZPOr1ck6OagK26A3jv3ne1UWC85QmDEFcYZvhflX10Glew== X-Received: by 2002:a5d:4850:: with SMTP id n16mr10738003wrs.296.1613250771646; Sat, 13 Feb 2021 13:12:51 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id m1sm9220444wmq.36.2021.02.13.13.12.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Feb 2021 13:12:50 -0800 (PST) In-Reply-To: <878s7rheq1.fsf@tcd.ie> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199963 Archived-At: On 13.02.2021 22:53, Basil L. Contovounesios wrote: > Dmitry Gutov writes: > >> On 13.02.2021 18:55, Basil L. Contovounesios wrote: >>> X-Debbugs-Cc: Yuuki Harano >>> 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.