X-Loop: help-debbugs@HIDDEN
Subject: bug#75930: 30.0.92; Setting default frame background color messes up mouse pointer
Resent-From: Lars Rustand <rustand.lars@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 29 Jan 2025 16:37:01 +0000
Resent-Message-ID: <handler.75930.B.173816859715050 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 75930
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 75930 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.173816859715050
(code B ref -1); Wed, 29 Jan 2025 16:37:01 +0000
Received: (at submit) by debbugs.gnu.org; 29 Jan 2025 16:36:37 +0000
Received: from localhost ([127.0.0.1]:42757 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tdB3M-0003ug-O5
for submit <at> debbugs.gnu.org; Wed, 29 Jan 2025 11:36:37 -0500
Received: from lists.gnu.org ([2001:470:142::17]:40390)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <rustand.lars@HIDDEN>)
id 1tdB3K-0003uO-GA
for submit <at> debbugs.gnu.org; Wed, 29 Jan 2025 11:36:35 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <rustand.lars@HIDDEN>)
id 1tdB3B-0000AK-Ki
for bug-gnu-emacs@HIDDEN; Wed, 29 Jan 2025 11:36:25 -0500
Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <rustand.lars@HIDDEN>)
id 1tdB39-0002eP-OW
for bug-gnu-emacs@HIDDEN; Wed, 29 Jan 2025 11:36:25 -0500
Received: by mail-lj1-x232.google.com with SMTP id
38308e7fff4ca-30229d5b229so67707041fa.0
for <bug-gnu-emacs@HIDDEN>; Wed, 29 Jan 2025 08:36:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1738168580; x=1738773380; darn=gnu.org;
h=mime-version:message-id:date:user-agent:subject:to:from:from:to:cc
:subject:date:message-id:reply-to;
bh=WGhXiKJUoBNahnvDWqcP6NUyl9DD+hr+GiH+NJgcAdQ=;
b=WofObfz6VGE5UaR7PeHy+TAqdqmgWha5+bM2SrTqOCnlRJR+geFpxr3YKEIzRimQF6
Udn45rbOxZu2xET/NlizWWGC/zTQGXrlaJy3q2NNSAaQt7JLXlpiwuSZpNdHFkVUrpGj
/bBe73oppS+2s/klWtsPgpIg+p4SxiFdfAdyP44yK4TxNzY6O0Z5YzHIdx5T6zeV5Sbf
/k34yO9/6sheVGozLZK4aCFA3giHJxV2vRSjrf/BnPLj89D/Ncr8Eaj+bMq3JKxjlbMQ
xgXMlnU2TtfW+wL6My7TTifgQdMVvZljNwE/bk7BflD26KyR+Ak/YjQXNsoY7vRVBF1P
robA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1738168580; x=1738773380;
h=mime-version:message-id:date:user-agent:subject:to:from
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=WGhXiKJUoBNahnvDWqcP6NUyl9DD+hr+GiH+NJgcAdQ=;
b=VuvATVVKSdO/t1oyM8kqinlpbFNHkL7hHQ8gCVJ0QoZ1O5bRUWvzkJXbIyVJ1NPgpw
TiIjeP5c7P1+Yn6PMnitCt6HVn8W6iKTarEnardEB42XXkvyLh4eV4rJYYY3UcV0FQdg
qyVsRzENEz3JTKzcDNSHjRVIw1BU+3/Y9cElMkAnm9bcjGFVQ+AezNLmnanoglxdLjkN
FsUbAS/XzbnIexdQWNgvpV4y4uoEhpgZzM6U18YDEm2J90xbypNMWYxytn5P2crQ6jcy
fBbEhYh2dZJnwIosU9SFR+MFh9sb2oqyart8X1V5EOz2qOxbPXUuIIUUN43y3MmIxaTX
mJzA==
X-Gm-Message-State: AOJu0YzGVD6ezt279tHDDbUzUw5qveUVktEKjI1ZXlmW94zDHJAe3egs
d/3D+zhTbD8eH+Wq0LAZMSxozwz2O9LiozLoO07+tXtiqHJ3bqiKcYARCA==
X-Gm-Gg: ASbGncuHjhmsbYKHqzau3geHCaBgtXMSjVl1Qyeo25jckOqRK94tKKzTihxu3JPKUAM
n093gSx1V/d3R76Abm1/NPbULtP8ylAnyAKv8gjHkt3+La/v4qEHnrJp1mADguxqR5WHM7vnyCk
z1mmMpT/0kg06A3xZoWhWU/vWF6gSLFi9J8k2NUjVgiMY9K2BZrtHzKMj540NqZccxjJ+/p6R65
Wnw6Y/ZR/4QMrqHRzQ6Ib4UeugxMvJyiKRIvQi3Ci9PEp2v1T/8frzsc6AjW1gz6+pW9E/4Yj8r
4v+SMiT55fTlQDAByaI=
X-Google-Smtp-Source: AGHT+IHbZo+n9R8AJn/MhucXnXSFsqAlUzmCVilOp3LmoHQW5ijqju+8OWXsX0sw7CORMALQ1HRfeg==
X-Received: by 2002:a2e:a547:0:b0:302:2320:dc81 with SMTP id
38308e7fff4ca-307968c5c2fmr13260611fa.29.1738168580187;
Wed, 29 Jan 2025 08:36:20 -0800 (PST)
Received: from localhost ([2a01:799:9da:d700:aab7:758a:dbae:13e9])
by smtp.gmail.com with ESMTPSA id
2adb3069b0e04-543c83683a5sm1992472e87.154.2025.01.29.08.36.19
for <bug-gnu-emacs@HIDDEN>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 29 Jan 2025 08:36:19 -0800 (PST)
From: Lars Rustand <rustand.lars@HIDDEN>
User-Agent: mu4e 1.12.7; emacs 30.0.92
Date: Wed, 29 Jan 2025 17:36:18 +0100
Message-ID: <87wmedbmrh.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::232;
envelope-from=rustand.lars@HIDDEN; helo=mail-lj1-x232.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)
Starting Emacs with the --background-color argument results in the contour
of the mouse pointer being set to that color when it is hovering over
Emacs.
This also happens if setting the background color through
default-frame-alist in early-init.el.
Setting the background color on startup through either
initial-frame-alist or window-system-default-frame-alist works as
expected, and does not change the mouse pointer.
Changing the background color of the frame at a later time, either by
calling set-background-color or by loading a theme does not change the
mouse pointer, whether that mouse pointer has already been modified by
Emacs during startup or not.
I am able to reproduce the behaviour in a clean Emacs using -Q.
The easiest way to reproduce is through this command:
emacs -Q --background-color "#ff0000" --eval '(set-background-color "#000000")'
The results of the above command will be an Emacs frame with a black
background, and the mouse pointer will have a red contour when hovering
over that frame.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Lars Rustand <rustand.lars@HIDDEN> Subject: bug#75930: Acknowledgement (30.0.92; Setting default frame background color messes up mouse pointer) Message-ID: <handler.75930.B.173816859715050.ack <at> debbugs.gnu.org> References: <87wmedbmrh.fsf@HIDDEN> X-Gnu-PR-Message: ack 75930 X-Gnu-PR-Package: emacs Reply-To: 75930 <at> debbugs.gnu.org Date: Wed, 29 Jan 2025 16:37:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 75930 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 75930: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75930 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#75930: 30.0.92; Setting default frame background color messes up mouse pointer
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 29 Jan 2025 18:51:01 +0000
Resent-Message-ID: <handler.75930.B75930.173817664718226 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75930
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Lars Rustand <rustand.lars@HIDDEN>
Cc: 75930 <at> debbugs.gnu.org
Received: via spool by 75930-submit <at> debbugs.gnu.org id=B75930.173817664718226
(code B ref 75930); Wed, 29 Jan 2025 18:51:01 +0000
Received: (at 75930) by debbugs.gnu.org; 29 Jan 2025 18:50:47 +0000
Received: from localhost ([127.0.0.1]:43010 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tdD9C-0004jt-MY
for submit <at> debbugs.gnu.org; Wed, 29 Jan 2025 13:50:46 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:56536)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tdD9B-0004jf-7Y
for 75930 <at> debbugs.gnu.org; Wed, 29 Jan 2025 13:50:45 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1tdD95-0006LT-1W; Wed, 29 Jan 2025 13:50:39 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=y2NIr+QmeQ4kiwliTzOmB4NYRHMM+5XbFpNbmeNPYA4=; b=sV8p2zoa4vFi
c2tgNHib7Py+PGX/aUA9R285OomPH28mtZeH6SNmlrzD0KyZLwD5u+WGm7xaMRP61JrKtGMw6tvVA
O8sXiYsFDz1E+31PP2xyyb7rWOIkbVm8BiuY8LlcgaZtn0SJKdCDkvLUdTyq9kfMvXPY+qTw1vC+T
II9+qkUFMx4tfj7mUniaEHZWS+3+g+6YnkmdAuvNqDIW+nWXWOw1XsaTZ/+3hdu1Z1S5oOGTqE8ru
QTylaUdvnB7cGGD7OF1N6vWtt3Cqm1RVW1SiC7loOhcujUpztkzTRNMOflVfDjdpczArVsBX+ffhV
x5AcseeUr0DHpIj/oN3HjQ==;
Date: Wed, 29 Jan 2025 20:50:37 +0200
Message-Id: <86a5b9mp36.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87wmedbmrh.fsf@HIDDEN> (message from
Lars Rustand on Wed, 29 Jan 2025 17:36:18 +0100)
References: <87wmedbmrh.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Lars Rustand <rustand.lars@HIDDEN>
> Date: Wed, 29 Jan 2025 17:36:18 +0100
>
>
> Starting Emacs with the --background-color argument results in the contour
> of the mouse pointer being set to that color when it is hovering over
> Emacs.
>
> This also happens if setting the background color through
> default-frame-alist in early-init.el.
>
> Setting the background color on startup through either
> initial-frame-alist or window-system-default-frame-alist works as
> expected, and does not change the mouse pointer.
>
> Changing the background color of the frame at a later time, either by
> calling set-background-color or by loading a theme does not change the
> mouse pointer, whether that mouse pointer has already been modified by
> Emacs during startup or not.
>
> I am able to reproduce the behaviour in a clean Emacs using -Q.
>
> The easiest way to reproduce is through this command:
>
> emacs -Q --background-color "#ff0000" --eval '(set-background-color "#000000")'
>
> The results of the above command will be an Emacs frame with a black
> background, and the mouse pointer will have a red contour when hovering
> over that frame.
Thanks, but I cannot reproduce this with the latest emacs-30 branch.
Please show all of the data collected by "M-x report-emacs-bug" about
your system and Emacs build configuration, perhaps what you see is
specific to some particular build.
X-Loop: help-debbugs@HIDDEN
Subject: bug#75930: 30.0.92; Setting default frame background color messes up mouse pointer
References: <87wmedbmrh.fsf@HIDDEN>
Resent-From: rustand.lars@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 29 Jan 2025 19:50:02 +0000
Resent-Message-ID: <handler.75930.B75930.17381801937840 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75930
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 75930 <at> debbugs.gnu.org
Received: via spool by 75930-submit <at> debbugs.gnu.org id=B75930.17381801937840
(code B ref 75930); Wed, 29 Jan 2025 19:50:02 +0000
Received: (at 75930) by debbugs.gnu.org; 29 Jan 2025 19:49:53 +0000
Received: from localhost ([127.0.0.1]:43131 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tdE4P-00022N-73
for submit <at> debbugs.gnu.org; Wed, 29 Jan 2025 14:49:53 -0500
Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:52323)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <rustand.lars@HIDDEN>)
id 1tdE4K-000226-Ew
for 75930 <at> debbugs.gnu.org; Wed, 29 Jan 2025 14:49:51 -0500
Received: by mail-lf1-x12f.google.com with SMTP id
2adb3069b0e04-543d8badc30so24213e87.0
for <75930 <at> debbugs.gnu.org>; Wed, 29 Jan 2025 11:49:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1738180182; x=1738784982; darn=debbugs.gnu.org;
h=mime-version:message-id:date:user-agent:in-reply-to:subject:cc:to
:from:from:to:cc:subject:date:message-id:reply-to;
bh=X990ldePVBC9gKuFOMBZsI16W5jFIrrimkflT5CJ6D0=;
b=JdolhtrEX/8gNWluE0DuRZI9+w+q3jc9KR0laW/INPAJ+l9kNe6+SZRlxcXhYXL0qA
MUf0tCqemP5vutbvqlnBSAjIy43imwpP0ayUzWM10f1aHJ8cRLkqhmbNvI3cS0bvdVUT
eZekw6j2zDMbX1ZnGN7v5dneSUQ8NMaz6XVtPGkaZUhY+LprCVmG8FmQvdwv09a/oX//
GbvozEN/f+j1WQt13nb083NchK6cG5HxOgsTXmLghWkJbpQL8VUsGjnmLoTZSzFyps5A
BofL5td3cP1PA0rj4+wEMGPNE/L9a/gXHOeEFJZFaqQgp54dFwHrD5mIXn/bqVOGqKjT
D7YA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1738180182; x=1738784982;
h=mime-version:message-id:date:user-agent:in-reply-to:subject:cc:to
:from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=X990ldePVBC9gKuFOMBZsI16W5jFIrrimkflT5CJ6D0=;
b=i/ITK/murzCb6TygppKn8bs65wHkpTKYcv1j219dNiEypLwziY1i3WKxJneZcMhe6O
655AsI1qpQ6d/JouB/0TjWSwXwDaskHYri962J9jAW5FTJrz+QX78B0r8+ujruXGJeqo
9E+F6keSExL6wr0H5aTH/VA4X15QP9pbeWWl3G1fRaRFsd5OV7CRRmttfxvG3zCBIPRx
NECS/empcQlmz3L4VUjYI9Gn+6o9b92CyrNOnnrEMhXTwwnswnirh0dbf1nyyIbTf4C+
6GQB0gEAMDTUiCJmzVMdHuYlKeVBKDQ5HBghtK875G+KiW96BcI4xj6qTmPzVjduLgDo
3t4g==
X-Gm-Message-State: AOJu0YxZIqjVVnzfVhtpgwnDCeY7D/pmoECEikPElt2sYLfu+Sz2JZRC
fU66eUT4loXVwG85v02TD4tBg9ar4ZM7oP2iAaZA8BGRFdyWCjIO
X-Gm-Gg: ASbGncuE2Zh7DUj/X9oCQGD2GtfEpM+PG1vuTIX21dPkMcdLfOu5o6vjlRDTkpMxhtd
S49tLTCFi/oaCQfse9F2Db6p3rNici19+o8R0go7keTid5qg060cCtGq0UeAAvWhan3RYZ/y3XY
CflBuFcCGylY32ewxajzLhZcZgJktNPv/ovpt0aFCQCJyS1csN1xGQg8ixt5hS2o90YSNcOkU8A
4WWG0cxNIc1WC2O3uWygrGDxFngO5Ryzh0h2nuc+ZbBKedHhPiPDP/5boHGNUYJvsFxARZAVELa
vf/C4k4i8Kdddj0LIjQ=
X-Google-Smtp-Source: AGHT+IFy4V2rTZ25JVZbc6VavWviEH/6BI02A06szHs1BDMFAiu+6GA4cQQuNF+n6w7QDFw61s8W2Q==
X-Received: by 2002:a05:6512:4020:b0:542:2388:3f0d with SMTP id
2adb3069b0e04-543e4c41512mr1806402e87.45.1738180181315;
Wed, 29 Jan 2025 11:49:41 -0800 (PST)
Received: from localhost ([2a01:799:9da:d700:aab7:758a:dbae:13e9])
by smtp.gmail.com with ESMTPSA id
2adb3069b0e04-543c8368425sm2039230e87.121.2025.01.29.11.49.38
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 29 Jan 2025 11:49:39 -0800 (PST)
From: rustand.lars@HIDDEN
In-Reply-To: <86a5b9mp36.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 29 Jan
2025 20:50:37 +0200")
User-Agent: mu4e 1.12.7; emacs 30.0.92
Date: Wed, 29 Jan 2025 20:49:37 +0100
Message-ID: <87r04lpfhq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
> Thanks, but I cannot reproduce this with the latest emacs-30 branch.
> Please show all of the data collected by "M-x report-emacs-bug" about
> your system and Emacs build configuration, perhaps what you see is
> specific to some particular build.
Sure I'll post it below. I'm posting the output as shown in emacs -Q,
since the bug isn't related to anything from my config/installed
packages.
I don't think this is related to a specific build, since it looks like
the bug has been present since at least 2018:
https://github.com/ch11ng/exwm/issues/513
Something that might be relevant is that I don't use any desktop
environment or login manager, but instead start my window manager
directly using startx. (The window manager I usually use is Emacs with
EXWM, but I have verified that I can reproduce from i3wm as well.)
I think desktop environments are likely to also meddle with the mouse
pointer, so if you are running one of those it will probably
mask/override the behaviour I'm seeing.
Data from "M-x report-emacs-bug" follows:
------
In GNU Emacs 30.0.92 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.41, cairo version 1.18.0)
Windowing system distributor 'The X.Org Foundation', version 11.0.12101014
System Description: Guix System
Configured using:
'configure
CONFIG_SHELL=/gnu/store/6nqyia3ra10sgd1ppzk2047ncbzjwhff-bash-minimal-5.1.16/bin/bash
SHELL=/gnu/store/6nqyia3ra10sgd1ppzk2047ncbzjwhff-bash-minimal-5.1.16/bin/bash
--prefix=/gnu/store/ml6xyl3py6hqfdps2sypdi7s212y7k02-emacs-next-30.0.92-0.881d593
--enable-fast-install --with-cairo --with-modules
--with-native-compilation=aot --disable-build-details'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP
NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB
Important settings:
value of $EMACSLOADPATH: /home/lars/.guix-home/profile/share/emacs/site-lisp:/gnu/store/ml6xyl3py6hqfdps2sypdi7s212y7k02-emacs-next-30.0.92-0.881d593/share/emacs/30.0.92/lisp
value of $LANG: en_US.utf8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
minibuffer-regexp-mode: t
line-number-mode: t
indent-tabs-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date subr-x mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo gtk
x-toolkit xinput2 x multi-tty move-toolbar make-network-process
native-compile emacs)
Memory information:
((conses 16 49646 9153) (symbols 48 5370 0) (strings 32 14312 2738)
(string-bytes 1 538728) (vectors 16 9056)
(vector-slots 8 126799 10092) (floats 8 22 24) (intervals 56 355 0)
(buffers 992 12))
X-Loop: help-debbugs@HIDDEN
Subject: bug#75930: 30.0.92; Setting default frame background color messes up mouse pointer
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 29 Jan 2025 19:59:02 +0000
Resent-Message-ID: <handler.75930.B75930.17381807349438 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75930
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: rustand.lars@HIDDEN
Cc: 75930 <at> debbugs.gnu.org
Received: via spool by 75930-submit <at> debbugs.gnu.org id=B75930.17381807349438
(code B ref 75930); Wed, 29 Jan 2025 19:59:02 +0000
Received: (at 75930) by debbugs.gnu.org; 29 Jan 2025 19:58:54 +0000
Received: from localhost ([127.0.0.1]:43151 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tdED7-0002SA-W1
for submit <at> debbugs.gnu.org; Wed, 29 Jan 2025 14:58:54 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:51768)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tdED5-0002Rx-Vn
for 75930 <at> debbugs.gnu.org; Wed, 29 Jan 2025 14:58:52 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1tdED0-00066d-Eb; Wed, 29 Jan 2025 14:58:46 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=1JvK2v/tM/O9O5/h3UcC/NN2ftRJIO9TuLeGengkTuo=; b=INc4ZhiiWEa/
dP5FxW1PFHaqy9Us1S1oF93BclF6lbUw907JWGr39C0EPlNWyYOxZp1vvV1Ho5xuQ8hDxMzYa3IQT
cToa6EY5S/ZokgOQjsFuxFC1ffQfjsGb5p8RQyQHMHdtjDIDVgGcx5tMlt543ZHgTFyxxFbL/3RgL
fRKcLclpznzq0VqyapWfnO7wYEhhMXxi9lT7xpV5iB99s7SLUWG5qOK6bxGRrzToT+9dusqcGSF+u
QxrVPNYlSy29LvTMID3hjD2C/y21IznA6UHz9sCmpO2D6SkTMgVz353nP43wYT+QUMWCyUOasw/vP
jH3MwJBQaOEsfD4curM50Q==;
Date: Wed, 29 Jan 2025 21:58:44 +0200
Message-Id: <86zfj9l7d7.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87r04lpfhq.fsf@HIDDEN>
(rustand.lars@HIDDEN)
References: <87r04lpfhq.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: rustand.lars@HIDDEN
> Cc: 75930 <at> debbugs.gnu.org
> Date: Wed, 29 Jan 2025 20:49:37 +0100
>
>
> Eli Zaretskii <eliz@HIDDEN> writes:
> > Thanks, but I cannot reproduce this with the latest emacs-30 branch.
> > Please show all of the data collected by "M-x report-emacs-bug" about
> > your system and Emacs build configuration, perhaps what you see is
> > specific to some particular build.
>
> Sure I'll post it below. I'm posting the output as shown in emacs -Q,
> since the bug isn't related to anything from my config/installed
> packages.
>
> I don't think this is related to a specific build, since it looks like
> the bug has been present since at least 2018:
> https://github.com/ch11ng/exwm/issues/513
>
> Something that might be relevant is that I don't use any desktop
> environment or login manager, but instead start my window manager
> directly using startx. (The window manager I usually use is Emacs with
> EXWM, but I have verified that I can reproduce from i3wm as well.)
>
> I think desktop environments are likely to also meddle with the mouse
> pointer, so if you are running one of those it will probably
> mask/override the behaviour I'm seeing.
>
>
>
> Data from "M-x report-emacs-bug" follows:
Thanks. I wonder whether this is window-manager specific, even if not
exwm-specific
X-Loop: help-debbugs@HIDDEN
Subject: bug#75930: 30.0.92; Setting default frame background color messes up mouse pointer
References: <87wmedbmrh.fsf@HIDDEN>
Resent-From: rustand.lars@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 29 Jan 2025 22:26:02 +0000
Resent-Message-ID: <handler.75930.B75930.17381895612634 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75930
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 75930 <at> debbugs.gnu.org
Received: via spool by 75930-submit <at> debbugs.gnu.org id=B75930.17381895612634
(code B ref 75930); Wed, 29 Jan 2025 22:26:02 +0000
Received: (at 75930) by debbugs.gnu.org; 29 Jan 2025 22:26:01 +0000
Received: from localhost ([127.0.0.1]:43339 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tdGVU-0000gP-KE
for submit <at> debbugs.gnu.org; Wed, 29 Jan 2025 17:26:00 -0500
Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]:55394)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <rustand.lars@HIDDEN>)
id 1tdGVR-0000g5-O7
for 75930 <at> debbugs.gnu.org; Wed, 29 Jan 2025 17:25:58 -0500
Received: by mail-lj1-x22e.google.com with SMTP id
38308e7fff4ca-305f529a987so722731fa.2
for <75930 <at> debbugs.gnu.org>; Wed, 29 Jan 2025 14:25:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1738189551; x=1738794351; darn=debbugs.gnu.org;
h=mime-version:message-id:date:user-agent:in-reply-to:subject:cc:to
:from:from:to:cc:subject:date:message-id:reply-to;
bh=cAQ8uN7hkMWqPKKd9Jbshneq5UCrFHx4RUR3VywqFNk=;
b=OE6LKz/nqs9R8b8L6hrLwnHyNxkEeDiMikcuQQHkiCCz2rM4Zr0CGNfpui5rIswQu4
iVxzGExAEKEqiwwOO8gaWSIEc5b3ynlkBSwhPZC+FVEJ5CoMPZKsCNVOfRkGKLJZApSu
xTwDv9nc3UbLz96ocZBBCwvfKDFLxfHr3RUPsS1cKvuNIF/KMkzlqxMWIw/vUbkSkHIM
4AGb2xUwARMsSr7VOWkrvZ9VT1jwcOqP+x4R5erEiMpdbECfKANfMgPS3wVGOwYUix1E
17im8pEufzVl03ZAlNCUiMl3gD8bBpTbqEACNw8iOn16GbuFJjKPPGr+iY7JIGgumkmO
jkmw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1738189551; x=1738794351;
h=mime-version:message-id:date:user-agent:in-reply-to:subject:cc:to
:from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=cAQ8uN7hkMWqPKKd9Jbshneq5UCrFHx4RUR3VywqFNk=;
b=RL8Z2+7NaR3nXDbA/pOKhSsvMYj/eBGnWT6ilavYfMGlh83d6o6H7YrzF7jJw7thp+
jHNW4PDak9Ga83Ck5+qXsZeOJOVXvnVBh9fmq4jAamztqhQ9JVOFVNzzvfOpS7JXkE3N
aqdtxJh7ktWikqFIeLKNCI3kOZMiZqZ0U5feQLfR9qnidp/3GJZxv9HfrSnEJicdL/Dc
ZhS34f96qCSYGSL9YWsglNXlumvfCnWHULZcxC0lrBXsO6W2W7tqHNTxt7HzhBYzi4Us
69eFJfIAC3HfwsQTFXKBhXbOshMaHfBb0WTGQqjeS7hG3Xgm7nnVu08AVVfr6X0vUkZk
o0QA==
X-Gm-Message-State: AOJu0YyqLjjPMPEbVptTNKItGW9sX/lVixIFIMq4N83Qzz5faGw44+sn
Bacl2NZrItFVr4RLixL/efi1XrgSlR8hlHS8YBCO1bU0CkfG8XxD
X-Gm-Gg: ASbGncvC5p4FLLnZeOYljOXx6Ch8XmPhTLl3rkyeXryk5fYjqFC/AM+G4CIkqiFLtxF
2DfYa3X5y4/ZpWoTvp8oiKxR0kLs+24ueD4zv6K5k71bv1ekdsDvgWVj2k8jQu6l+W+T0KPuM3x
iKBUxEBtbCl/ACzGQMdHUVn88i7fGGKz++LNqAZSe+/OnI7EgO2AUM31z85XP8YH/mYOovX+RpP
pTPj/mxAAhKa6XU3TR8J/fq/NanZAWc94/r68jRKdrt7zR9KwCOT1Xv5M0na+4Wu/8Dn02X68Vw
KVYm+NEJoiywZXNHGkw=
X-Google-Smtp-Source: AGHT+IHw8RJ8F+P5Sz34/0fJZkWVcJ47JMFaivewafd5R6Mh5ttfTZfCVG4FgDRxXMAbOGdM1lb+gQ==
X-Received: by 2002:a2e:bea3:0:b0:2fb:cc0:2a05 with SMTP id
38308e7fff4ca-307969840a5mr15077811fa.37.1738189550886;
Wed, 29 Jan 2025 14:25:50 -0800 (PST)
Received: from localhost ([2a01:799:9da:d700:aab7:758a:dbae:13e9])
by smtp.gmail.com with ESMTPSA id
38308e7fff4ca-307a3099ec4sm84421fa.48.2025.01.29.14.25.47
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 29 Jan 2025 14:25:49 -0800 (PST)
From: rustand.lars@HIDDEN
In-Reply-To: <86zfj9l7d7.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 29 Jan
2025 21:58:44 +0200")
User-Agent: mu4e 1.12.7; emacs 30.0.92
Date: Wed, 29 Jan 2025 23:25:47 +0100
Message-ID: <877c6dntp0.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
> Thanks. I wonder whether this is window-manager specific, even if not
> exwm-specific
I installed the GDM login manager and the gnome-shell desktop
environment to test your hypothesis. I observe the same behaviour there.
Even if it was "window-manager specific" as you say, I think that is a
backwards way of thinking about it. This is happening in a *minimal*
configuration where Emacs is running directly under X.
Having third-party programs hide the issue by taking control over the
theming of the mouse pointer shouldn't be the base case here.
X-Loop: help-debbugs@HIDDEN
Subject: bug#75930: 30.0.92; Setting default frame background color messes up mouse pointer
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 30 Jan 2025 06:18:02 +0000
Resent-Message-ID: <handler.75930.B75930.17382178516007 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75930
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: rustand.lars@HIDDEN, Po Lu <luangruo@HIDDEN>
Cc: 75930 <at> debbugs.gnu.org
Received: via spool by 75930-submit <at> debbugs.gnu.org id=B75930.17382178516007
(code B ref 75930); Thu, 30 Jan 2025 06:18:02 +0000
Received: (at 75930) by debbugs.gnu.org; 30 Jan 2025 06:17:31 +0000
Received: from localhost ([127.0.0.1]:43964 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tdNrm-0001Yo-Q7
for submit <at> debbugs.gnu.org; Thu, 30 Jan 2025 01:17:31 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:55136)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tdNrj-0001YZ-Rf
for 75930 <at> debbugs.gnu.org; Thu, 30 Jan 2025 01:17:29 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1tdNre-00037r-2w; Thu, 30 Jan 2025 01:17:22 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=oT5+CGKhMSlfO6f5SML9t7P9+uLgtInsdj7PYnDZDvU=; b=APBcEEKoe1Pi
PwYdWraJm4ITx9pX71ciB/cfO9gcFItlvaAVjMqJRJ16h7Y2WERP/6HiWOPZ0zfFNYk8HQjbRFh7t
wPUWy1pk4inKw6gpY55VDM4pC+iPFmeZUB7us+KBEamPUNih+0RCNeQaS/FHxw9m27xAtincwyo1F
IX1utuYUbs/hDPMSnT/iUoYHdm6QeTtywqzcf/dHdVagaFkeLQSSkJ55iSZ6j+t0hQRb1g9nm3/R4
PvoVO/8EzIXIBrpr+HzjXnG7j8ta9qgixEX/Rwb1vU0ngTqxNrsfVYNmUAQZTpZXSWrjBH+M4xLNo
Vs/8b4VoFp3QpBdSjTjobQ==;
Date: Thu, 30 Jan 2025 08:17:10 +0200
Message-Id: <86wmecltax.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <877c6dntp0.fsf@HIDDEN>
(rustand.lars@HIDDEN)
References: <877c6dntp0.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: rustand.lars@HIDDEN
> Cc: 75930 <at> debbugs.gnu.org
> Date: Wed, 29 Jan 2025 23:25:47 +0100
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> > Thanks. I wonder whether this is window-manager specific, even if not
> > exwm-specific
>
> I installed the GDM login manager and the gnome-shell desktop
> environment to test your hypothesis. I observe the same behaviour there.
>
> Even if it was "window-manager specific" as you say, I think that is a
> backwards way of thinking about it. This is happening in a *minimal*
> configuration where Emacs is running directly under X.
The thing is, I cannot find where this setting of the border happens
in our code. It seems to be the consequence of setting the frame's
background mode, which happens when you set the background color, but
that's where the track went cold for me, probably because I don't know
enough about the X11 graphics. I hope someone else will be able to
point out where we cause that border to appear, and then a solution
might be found.
Po Lu, any suggestions or ideas?
X-Loop: help-debbugs@HIDDEN
Subject: bug#75930: 30.0.92; Setting default frame background color messes up mouse pointer
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 30 Jan 2025 07:20:01 +0000
Resent-Message-ID: <handler.75930.B75930.173822158317391 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75930
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: rustand.lars@HIDDEN, 75930 <at> debbugs.gnu.org
Received: via spool by 75930-submit <at> debbugs.gnu.org id=B75930.173822158317391
(code B ref 75930); Thu, 30 Jan 2025 07:20:01 +0000
Received: (at 75930) by debbugs.gnu.org; 30 Jan 2025 07:19:43 +0000
Received: from localhost ([127.0.0.1]:44074 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tdOpz-0004WR-3U
for submit <at> debbugs.gnu.org; Thu, 30 Jan 2025 02:19:43 -0500
Received: from sonic301-30.consmr.mail.ne1.yahoo.com ([66.163.184.199]:34450)
by debbugs.gnu.org with esmtps
(TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2)
(envelope-from <luangruo@HIDDEN>) id 1tdOpw-0004W9-GZ
for 75930 <at> debbugs.gnu.org; Thu, 30 Jan 2025 02:19:41 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1738221574; bh=tb8w1tD5VerCDCd+TZ6qU7vxx+qY3XjHyWCcEtObilw=;
h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
b=kdkDhr0n7l6bI8JECA3NEArL0QSfYeIWr/PhepONMm9xpRCYXBMUMRR+f3Yo+vRRqXvQz8gUd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onic.gate.mail.ne1.yahoo.com by
sonic301.consmr.mail.ne1.yahoo.com with HTTP; Thu, 30 Jan 2025 07:19:34 +0000
Received: by hermes--production-sg3-5b7954b588-wvg78 (Yahoo Inc. Hermes SMTP
Server) with ESMTPA ID 76179bd265b83abad24f352b0db9e15a;
Thu, 30 Jan 2025 07:19:27 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <86wmecltax.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 30 Jan
2025 08:17:10 +0200")
References: <877c6dntp0.fsf@HIDDEN>
<86wmecltax.fsf@HIDDEN>
Date: Thu, 30 Jan 2025 15:19:22 +0800
Message-ID: <877c6cojk5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.23187
mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1168
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: rustand.lars@HIDDEN
>> Cc: 75930 <at> debbugs.gnu.org
>> Date: Wed, 29 Jan 2025 23:25:47 +0100
>>
>> Eli Zaretskii <eliz@HIDDEN> writes:
>>
>> > Thanks. I wonder whether this is window-manager specific, even if not
>> > exwm-specific
>>
>> I installed the GDM login manager and the gnome-shell desktop
>> environment to test your hypothesis. I observe the same behaviour there.
>>
>> Even if it was "window-manager specific" as you say, I think that is a
>> backwards way of thinking about it. This is happening in a *minimal*
>> configuration where Emacs is running directly under X.
>
> The thing is, I cannot find where this setting of the border happens
> in our code. It seems to be the consequence of setting the frame's
> background mode, which happens when you set the background color, but
> that's where the track went cold for me, probably because I don't know
> enough about the X11 graphics. I hope someone else will be able to
> point out where we cause that border to appear, and then a solution
> might be found.
>
> Po Lu, any suggestions or ideas?
Set a breakpoint on x_set_mouse_color, perhaps?
X-Loop: help-debbugs@HIDDEN
Subject: bug#75930: 30.0.92; Setting default frame background color messes up mouse pointer
Resent-From: rustand.lars@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 30 Jan 2025 21:05:03 +0000
Resent-Message-ID: <handler.75930.B75930.173827108718010 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75930
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Po Lu <luangruo@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>
Cc: 75930 <at> debbugs.gnu.org
Received: via spool by 75930-submit <at> debbugs.gnu.org id=B75930.173827108718010
(code B ref 75930); Thu, 30 Jan 2025 21:05:03 +0000
Received: (at 75930) by debbugs.gnu.org; 30 Jan 2025 21:04:47 +0000
Received: from localhost ([127.0.0.1]:48158 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tdbiP-0004gO-S5
for submit <at> debbugs.gnu.org; Thu, 30 Jan 2025 16:04:46 -0500
Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]:43316)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <rustand.lars@HIDDEN>)
id 1tdbiM-0004fx-9y
for 75930 <at> debbugs.gnu.org; Thu, 30 Jan 2025 16:04:43 -0500
Received: by mail-lj1-x235.google.com with SMTP id
38308e7fff4ca-30219437e63so24670261fa.1
for <75930 <at> debbugs.gnu.org>; Thu, 30 Jan 2025 13:04:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1738271076; x=1738875876; darn=debbugs.gnu.org;
h=mime-version:message-id:date:user-agent:references:in-reply-to
:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=WHayB4PSl7DlbBToVVW6NTQDc02e+KidoIMneAYdA7M=;
b=CFnfmsEwvw8BWQZlj2DeEbH1896XptXNOxGurnbrHVkhD+GsN6F/oqaO4c2btkcbfT
/t5rb/yRC7kYedWzFX7YiwPj1/o+Aru+AxeN2Ogp+6IQnJtmlfrw5oLT8R2hibCzlvF9
p+pQMJ3UzAZ09DX9urxqSL6GLkYvm8jk7Kr80JKLvrdWt3zdJLa/lkmJti9Peros7lPt
ibt5cZ8YpdTQWjeWfnUDd7riqXNUhZQLbkj9VHvdA8ub6t81ca6FbfnliLja4abSprt6
S1L581S2YtEgckWzYki4+WrD093ULMBWHgNcCdB1qKpJ6RpXuxXo7q1H2jwNaMQ30mxr
GKfg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1738271076; x=1738875876;
h=mime-version:message-id:date:user-agent:references:in-reply-to
:subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to;
bh=WHayB4PSl7DlbBToVVW6NTQDc02e+KidoIMneAYdA7M=;
b=FbJe+ou8eidHsj53nhWJH2oqPlcswxw6CSxatkRx1khZuz6QkAGNcREhMqROke0xTh
q5yBFY7LMrweUyJRuv0Or63ctXa1jB/K4LsRaroojd5VpTj8O01iMGcDV1UGTCaT7Ejk
/U/YgsTNqWTS1WbJhN8xHvBbdmj/Kvcup+m4cyPHqAQIUP08Lkvy79gxIizvMH+GcWw2
jtUtnWlKvIoF1gRozgxvdFYm5i/BgMuiJqJyerCkLNbLJMAReyzmgrX7/dxSN3T21Khj
1oDJGFa9DjPNWoHelS9CqRciM0Frnf5QJC402u344h3478XNoCdVd3CXvers2xISRZaw
S+sw==
X-Gm-Message-State: AOJu0YxxCaaK17ZeKUXKHoQWbJJR5V9uko6pksGylZaqgWxW3ZZQ0gCN
JP38s8d2uxUm4miFEL+EZX8GBKeXnx4b4Oh8xqg91Y9uGL5iuCbm
X-Gm-Gg: ASbGncubD+nw2k7bOqqXxLuQ3i5LYeQXhNAvmA7ne1F/IPfXR5HVqNrg9+HqaGNJsRt
3DcsAlTyLuoIiJHphtfFnM2KeE+zH13i598bbxZdMT0EmoLFzGtAWkiSive2rTias9cj3PkDp50
unIHZeMENE+/FM4jyqaeIsrkuB3gd5TZ2QA6tTYodJRP3jnhR3WfwuxRVId5zHmNZM7ZGKbHqhB
qa57PXQNTi3QFUPJA+gR77jEcUjB1G0dWS1vawp1i5lyxitb/IKfmdcedV5joFweoUIIApyGGSW
x5BdKPtiKLfWTXQWgDk=
X-Google-Smtp-Source: AGHT+IE9MaiBB4V7tn96OhYpCzMQUNCryBwd6VBpjE8ZC1ygYIylN2LxpGHNMtsLITwBCfg+bh8GRQ==
X-Received: by 2002:a2e:2205:0:b0:300:3307:389f with SMTP id
38308e7fff4ca-307a0dca8b2mr12588511fa.0.1738271075412;
Thu, 30 Jan 2025 13:04:35 -0800 (PST)
Received: from localhost ([2a01:799:9da:d700:aab7:758a:dbae:13e9])
by smtp.gmail.com with ESMTPSA id
38308e7fff4ca-307a33f77d6sm2870521fa.82.2025.01.30.13.04.32
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 30 Jan 2025 13:04:33 -0800 (PST)
From: rustand.lars@HIDDEN
In-Reply-To: <877c6cojk5.fsf@HIDDEN> (Po Lu's message of "Thu, 30 Jan 2025
15:19:22 +0800")
References: <877c6dntp0.fsf@HIDDEN>
<86wmecltax.fsf@HIDDEN> <877c6cojk5.fsf@HIDDEN>
User-Agent: mu4e 1.12.7; emacs 30.0.92
Date: Thu, 30 Jan 2025 22:04:31 +0100
Message-ID: <877c6c8140.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Po Lu <luangruo@HIDDEN> writes:
> Eli Zaretskii <eliz@HIDDEN> writes:
>
>> The thing is, I cannot find where this setting of the border happens
>> in our code. It seems to be the consequence of setting the frame's
>> background mode, which happens when you set the background color, but
>> that's where the track went cold for me, probably because I don't know
>> enough about the X11 graphics. I hope someone else will be able to
>> point out where we cause that border to appear, and then a solution
>> might be found.
>>
>> Po Lu, any suggestions or ideas?
>
> Set a breakpoint on x_set_mouse_color, perhaps?
I don't think a breakpoint will be necessary, I just popped in and had a
look at x_set_mouse_color, and it shows quite clearly that it does
explicitly do what I experience.
First it sets mask_color to the frame background near the start of the
function:
unsigned long pixel = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f));
unsigned long mask_color = FRAME_BACKGROUND_PIXEL (f);
Then a bit further down it does this:
XColor colors[2]; /* 0=foreground, 1=background */
colors[0].pixel = x->mouse_pixel;
colors[1].pixel = mask_color;
x_query_colors (f, colors, 2);
for (i = 0; i < mouse_cursor_max; i++)
XRecolorCursor (dpy, cursor_data.cursor[i], &colors[0], &colors[1]);
So it seems that x_set_mouse_color always sets the mouse pointer border
color to the frame background. However, the foreground color defaults to
BLACK_PIX_DEFAULT.
This makes reproducing the bug even simpler, as it can now be done
multiple times from within Emacs without having to restart and passing
arguments to it.
This sequence of commands will do the same thing as the reproduction
steps I gave in the first message:
(set-background-color "#ff0000")
(set-mouse-color "#000000")
(set-background-color "#000000")
Technically, the only line needed is the set-mouse-color one, but
changing the background before and after makes it easier to see.
A slightly different question is of course why it even calls
x_set_mouse_color on startup in the first place, when there is no custom
mouse color configured anywhere. The default behaviour should surely be
to not explicitly set the mouse color unless a color has been specified.
X-Loop: help-debbugs@HIDDEN
Subject: bug#75930: 30.0.92; Setting default frame background color messes up mouse pointer
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 31 Jan 2025 07:12:01 +0000
Resent-Message-ID: <handler.75930.B75930.173830748620193 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75930
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: rustand.lars@HIDDEN
Cc: luangruo@HIDDEN, 75930 <at> debbugs.gnu.org
Received: via spool by 75930-submit <at> debbugs.gnu.org id=B75930.173830748620193
(code B ref 75930); Fri, 31 Jan 2025 07:12:01 +0000
Received: (at 75930) by debbugs.gnu.org; 31 Jan 2025 07:11:26 +0000
Received: from localhost ([127.0.0.1]:49435 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tdlBV-0005Fc-J2
for submit <at> debbugs.gnu.org; Fri, 31 Jan 2025 02:11:25 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:50992)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tdlBT-0005FP-CT
for 75930 <at> debbugs.gnu.org; Fri, 31 Jan 2025 02:11:23 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1tdlBN-0007Wi-Tx; Fri, 31 Jan 2025 02:11:17 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=6F7/rKxCFqLPTHUPC2e1HpHSqdvcyBgqHr9MlJ8IKzg=; b=Fc5McqFBJ6wg
SlMwKLd2+vNOiN/aw2imZvJ48zWMhQ475A4DoXZGDd9lFZY/k7FY/IoC2aQc5oABvT9DPbGu6gxkc
d9Bzbcw0WwJ7qV6vlNsUAtzzNzGj4JUuSVkkp0P+kGclpPCs7/zgkacG9zRUKG6Q/otmvN9SA1UIa
5hIFBTKzXFMRaWk4Y8ElddBQIgQChYQ252I/ADgt7GvlHtmJwTf5b+zkUkWba1S8Ju5keXiWemghN
0XaJlRMGXLN+r90LS1f7VVNKG1YLYKHtejhgRhetgdi8HK754PwMcGWbuPdXnqZxTaazutHtrGNLs
C4Vqv9650Cu5//Qrk8w1YQ==;
Date: Fri, 31 Jan 2025 09:11:15 +0200
Message-Id: <864j1fjw4s.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <877c6c8140.fsf@HIDDEN>
(rustand.lars@HIDDEN)
References: <877c6dntp0.fsf@HIDDEN>
<86wmecltax.fsf@HIDDEN> <877c6cojk5.fsf@HIDDEN>
<877c6c8140.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: rustand.lars@HIDDEN
> Cc: 75930 <at> debbugs.gnu.org
> Date: Thu, 30 Jan 2025 22:04:31 +0100
>
>
> Po Lu <luangruo@HIDDEN> writes:
>
> > Eli Zaretskii <eliz@HIDDEN> writes:
> >
> >> The thing is, I cannot find where this setting of the border happens
> >> in our code. It seems to be the consequence of setting the frame's
> >> background mode, which happens when you set the background color, but
> >> that's where the track went cold for me, probably because I don't know
> >> enough about the X11 graphics. I hope someone else will be able to
> >> point out where we cause that border to appear, and then a solution
> >> might be found.
> >>
> >> Po Lu, any suggestions or ideas?
> >
> > Set a breakpoint on x_set_mouse_color, perhaps?
>
> I don't think a breakpoint will be necessary, I just popped in and had a
> look at x_set_mouse_color, and it shows quite clearly that it does
> explicitly do what I experience.
>
> First it sets mask_color to the frame background near the start of the
> function:
>
> unsigned long pixel = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f));
> unsigned long mask_color = FRAME_BACKGROUND_PIXEL (f);
>
>
> Then a bit further down it does this:
>
> XColor colors[2]; /* 0=foreground, 1=background */
>
> colors[0].pixel = x->mouse_pixel;
> colors[1].pixel = mask_color;
> x_query_colors (f, colors, 2);
>
> for (i = 0; i < mouse_cursor_max; i++)
> XRecolorCursor (dpy, cursor_data.cursor[i], &colors[0], &colors[1]);
>
>
> So it seems that x_set_mouse_color always sets the mouse pointer border
> color to the frame background. However, the foreground color defaults to
> BLACK_PIX_DEFAULT.
So now I'm confused: why is this a bug?
X-Loop: help-debbugs@HIDDEN
Subject: bug#75930: 30.0.92; Setting default frame background color messes up mouse pointer
Resent-From: Lars Rustand <rustand.lars@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 31 Jan 2025 23:15:02 +0000
Resent-Message-ID: <handler.75930.B75930.173836530010273 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75930
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: luangruo@HIDDEN, 75930 <at> debbugs.gnu.org
Received: via spool by 75930-submit <at> debbugs.gnu.org id=B75930.173836530010273
(code B ref 75930); Fri, 31 Jan 2025 23:15:02 +0000
Received: (at 75930) by debbugs.gnu.org; 31 Jan 2025 23:15:00 +0000
Received: from localhost ([127.0.0.1]:55351 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1te0E0-0002fd-98
for submit <at> debbugs.gnu.org; Fri, 31 Jan 2025 18:15:00 -0500
Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:46499)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <rustand.lars@HIDDEN>)
id 1te0Dy-0002fM-57
for 75930 <at> debbugs.gnu.org; Fri, 31 Jan 2025 18:14:58 -0500
Received: by mail-lf1-x132.google.com with SMTP id
2adb3069b0e04-53f22fd6832so2721752e87.1
for <75930 <at> debbugs.gnu.org>; Fri, 31 Jan 2025 15:14:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1738365291; x=1738970091; darn=debbugs.gnu.org;
h=mime-version:message-id:date:user-agent:references:in-reply-to
:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=EwYMECRBI0G/aV/nCSigy5EZmGWcqbFCdU/DRdP84DI=;
b=SRsV2hKS0AppJ40/JF/tPGQ2aCegDyti25W6nUr4lb9l82DWoeA+ndfNhFGri+ab3n
6U0iuajPCT2N5X9BfEbtudHPYzyDqYFk+1H2nn5VKuTEht6Ax5g7TatYi/WbJMdndg87
sjS110yFs0GO3C+rFOeKJi7z/LuelLFkTBp26Gex3kfqTDAGbWSHT6o6iAymGh0X6U8K
/HX1ctqhJK1ZhxllG50uheefQVvl+IXpPEHVnhLAilAUMsnEtR8WNzL+npxduehDtGjT
/PqXPak50kEcWwengCSxXLqrUld44D88RW4XGAwS1Rif+B15CtDEZW8WlqmgWrhymMOH
tEqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1738365291; x=1738970091;
h=mime-version:message-id:date:user-agent:references:in-reply-to
:subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to;
bh=EwYMECRBI0G/aV/nCSigy5EZmGWcqbFCdU/DRdP84DI=;
b=UAa5suldGLOWBVHd+M9+Ah8JIzYoE+6F7hSvh3oKSkvndD46Q7/fGx6OMO+CPrCbEm
bpQK09HM+J9GNVwEte88bIIF0PM2TiLte6oKKrI6DAJLvy+7dSSz/7jJuyxYon+esRS7
o8nJ7hAQUc8/NQAjf9FnXd6qNOLpOuUikr1D6HHsNuZm3NvuochztlZGPdLf7FLLVduM
efgmuWUOANxQl24lffC/PbWerhI8Jk+WvHoqzTskjd53fPV/jJ89yWndC8QasJepK1yc
lyBQFQJBTrX1xFYjiWdFLmb53+Vx4SRpue4vDrhrBKimQSQoNl8Sodii0Y2oe0b7iZ+H
ufkQ==
X-Forwarded-Encrypted: i=1;
AJvYcCVdmbFw/JNR9sj7tj1LmC4AFyZZOI2s2R6DumYEr25HjlC3Y6aGSA0wMmnuvMux7F8MmFgfmQ==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YyMJ4GIss7xaHg4QML7rIqlncm9xfn9Py7481nIQ7sSgLtr3GEB
av/Dej9xQT4d5/sC6Q8JKQglxFbj1jFo1j638c584gXF2aj+uQnM
X-Gm-Gg: ASbGncvHt54f3IxrkhdsMzQfNVoMLXjS54G+jG2+r9Eb9ZJTUEgCklyXxStmAWxf9wG
0kBV/j3DIDtHdHIeQcAuJBFV7g7deNxjPJEpqNPc+E8SpOdtcS55CBXbVLq7Ob99xdtwmtlce8u
8YmnLTxayg+ScOj9wOjQ9k1g9gHx/DV4/PEXqSs47lXPYvJswLc2qsTbOe0bvRFmDtc21v0S4uk
Pf25Zdi3CEfuDmH6lxCKw7rQPw1nY5Rswza9BJP53mWwkED5gCtfb5kMFbxRYMeURXwgB6ZTHr1
kWKqhyPx+o8fKrHx1cY=
X-Google-Smtp-Source: AGHT+IFImQ9A/3AABdyP1lzo26nzczI0cBxTHpubNzVJAVR2QIPoqbx/o5bPxYoKA8MTm92yfJ2iXg==
X-Received: by 2002:a05:6512:3d92:b0:540:75d3:959e with SMTP id
2adb3069b0e04-543e4be011emr4315264e87.5.1738365290838;
Fri, 31 Jan 2025 15:14:50 -0800 (PST)
Received: from localhost ([2a01:799:9da:d700:aab7:758a:dbae:13e9])
by smtp.gmail.com with ESMTPSA id
2adb3069b0e04-543ebe10379sm623688e87.72.2025.01.31.15.14.48
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 31 Jan 2025 15:14:49 -0800 (PST)
From: Lars Rustand <rustand.lars@HIDDEN>
In-Reply-To: <864j1fjw4s.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 31 Jan
2025 09:11:15 +0200")
References: <877c6dntp0.fsf@HIDDEN>
<86wmecltax.fsf@HIDDEN> <877c6cojk5.fsf@HIDDEN>
<877c6c8140.fsf@HIDDEN>
<864j1fjw4s.fsf@HIDDEN>
User-Agent: mu4e 1.12.7; emacs 30.0.92
Date: Sat, 01 Feb 2025 00:14:47 +0100
Message-ID: <87a5b6y3rs.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
--=-=-=
Content-Type: text/plain
Eli Zaretskii <eliz@HIDDEN> writes:
>
> So now I'm confused: why is this a bug?
I don't know why you are suddenly confused, because the description of
the bug has not changed. I have simply located the exact parts of the
code responsible for (one half of) the problem, i.e. the cause of the
mouse pointer border color being set to the frame background color.
Maybe my description of the issue I observe has not been clear
enough. Since you have not seen it first-hand, I attach an image which
illustrates the difference in mouse pointer caused by setting the
emacs frame background via the --background argument.
(I don't know how well image attachments work, if at all, on the mailing
list, so I apologize if the image does not make it through. Please let
me know if it doesn't reach you.)
The pointer to the left is how it normally looks, when emacs has not
modified it and the original Xorg pointer is still intact. As you can see
it is very easily visible, even against a dark background, thanks to
the border color.
The pointer on the right is the result of setting the frame background
color through the --background argument. As you can see the pointer is
now much less visible, since the border around the pointer is the exact
same color as the frame background.
Note that in neither of the examples have I set any custom mouse color,
so I would expect it to remain unchanged in both.
After finding the code I pointed to in my previous message, I realized
that this is in fact a two-part problem.
Part 1 is that x_set_mouse_color incorrectly uses the background color
of the current (or default?) frame as the color of the border/outline
of the mouse pointer. This makes that border in effect become
completely invisible when hovering over the emacs frame, which can make
the mouse pointer very hard to see.
Part 2 is that the act of setting a default frame background color
causes x_set_mouse_color to even be called in the first place. The mouse
color should obviously not be changed as a side effect of changing the
frame background color. These are two very different things that has
nothing to do with eachother.
I have identified the cause of part 1, but I have not (yet) found the
cause of part 2.
--=-=-=
Content-Type: image/png
Content-Disposition: attachment; filename=pointers-sideby-side.png
Content-Transfer-Encoding: base64
Content-Description: Mouse pointers side-by-side difference
iVBORw0KGgoAAAANSUhEUgAAAJkAAAA5CAYAAAAlQIlUAAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9
kT1Iw1AUhU9TpSIVQYuICGaoThZERcRJq1CECqFWaNXB5PUXmjQkKS6OgmvBwZ/FqoOLs64OroIg
+APiLjgpukiJ9yWFFjFeeLyP8+45vHcfINRKTDXbxgBVs4xELCqm0qti4BU+DKEPPZiRmanPSVIc
nvV1T91UdxGe5d33Z3VlsiYDfCLxLNMNi3iDeGrT0jnvE4dYQc4QnxOPGnRB4keuKy6/cc47LPDM
kJFMzBOHiMV8CystzAqGSjxJHM6oGuULKZcznLc4q6UKa9yTvzCY1VaWuU5rEDEsYgkSRCiooIgS
LERo10gxkaDzqId/wPFL5FLIVQQjxwLKUCE7fvA/+D1bMzcx7iYFo0D7i21/DAOBXaBete3vY9uu
nwD+Z+BKa/rLNWD6k/RqUwsfAd3bwMV1U1P2gMsdoP9Jlw3Zkfy0hFwOeD+jb0oDvbdA55o7t8Y5
Th+AJM0qfgMcHAIjecpe93h3R+vc/u1pzO8Hu3pyxDbRuwAAAAAGYktHRAD/AP8A/6C9p5MAAAAJ
cEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfpAR8WFgDMtuSGAAAAGXRFWHRDb21tZW50AENyZWF0
ZWQgd2l0aCBHSU1QV4EOFwAAAPBJREFUeNrt3DEOgzAQAEEu4jdQw/9LUjvvcSqTPpITyzfT0AJa
nY0ExLIddYGOHm4BIkNkIDJEhshAZIgMRIbIEBmIDJEhMhAZIoN/RVbLtdRyufsi6ysi8oX2eopM
aEKbck8mNJEJTWjzPF0KTWRCE9ockQlNZEIT2lfWkU6m1oQfs2/H9Je4jhBWRHym2H7mCMvT5Q8D
2897gqVYJtvkakcb//6BWRrnF6P81aeW6142UwXYJtnEAXrVhzyTrE2zNJt/kYHlEpGByBAZIgOR
ITJEBiJDZCAyRIbIQGSIDJGByBAZiAyRITIQGSIjnTf5w0/9EgES6AAAAABJRU5ErkJggg==
--=-=-=--
X-Loop: help-debbugs@HIDDEN
Subject: bug#75930: 30.0.92; Setting default frame background color messes up mouse pointer
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 01 Feb 2025 01:42:02 +0000
Resent-Message-ID: <handler.75930.B75930.17383740922993 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75930
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Lars Rustand <rustand.lars@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 75930 <at> debbugs.gnu.org
Received: via spool by 75930-submit <at> debbugs.gnu.org id=B75930.17383740922993
(code B ref 75930); Sat, 01 Feb 2025 01:42:02 +0000
Received: (at 75930) by debbugs.gnu.org; 1 Feb 2025 01:41:32 +0000
Received: from localhost ([127.0.0.1]:55591 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1te2Vn-0000mD-Jo
for submit <at> debbugs.gnu.org; Fri, 31 Jan 2025 20:41:31 -0500
Received: from sonic308-10.consmr.mail.ne1.yahoo.com ([66.163.187.33]:33772)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <luangruo@HIDDEN>)
id 1te2Vk-0000lz-W2
for 75930 <at> debbugs.gnu.org; Fri, 31 Jan 2025 20:41:29 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1738374083; bh=CoiSobb/jUtc188uJ+jF0lJ+xFAwZ/zTzMEtwDIZjJQ=;
h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
b=CfrJQxl/Jdjf3Jvqgo3Xj5rdsyiPxCS0XyAKz2fx/DRdTkq/Hr9nyZrrz2WjCiUFUAZpeYKBd4z8dDr/IGzUKefZhLz+2QdnF47T+BzFb5FagC4JfQyN6CYba2tLn4QEFL9vdju7XZnsGPhpVVfjb/Ma2odNdGZdUUEco090A60UhsHWXooaI0tEMih52OuBbU+zNYRFSq7mCTFYeH9DHaAdl6no0m0iKmSTaJwECWAsQgw+yEvUhABJKht5wic/rCEM2RdSpuFhMmvGqENbK3+LvKBLtIsHtAYm8dOZdWP0U8KAX1VJPO8uTdZMEAVcaboWf41IY/qx5xZQEM8O1g==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1738374083; bh=LmX3Xrq0Bw88+hJ+yvgmJ935dHYPa9xEd/kiNLzVD+P=;
h=X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afwjQh0702n6Br5Pe54uLCdIpETgIzS756oyUzgjtEEroBemoQ
zx7FdyzWjP0eT73v.J_tYMZEvO0sCIcAluzdJmAOgkadQocGwrwUIaC2SmxMAyc.bH_9KbP02.po
RSrnqJP9B959G3BctmGjhVEQhJ4Xkne9ARfD_MgW9xKG8FzQI.f0.Xzrl5FkmEfiFxP0XPkwbTUE
LFrJE1vl0u_fF7KofOTRmJpCOH_psiQsC4QxbJVm4x0bQWPHXzc0C_ZA.YRqFevODjP.3SkyrhfE
UqnsD7UJ2qYnn1LKe8XvIlWNHQUuQDc7GtFVI.G9xm4mqygATrVrXm3GfHzx9poJJiwoBD.o_TOl
FqNXcZ1l5H4SF9Jj_KE57hD3wi4_lUB5sAZmAlKo3LH7Kr3PMJPSBwjOqtepgsUHKDPz69EBfpiX
4qgPKrNcYherOnurSxBEa60mFOcw401hYSLaV3HxGt8IfFw59TVT_a7QeXuIc_n9nQfE5idVP5JT
qq3SK3eppzWnFiWpd6YOM4uwPUyZ7wAUn_mP2AKVCZWrHdGxb_YJQIaGmdg--
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: c0636037-0cf6-4837-8ed8-a7c18af24100
Received: from sonic.gate.mail.ne1.yahoo.com by
sonic308.consmr.mail.ne1.yahoo.com with HTTP; Sat, 1 Feb 2025 01:41:23 +0000
Received: by hermes--production-sg3-5b7954b588-bfzf8 (Yahoo Inc. Hermes SMTP
Server) with ESMTPA ID 35e4172ece1d4fd39b49563854caef0e;
Sat, 01 Feb 2025 01:41:16 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87a5b6y3rs.fsf@HIDDEN> (Lars
Rustand's message of "Sat, 01 Feb 2025 00:14:47 +0100")
References: <877c6dntp0.fsf@HIDDEN>
<86wmecltax.fsf@HIDDEN> <877c6cojk5.fsf@HIDDEN>
<877c6c8140.fsf@HIDDEN>
<864j1fjw4s.fsf@HIDDEN>
<87a5b6y3rs.fsf@HIDDEN>
Date: Sat, 01 Feb 2025 09:41:11 +0800
Message-ID: <87r04imog8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.23187
mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 480
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Lars Rustand <rustand.lars@HIDDEN> writes:
> Part 2 is that the act of setting a default frame background color
> causes x_set_mouse_color to even be called in the first place. The mouse
> color should obviously not be changed as a side effect of changing the
> frame background color. These are two very different things that has
> nothing to do with eachother.
Obviously they should, for otherwise the mouse cursor may become
invisible against the background of the frame.
X-Loop: help-debbugs@HIDDEN
Subject: bug#75930: 30.0.92; Setting default frame background color messes up mouse pointer
Resent-From: Lars Rustand <rustand.lars@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 01 Feb 2025 07:52:02 +0000
Resent-Message-ID: <handler.75930.B75930.17383963046225 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75930
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Po Lu <luangruo@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 75930 <at> debbugs.gnu.org
Received: via spool by 75930-submit <at> debbugs.gnu.org id=B75930.17383963046225
(code B ref 75930); Sat, 01 Feb 2025 07:52:02 +0000
Received: (at 75930) by debbugs.gnu.org; 1 Feb 2025 07:51:44 +0000
Received: from localhost ([127.0.0.1]:56083 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1te8I4-0001cK-E2
for submit <at> debbugs.gnu.org; Sat, 01 Feb 2025 02:51:44 -0500
Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:43254)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <rustand.lars@HIDDEN>)
id 1te8I2-0001bx-Cw
for 75930 <at> debbugs.gnu.org; Sat, 01 Feb 2025 02:51:42 -0500
Received: by mail-lf1-x134.google.com with SMTP id
2adb3069b0e04-54287a3ba3cso3492447e87.0
for <75930 <at> debbugs.gnu.org>; Fri, 31 Jan 2025 23:51:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1738396296; x=1739001096; darn=debbugs.gnu.org;
h=mime-version:message-id:date:user-agent:references:in-reply-to
:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=asvZq2rqz1vNDw1rvl1J6taPt7bu9FRJVChBCwg2DQg=;
b=AwyUGIF2B/lUxtyFl86v9rl0Z57GfIyML/h06ovIT+UuPt8Yhfme5x6+uIaas+yqNm
mPrM3IwqEH1OutpoONEyKTu/9Bu9dQ12/Y8WRs1s5v07qwEqd2UvqX+Iz9VSPEVNx91r
c9SrzC0iYW/N1kMyZcFgroZGJjL8zJodBmWxZQKRAq+XPFeI6Uy/dvlrLvgBSBbvx6rb
5ZmKEe6Vm/7nQ6DLAAp5AtR9oJjLsDkI8wGzicXEhkZyhYWjM97EM9OSz5VkEcqegz9e
y7tif+KDvsV63JyBxzJbs4jIry2pAccoQkaEOguSAQnKtUuRcJH1bLRS4GhLexHqgVJh
2jrQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1738396296; x=1739001096;
h=mime-version:message-id:date:user-agent:references:in-reply-to
:subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to;
bh=asvZq2rqz1vNDw1rvl1J6taPt7bu9FRJVChBCwg2DQg=;
b=QtfsIEE1y/7uV8pJM+Lc2TNgwZ+iXhOiQzpFw2CCsuGA8CqBfM+wRbYYQOpPrlG1i/
VLxOprFaJWcmRGBhEhqvUu70GD+DQI7DJ0gPXmAL1WaJz1UZhohDCu8bCB0GbyOIxRpE
0EH/5Bb4j3bP+OLK5c5DQ3DFjqVL7+67ea4TDmUY1s+5VOzntEpVHS9SUFZ/99IhEwlU
5s6PbPvcpDgHdNG3jnp5LV8yGgCPoZdWdeGt8RiPbMBy4lXqnfp9tu5g8sI++/PxxyWF
+0UCDWGVNmaOJ3rzPFjzHa4UtSrlomm7tS9E8N5QVIvSJkEh0ktVeWBecqBGQRgMsKQw
V2/A==
X-Forwarded-Encrypted: i=1;
AJvYcCX//N0rqro425sEYP51uDpOkDM/lO7pQJBKteJ6dNp2PwXD+hkXuY926sRMI/qnkHI7BgOZYw==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Ywy8HAWr1u4J7NRUH5ao8KqRClqg/IUCh/uSr4OrHsAUyidSsLU
LPwYSBRPwvDBf58ojuWOLk6qjTn6oZR8HCY1dEiL5kg9bgWzP0Jh
X-Gm-Gg: ASbGncsJO2XBwml77KVbOnytkQ5JGgiEoG1EoaSi7OgSvbIUnxgBNpJCl+5XaIw96iq
fQJYLg23hFvEfWjAh1Zb3palkrRdGcjm6XD2MsMQcmjj6jfJzcDIV7l7r7HS2y7C7vDb7hjhwkm
Tn9xmAAMYw3tTYL+X5l5kuLtGEIgvtRXSY2VAjrEcQZ+X0hJEPW7QZQQDkw1ZGfmx1c/UHLDS0s
polKbQoaFhpqXpzGy9zs62+GWPcgclrnFTq8qzrbYpOV96MtffsuEHnDTzUOSb5S0/ebz2BQM+G
xdrU0rkzosLBITcLWPQ=
X-Google-Smtp-Source: AGHT+IHqeiVxlYZYxAeQlm3XS5UbjS5OlSOqZLTOVZqEK/EbaTFygSYqt8NXBVkrVGwr9NlhVw5WxQ==
X-Received: by 2002:a05:6512:388f:b0:542:978b:e3b with SMTP id
2adb3069b0e04-543ea3ac80cmr3021942e87.4.1738396295567;
Fri, 31 Jan 2025 23:51:35 -0800 (PST)
Received: from localhost ([2a01:799:9da:d700:aab7:758a:dbae:13e9])
by smtp.gmail.com with ESMTPSA id
2adb3069b0e04-543ebebea8csm676791e87.221.2025.01.31.23.51.32
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 31 Jan 2025 23:51:33 -0800 (PST)
From: Lars Rustand <rustand.lars@HIDDEN>
In-Reply-To: <87r04imog8.fsf@HIDDEN> (Po Lu's message of "Sat, 01 Feb 2025
09:41:11 +0800")
References: <877c6dntp0.fsf@HIDDEN>
<86wmecltax.fsf@HIDDEN> <877c6cojk5.fsf@HIDDEN>
<877c6c8140.fsf@HIDDEN>
<864j1fjw4s.fsf@HIDDEN>
<87a5b6y3rs.fsf@HIDDEN>
<87r04imog8.fsf@HIDDEN>
User-Agent: mu4e 1.12.7; emacs 30.0.92
Date: Sat, 01 Feb 2025 08:51:31 +0100
Message-ID: <87y0yqw1a4.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Po Lu <luangruo@HIDDEN> writes:
> Lars Rustand <rustand.lars@HIDDEN> writes:
>
>> Part 2 is that the act of setting a default frame background color
>> causes x_set_mouse_color to even be called in the first place. The mouse
>> color should obviously not be changed as a side effect of changing the
>> frame background color. These are two very different things that has
>> nothing to do with eachother.
>
> Obviously they should, for otherwise the mouse cursor may become
> invisible against the background of the frame.
Your argument makes sense, but even if we accept that as correct, there
are multiple things wrong here. Why is there only two out of six
different ways to change the background that actually causes this to
happen?
(Even though I think your argument is valid, I still don't share your
opinon. I think this is unexpected behaviour from an X application. I
have never seen any other application which modifies my mouse pointer
colors. But I'll accept your premise for now.)
Given that you are concerned about making things invisible, the current
x_set_mouse_color *guarantees* that the border around the pointer
becomes invisible. A much more sensible default for this would be to use
the frame foreground color. Or pretty much *anything* else than the
frame background.
I hope we can agree that in my example image, the pointer which has not
been modified by emacs is much preferrable, and the one which has been
modified is verging on unusable. In a multi-monitor configuration with
many windows open, I find myself losing track of the mouse pointer and
having difficulty finding it again.
On a side note, even a black (unmodified) pointer is still highly
visible against a black frame background, as long as the contrasting
border around it is still present.
X-Loop: help-debbugs@HIDDEN
Subject: bug#75930: 30.0.92; Setting default frame background color messes up mouse pointer
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 01 Feb 2025 08:29:02 +0000
Resent-Message-ID: <handler.75930.B75930.173839850512626 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75930
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Lars Rustand <rustand.lars@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 75930 <at> debbugs.gnu.org
Received: via spool by 75930-submit <at> debbugs.gnu.org id=B75930.173839850512626
(code B ref 75930); Sat, 01 Feb 2025 08:29:02 +0000
Received: (at 75930) by debbugs.gnu.org; 1 Feb 2025 08:28:25 +0000
Received: from localhost ([127.0.0.1]:56141 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1te8rY-0003HZ-KF
for submit <at> debbugs.gnu.org; Sat, 01 Feb 2025 03:28:24 -0500
Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]:44035)
by debbugs.gnu.org with esmtps
(TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2)
(envelope-from <luangruo@HIDDEN>) id 1te8rW-0003HH-B1
for 75930 <at> debbugs.gnu.org; Sat, 01 Feb 2025 03:28:22 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1738398496; bh=r4myv3mBzpimgHNKDcjyk61jwcwoID/mZg8xaZ5m894=;
h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
b=g7d+GUkn2zHycI1X4mDIqgQ8ln5R+BvkBFUWlAnu7yyst4JTXFFBN8dfqOYxCrF/z8SWBhn29PQTAwJA5WGz+CDfsis3jr567cIhpDg7jrden4dryMZZgW7fdzS0fQLMww67IvOErbroexqhgBLw49s6YhIx/ocShnSkDZ39Mz5n2rWJWUaz1bpHzL8FbL3zhXUiw6XgS0ggIHPSkmEi4SpbfFnWgqpKEFDKEb98FEIhYxU3YsPxtccBvsSYmZ/J96RbrSNWl5txYe1doaxid+20qw6gAMIxI0IQS8Lre8INExw9HQoCGGiQfK1Of25K+ZZJ5DGjX7eD7uBSECCg1A==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1738398496; bh=u923jjMpu+LwniApXqSu6RwYGSUcOHjTyRFZDONm+47=;
h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
b=Sbzkl1pzpot24nc9p4OKwrL7/86uofjSgR2tDlEBUkdxHKvEaIro5sj0rAu16eRNcZj2rxSMRFFpUgZWOjN9kw+LItdfl0HVBpLBYWpdvd5ckNNC6FuFrHoH+XAlv8/wkTvJL7UMGqvlXhBQyn4PyA16HjJSGPeOhXsy87SOnDYW7eN8UhIs+Qj0QuwEugiY0VHBuSgO25mYIBrLtsfCDhrMaZqaINv4Hle2T//cWa7zlHTnlgOXv8AeQjabAk60k4sI5OQmivdlmeLXYu8eEdnTYSD5CXFFdkyD5hq/kW+qHrW0LqLf1BrQmqO++qOC6l0sMf9prqPlhDXwssiwbA==
X-YMail-OSG: JIVxcAQVM1kckYmtbq8fVBZndyUz7GLSNXZ5LabmDTfowXkQzE1xt37SItqLTy.
TTXM2_I7EmBvUI0GLhRUz4lYcr32FhBfTfrt1Rd4kmXrx1obF9rWojXtqmnS0YcbYLfncfiAiKM8
FBErWoHxCl.yEBhN7eGu8i5GhlQdycCOcn8CroFUzHHGcYCFcEc4EtVfempbE5VTkhh0LPngvxmb
S7oJvP9C7OLECdRi.lRUMjWAMpghATYxkUt8KmbL7tfTPr9HvNHTBjguTEAAdJGDRoYk57nAH3xA
zl0c0TovA.SLutnenOViTNXXetm21WFfxqghr5oNm8Cbab6bzBNeMGgF2docdKX5S5i6XjWhF8mO
ofjrpeHrZrCyg_jOBmCukySvLFOhBFqet808jnD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h0Bzz7L2fsqY0bQj_6o1c1PkcPexchjGFkZvtaFNhdmj
XJABQa9aAIKwKZbeXfp4R132roAfGeklSTLUi0D.stppGAnyw0SWo3tS_8e0VU7.ev3B9zev2PC0
_koKeRF1FGlhzsFgXOYrHYhtuaO0D5pW65TFZzIRsqoMcAKMbvVtBNlYR_qP7Bvsil.m8M9hA2fE
yTa1msBKYv.l00aLKQz1FqCLJp5ShA0UOn_KoehkDrkUHQtuLb7gYWtK_BmnxgoARq_lm6QThUM7
qysL_Rd1fT.ULvQrDsu5VPHt2EP8sj_IPFRv5ubu4M1gCKuFEo273DrPxS3.2Pyr6AEUruwr.YgI
bBUrrbZkZFJHJEmFUzzF_nSopWKKIYA0lSUE79jqRRazMEuiTohDUlqnfRbv_KoLezfhsHzBrw0h
U3yeoJWu2H52jUhklrRXhhV3Rk04I_QQnp2ul49OKmqO7Tq9E2Y7YoXRqv0uKkM6WFTCxuexa98Q
.uqwYTMHhVpAThA4JLKA7yBgBMMj4KKoLcEP1RouP.zYBZkrhnMgtV8x_2XUk7FSfyC8mKmaMqNF
Db9leuL.yAHgaPlgTNLozyxY7iocEqpqE_nMuT.h26RpQWWw2I27O_K3nxE3NGsyGuYky.TZC7U6
F8Ba61KnKQWK_moilHQFzbKUFeOl72vv4hzkBuySqohl2yErMXSVERnaTuSKAlwz95r6jpwJFM_t
fcASzZuJsbQ4mFW6JQ9Ck.CAOoPpfe4xeTLjYdivbqQyeIMk3SfiIvyHczTj.twJ4zqGzvOxoN6_
Oy_2I7Ro4bxo.XqWUV.qH2arNHdJdgDf_BFA_V5OOZ9RBf7l_QQrPXWUkLGE-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 5292a3ca-5abf-45a5-8253-2171becfaaa7
Received: from sonic.gate.mail.ne1.yahoo.com by
sonic309.consmr.mail.ne1.yahoo.com with HTTP; Sat, 1 Feb 2025 08:28:16 +0000
Received: by hermes--production-sg3-5b7954b588-sgpdh (Yahoo Inc. Hermes SMTP
Server) with ESMTPA ID 07e9b008d3c7582699fd1d4c7b45c021;
Sat, 01 Feb 2025 08:28:13 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87y0yqw1a4.fsf@HIDDEN> (Lars
Rustand's message of "Sat, 01 Feb 2025 08:51:31 +0100")
References: <877c6dntp0.fsf@HIDDEN>
<86wmecltax.fsf@HIDDEN> <877c6cojk5.fsf@HIDDEN>
<877c6c8140.fsf@HIDDEN>
<864j1fjw4s.fsf@HIDDEN>
<87a5b6y3rs.fsf@HIDDEN>
<87r04imog8.fsf@HIDDEN>
<87y0yqw1a4.fsf@HIDDEN>
Date: Sat, 01 Feb 2025 16:28:08 +0800
Message-ID: <87a5b6m5lz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.23187
mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1749
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Lars Rustand <rustand.lars@HIDDEN> writes:
> Your argument makes sense, but even if we accept that as correct, there
> are multiple things wrong here. Why is there only two out of six
> different ways to change the background that actually causes this to
> happen?
>
> (Even though I think your argument is valid, I still don't share your
> opinon. I think this is unexpected behaviour from an X application. I
> have never seen any other application which modifies my mouse pointer
> colors. But I'll accept your premise for now.)
>
> Given that you are concerned about making things invisible, the current
> x_set_mouse_color *guarantees* that the border around the pointer
> becomes invisible. A much more sensible default for this would be to use
> the frame foreground color. Or pretty much *anything* else than the
> frame background.
>
> I hope we can agree that in my example image, the pointer which has not
> been modified by emacs is much preferrable, and the one which has been
> modified is verging on unusable. In a multi-monitor configuration with
> many windows open, I find myself losing track of the mouse pointer and
> having difficulty finding it again.
>
> On a side note, even a black (unmodified) pointer is still highly
> visible against a black frame background, as long as the contrasting
> border around it is still present.
This is only true of some X systems, not those for which this code was
initially designed. But I am currently not horribly disposed to debug
the details of Emacs code when one of its maintainers is deliberately
turning a deaf ear to very reasonable requests on my part. Namely, not
merging a branch for another month or so, once I have had a chance to
correct a number of its deficiencies.
X-Loop: help-debbugs@HIDDEN
Subject: bug#75930: 30.0.92; Setting default frame background color messes up mouse pointer
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 01 Feb 2025 08:33:01 +0000
Resent-Message-ID: <handler.75930.B75930.173839877313491 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75930
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Lars Rustand <rustand.lars@HIDDEN>
Cc: luangruo@HIDDEN, 75930 <at> debbugs.gnu.org
Received: via spool by 75930-submit <at> debbugs.gnu.org id=B75930.173839877313491
(code B ref 75930); Sat, 01 Feb 2025 08:33:01 +0000
Received: (at 75930) by debbugs.gnu.org; 1 Feb 2025 08:32:53 +0000
Received: from localhost ([127.0.0.1]:56149 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1te8vs-0003VX-Nd
for submit <at> debbugs.gnu.org; Sat, 01 Feb 2025 03:32:53 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:53098)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1te8vp-0003VI-FF
for 75930 <at> debbugs.gnu.org; Sat, 01 Feb 2025 03:32:50 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1te8vj-0002gG-3v; Sat, 01 Feb 2025 03:32:43 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=1e0PF3SNqFt4FHv1luMgBSXMmBvIwe1qP4CRRaavHNc=; b=fbWpPBd5ELtP
yi3qnL29cKM38w9TSU6HOl6CR4VIl3p3iuFmnr2h8LkmeeAixgDw3bhPBVtGMN0tFciX6C4pryEcx
mhBOH32OQEi7T8GudT5JwADmJKqQVRd63bBnVYUpswpXXU384IoUShG38JhoLWtNOMf7Vq9VxMZcu
7MVvhnkpc4SW1hLy+0HBGUDCRorOuQWt9YXH9BwBXoEtYSmUbDvPphkPllarjOBSAZrGRzVZo9SCk
Mp5ELZ5AdHVrqHnHbjqmsZwadZRBM6VpzSMcxLC7c/1wLTvi2qG3W5k3WVF5j0H9AUtvZo3sIaDAn
aM1V1qGjOvtritsvIsd2xA==;
Date: Sat, 01 Feb 2025 10:32:39 +0200
Message-Id: <861pwihxp4.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87a5b6y3rs.fsf@HIDDEN> (message from
Lars Rustand on Sat, 01 Feb 2025 00:14:47 +0100)
References: <877c6dntp0.fsf@HIDDEN>
<86wmecltax.fsf@HIDDEN> <877c6cojk5.fsf@HIDDEN>
<877c6c8140.fsf@HIDDEN>
<864j1fjw4s.fsf@HIDDEN>
<87a5b6y3rs.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Lars Rustand <rustand.lars@HIDDEN>
> Cc: luangruo@HIDDEN, 75930 <at> debbugs.gnu.org
> Date: Sat, 01 Feb 2025 00:14:47 +0100
>
> Eli Zaretskii <eliz@HIDDEN> writes:
> >
> > So now I'm confused: why is this a bug?
>
> I don't know why you are suddenly confused, because the description of
> the bug has not changed. I have simply located the exact parts of the
> code responsible for (one half of) the problem, i.e. the cause of the
> mouse pointer border color being set to the frame background color.
I'm confused because what you found seems to mean Emacs works as
(should be) expected. See below.
> After finding the code I pointed to in my previous message, I realized
> that this is in fact a two-part problem.
>
> Part 1 is that x_set_mouse_color incorrectly uses the background color
> of the current (or default?) frame as the color of the border/outline
> of the mouse pointer. This makes that border in effect become
> completely invisible when hovering over the emacs frame, which can make
> the mouse pointer very hard to see.
What would you propose as an the alternative?
> Part 2 is that the act of setting a default frame background color
> causes x_set_mouse_color to even be called in the first place. The mouse
> color should obviously not be changed as a side effect of changing the
> frame background color. These are two very different things that has
> nothing to do with eachother.
>
>
> I have identified the cause of part 1, but I have not (yet) found the
> cause of part 2.
I think part 2 happens as part of frame-set-background-mode, as I
mentioned up-thread, and it makes sense to me.
What this might mean is that if you don't want the effect the original
recipe produces, you should call set-mouse-color again after
set-background-color.
X-Loop: help-debbugs@HIDDEN
Subject: bug#75930: 30.0.92; Setting default frame background color messes up mouse pointer
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 01 Feb 2025 08:53:01 +0000
Resent-Message-ID: <handler.75930.B75930.173839993817064 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75930
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Po Lu <luangruo@HIDDEN>
Cc: rustand.lars@HIDDEN, 75930 <at> debbugs.gnu.org
Received: via spool by 75930-submit <at> debbugs.gnu.org id=B75930.173839993817064
(code B ref 75930); Sat, 01 Feb 2025 08:53:01 +0000
Received: (at 75930) by debbugs.gnu.org; 1 Feb 2025 08:52:18 +0000
Received: from localhost ([127.0.0.1]:56220 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1te9Ef-0004R9-OY
for submit <at> debbugs.gnu.org; Sat, 01 Feb 2025 03:52:18 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:37442)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1te9Ed-0004Qr-6e
for 75930 <at> debbugs.gnu.org; Sat, 01 Feb 2025 03:52:15 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1te9EX-00056K-T2; Sat, 01 Feb 2025 03:52:09 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=CfwBj3cJkILhMJUPwKOjmsYumk49aHfOcGrUMSC2BB4=; b=rmTqpjhJQvlj
7m8qBPQmmFR+l8Z/Z8TMVueCuP4c84ke/L23tPe5RGjndwY9DkZYJCeB02ss7PkFhkF+Oa98rcC+V
RuzWCvWC0xjbusGSVbfxTShTty+z9712ckZwKjK0xbnTPd7zdNAfE7cvFF/fIw9dqN4TSeq9SEICR
gXdyWexbZSwNauqCMPtkTRHYrCvOYhkRA7XFETlIBJ6/mYn7Zpjgrl9WT4hd03TASoq5tSbpeiR41
TgY6okGJEMcywSijYH+rTrsPIirCzVOhMMxrLl2nVoZ6V4D8hS5Xovx0U7eieSH8zDsITDZg8Bi1i
EgvwdChnLU6qBTBQR4HPCQ==;
Date: Sat, 01 Feb 2025 10:52:05 +0200
Message-Id: <86tt9egi8a.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87r04imog8.fsf@HIDDEN> (message from Po Lu on Sat, 01 Feb
2025 09:41:11 +0800)
References: <877c6dntp0.fsf@HIDDEN>
<86wmecltax.fsf@HIDDEN> <877c6cojk5.fsf@HIDDEN>
<877c6c8140.fsf@HIDDEN>
<864j1fjw4s.fsf@HIDDEN>
<87a5b6y3rs.fsf@HIDDEN>
<87r04imog8.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Po Lu <luangruo@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>, 75930 <at> debbugs.gnu.org
> Date: Sat, 01 Feb 2025 09:41:11 +0800
>
> Lars Rustand <rustand.lars@HIDDEN> writes:
>
> > Part 2 is that the act of setting a default frame background color
> > causes x_set_mouse_color to even be called in the first place. The mouse
> > color should obviously not be changed as a side effect of changing the
> > frame background color. These are two very different things that has
> > nothing to do with eachother.
>
> Obviously they should, for otherwise the mouse cursor may become
> invisible against the background of the frame.
Exactly. As mentioned, I think frame-set-background-mode does this.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.