GNU bug report logs - #45640
28.0.50; Fringe icons show fixed white background on secondary display (macos)

Previous Next

Package: emacs;

Reported by: Li Feng <li.feng <at> snap.com>

Date: Sun, 3 Jan 2021 23:07:02 UTC

Severity: normal

Found in version 28.0.50

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45640 in the body.
You can then email your comments to 45640 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#45640; Package emacs. (Sun, 03 Jan 2021 23:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Li Feng <li.feng <at> snap.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 03 Jan 2021 23:07:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Li Feng <li.feng <at> snap.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; Fringe icons show fixed white background on secondary
 display (macos)
Date: Mon, 4 Jan 2021 10:06:25 +1100
1. Use a dark theme (so that it's easier to see the incorrect background
color)

2. Start Emacs on internal laptop display, and observe fringe icons
(eg. new line indicators) are displayed correctly.

3. Drag the Emacs window to the external monitor, and observe the fringe
icons are all displayed on white background instead of theme color.


In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.6.0, NS
appkit-1894.60 Version 10.15.7 (Build 19H15))
 of 2020-12-18 built on C02C94JGMD6T
Repository revision: fa4c2768cf6cf670e4c7af0c2b74ad139e65aad4
Repository branch: master
Windowing system distributor 'Apple', version 10.3.1894
System Description:  Mac OS X 10.15.7

Configured using:
 'configure --with-ns --with-modules 'CFLAGS=-O2 -g0 -march=native''

Configured features:
JPEG TIFF GIF PNG RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS XIM NS MODULES THREADS JSON PDUMPER LCMS2

Important settings:
  value of $LANG: en_AU.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Magit

Minor modes in effect:
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  shell-dirtrack-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  show-paren-mode: t
  savehist-mode: t
  recentf-mode: t
  global-auto-revert-mode: t
  which-key-mode: t
  ivy-rich-mode: t
  counsel-mode: t
  ivy-mode: t
  delete-selection-mode: t
  my-keys-minor-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/Users/li.feng/.emacs.d/elpa/lispy-20201226.1746/elpa hides
/Users/li.feng/.emacs.d/elpa/ivy-20201218.1222/elpa
/Users/li.feng/.emacs.d/elpa/cmake-mode-20201217.1410/cmake-mode hides
/usr/local/share/emacs/site-lisp/cmake/cmake-mode
/Users/li.feng/.emacs.d/elpa/protobuf-mode-20200619.1742/protobuf-mode
hides /usr/local/share/emacs/site-lisp/protobuf/protobuf-mode

Features:
(shadow sort mail-extr emacsbug sendmail smex ido magit-extras
face-remap magit-submodule magit-obsolete magit-blame magit-stash
magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone
magit-remote magit-commit magit-sequence magit-notes magit-worktree
magit-tag magit-merge magit-branch magit-reset magit-files magit-refs
magit-status magit magit-repos magit-apply magit-wip magit-log
which-func magit-diff smerge-mode diff magit-core magit-autorevert
magit-margin magit-transient magit-process magit-mode git-commit
transient format-spec magit-git magit-section magit-utils crm log-edit
message rmc puny rfc822 mml mml-sec epa derived epg epg-config gnus-util
rmail rmail-loaddefs time-date mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev
mail-utils gmm-utils mailheader pcvs-util add-log with-editor
async-bytecomp async shell pcomplete server vc-mtn vc-hg vc-git
diff-mode vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc vc-dispatcher
eglot array jsonrpc ert pp ewoc debug backtrace flymake-proc flymake
warnings imenu highlight-numbers parent-mode hl-todo company-box
company-box-doc frame-local company-box-icons all-the-icons
all-the-icons-faces data-material data-weathericons data-octicons
data-fileicons data-faicons data-alltheicons memoize dash-functional
dash company-keywords company-dabbrev-code company-dabbrev company-cmake
company-capf company-elisp find-func company pcase cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
thingatpt time yasnippet paren savehist recentf tree-widget wid-edit
cus-start cus-load diminish autorevert filenotify generic appt diary-lib
diary-loaddefs cal-menu calendar cal-loaddefs ls-lisp which-key
exec-path-from-shell ivy-rich counsel xdg advice xref project dired
dired-loaddefs compile text-property-search comint ansi-color swiper
cl-extra help-mode ivy delsel ring ivy-faces ivy-overlay colir
easy-mmode edmacro kmacro sanityinc-tomorrow-blue-theme
color-theme-sanityinc-tomorrow color rx slime-autoloads w3m-load info
package easymenu browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util mailcap
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win
ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame minibuffer cl-generic
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 charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads kqueue
cocoa ns lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 310737 37776)
 (symbols 48 27526 1)
 (strings 32 94580 7968)
 (string-bytes 1 3060550)
 (vectors 16 41521)
 (vector-slots 8 518690 36242)
 (floats 8 628 409)
 (intervals 56 1878 0)
 (buffers 984 15))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45640; Package emacs. (Mon, 04 Jan 2021 15:47:01 GMT) Full text and rfc822 format available.

Message #8 received at 45640 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Li Feng <li.feng <at> snap.com>
Cc: 45640 <at> debbugs.gnu.org
Subject: Re: bug#45640: 28.0.50; Fringe icons show fixed white background on
 secondary display (macos)
Date: Mon, 4 Jan 2021 15:46:04 +0000
On Mon, Jan 04, 2021 at 10:06:25AM +1100, Li Feng via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote:
> 1. Use a dark theme (so that it's easier to see the incorrect background
> color)
> 
> 2. Start Emacs on internal laptop display, and observe fringe icons
> (eg. new line indicators) are displayed correctly.
> 
> 3. Drag the Emacs window to the external monitor, and observe the fringe
> icons are all displayed on white background instead of theme color.
> 
> 
> In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.6.0, NS
> appkit-1894.60 Version 10.15.7 (Build 19H15))
>  of 2020-12-18 built on C02C94JGMD6T
> Repository revision: fa4c2768cf6cf670e4c7af0c2b74ad139e65aad4
> Repository branch: master

Hi, I can't replicate this. Can you please try building from current
master and checking if you still see this?
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45640; Package emacs. (Tue, 05 Jan 2021 00:43:02 GMT) Full text and rfc822 format available.

Message #11 received at 45640 <at> debbugs.gnu.org (full text, mbox):

From: Li Feng <li.feng <at> snap.com>
To: Alan Third <alan <at> idiocy.org>, Li Feng <li.feng <at> snap.com>,
 45640 <at> debbugs.gnu.org
Subject: Re: bug#45640: 28.0.50; Fringe icons show fixed white background on
 secondary display (macos)
Date: Tue, 5 Jan 2021 11:42:42 +1100
Hi I just rebuilt everything with latest master branch, and I can
still reproduce this problem.
It shows in all themes, including builtin themes.
I'm running on macos catalina 10.15.7.

On Tue, Jan 5, 2021 at 2:46 AM Alan Third <alan <at> idiocy.org> wrote:
>
> On Mon, Jan 04, 2021 at 10:06:25AM +1100, Li Feng via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote:
> > 1. Use a dark theme (so that it's easier to see the incorrect background
> > color)
> >
> > 2. Start Emacs on internal laptop display, and observe fringe icons
> > (eg. new line indicators) are displayed correctly.
> >
> > 3. Drag the Emacs window to the external monitor, and observe the fringe
> > icons are all displayed on white background instead of theme color.
> >
> >
> > In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.6.0, NS
> > appkit-1894.60 Version 10.15.7 (Build 19H15))
> >  of 2020-12-18 built on C02C94JGMD6T
> > Repository revision: fa4c2768cf6cf670e4c7af0c2b74ad139e65aad4
> > Repository branch: master
>
> Hi, I can't replicate this. Can you please try building from current
> master and checking if you still see this?
> --
> Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45640; Package emacs. (Tue, 05 Jan 2021 00:46:01 GMT) Full text and rfc822 format available.

Message #14 received at 45640 <at> debbugs.gnu.org (full text, mbox):

From: Li Feng <li.feng <at> snap.com>
To: Alan Third <alan <at> idiocy.org>, Li Feng <li.feng <at> snap.com>,
 45640 <at> debbugs.gnu.org
Subject: Re: bug#45640: 28.0.50; Fringe icons show fixed white background on
 secondary display (macos)
Date: Tue, 5 Jan 2021 11:45:00 +1100
Tested starting with "Emacs -q" then choose a builtin theme "wambat",
move the window to external display and I can still see the problem.

On Tue, Jan 5, 2021 at 11:42 AM Li Feng <li.feng <at> snap.com> wrote:
>
> Hi I just rebuilt everything with latest master branch, and I can
> still reproduce this problem.
> It shows in all themes, including builtin themes.
> I'm running on macos catalina 10.15.7.
>
> On Tue, Jan 5, 2021 at 2:46 AM Alan Third <alan <at> idiocy.org> wrote:
> >
> > On Mon, Jan 04, 2021 at 10:06:25AM +1100, Li Feng via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote:
> > > 1. Use a dark theme (so that it's easier to see the incorrect background
> > > color)
> > >
> > > 2. Start Emacs on internal laptop display, and observe fringe icons
> > > (eg. new line indicators) are displayed correctly.
> > >
> > > 3. Drag the Emacs window to the external monitor, and observe the fringe
> > > icons are all displayed on white background instead of theme color.
> > >
> > >
> > > In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.6.0, NS
> > > appkit-1894.60 Version 10.15.7 (Build 19H15))
> > >  of 2020-12-18 built on C02C94JGMD6T
> > > Repository revision: fa4c2768cf6cf670e4c7af0c2b74ad139e65aad4
> > > Repository branch: master
> >
> > Hi, I can't replicate this. Can you please try building from current
> > master and checking if you still see this?
> > --
> > Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45640; Package emacs. (Tue, 05 Jan 2021 19:52:02 GMT) Full text and rfc822 format available.

Message #17 received at 45640 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Li Feng <li.feng <at> snap.com>
Cc: 45640 <at> debbugs.gnu.org
Subject: Re: bug#45640: 28.0.50; Fringe icons show fixed white background on
 secondary display (macos)
Date: Tue, 5 Jan 2021 19:50:54 +0000
On Tue, Jan 05, 2021 at 11:42:42AM +1100, Li Feng via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote:
> Hi I just rebuilt everything with latest master branch, and I can
> still reproduce this problem.
> It shows in all themes, including builtin themes.
> I'm running on macos catalina 10.15.7.

What are your screens like? Are either or both of them retina? If you
force a full redisplay by, say, resizing the frame, does the problem
remain?
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45640; Package emacs. (Tue, 05 Jan 2021 21:28:02 GMT) Full text and rfc822 format available.

Message #20 received at 45640 <at> debbugs.gnu.org (full text, mbox):

From: Li Feng <li.feng <at> snap.com>
To: Alan Third <alan <at> idiocy.org>, Li Feng <li.feng <at> snap.com>,
 45640 <at> debbugs.gnu.org
Subject: Re: bug#45640: 28.0.50; Fringe icons show fixed white background on
 secondary display (macos)
Date: Wed, 6 Jan 2021 08:27:26 +1100
My laptop screen is retina, but the external monitor is not.

Redisplay or resizing does not make the problem go away, icon
background remains white.


On Wed, Jan 6, 2021 at 6:51 AM Alan Third <alan <at> idiocy.org> wrote:
>
> On Tue, Jan 05, 2021 at 11:42:42AM +1100, Li Feng via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote:
> > Hi I just rebuilt everything with latest master branch, and I can
> > still reproduce this problem.
> > It shows in all themes, including builtin themes.
> > I'm running on macos catalina 10.15.7.
>
> What are your screens like? Are either or both of them retina? If you
> force a full redisplay by, say, resizing the frame, does the problem
> remain?
> --
> Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45640; Package emacs. (Tue, 09 Feb 2021 22:51:02 GMT) Full text and rfc822 format available.

Message #23 received at 45640 <at> debbugs.gnu.org (full text, mbox):

From: Li Feng <li.feng <at> snap.com>
To: Alan Third <alan <at> idiocy.org>, Li Feng <li.feng <at> snap.com>,
 45640 <at> debbugs.gnu.org
Subject: Re: bug#45640: 28.0.50; Fringe icons show fixed white background on
 secondary display (macos)
Date: Wed, 10 Feb 2021 09:50:03 +1100
[Message part 1 (text/plain, inline)]
I tested emacs master on a retina display, and it is all good. fringe icons
are rendered correctly on both internal and external displays. However, on
low-res external displays the fringe icon rendering is still broken.

On Wed, Jan 6, 2021 at 8:27 AM Li Feng <li.feng <at> snap.com> wrote:

> My laptop screen is retina, but the external monitor is not.
>
> Redisplay or resizing does not make the problem go away, icon
> background remains white.
>
>
> On Wed, Jan 6, 2021 at 6:51 AM Alan Third <alan <at> idiocy.org> wrote:
> >
> > On Tue, Jan 05, 2021 at 11:42:42AM +1100, Li Feng via Bug reports for
> GNU Emacs, the Swiss army knife of text editors wrote:
> > > Hi I just rebuilt everything with latest master branch, and I can
> > > still reproduce this problem.
> > > It shows in all themes, including builtin themes.
> > > I'm running on macos catalina 10.15.7.
> >
> > What are your screens like? Are either or both of them retina? If you
> > force a full redisplay by, say, resizing the frame, does the problem
> > remain?
> > --
> > Alan Third
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45640; Package emacs. (Sun, 08 Aug 2021 21:16:02 GMT) Full text and rfc822 format available.

Message #26 received at 45640 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Li Feng <li.feng <at> snap.com>
Cc: 45640 <at> debbugs.gnu.org
Subject: Re: bug#45640: 28.0.50; Fringe icons show fixed white background on
 secondary display (macos)
Date: Sun, 8 Aug 2021 22:14:50 +0100
On Wed, Feb 10, 2021 at 09:50:03AM +1100, Li Feng wrote:
> I tested emacs master on a retina display, and it is all good. fringe icons
> are rendered correctly on both internal and external displays. However, on
> low-res external displays the fringe icon rendering is still broken.

I've completely rewritten the fringe bitmap display on the master
branch. Can you please have a look and see if this is still a problem
for you?
-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45640; Package emacs. (Sun, 08 Aug 2021 23:14:02 GMT) Full text and rfc822 format available.

Message #29 received at 45640 <at> debbugs.gnu.org (full text, mbox):

From: Li Feng <li.feng <at> snap.com>
To: Alan Third <alan <at> idiocy.org>, Li Feng <li.feng <at> snap.com>,
 45640 <at> debbugs.gnu.org
Subject: Re: bug#45640: 28.0.50; Fringe icons show fixed white background on
 secondary display (macos)
Date: Mon, 9 Aug 2021 09:13:22 +1000
[Message part 1 (text/plain, inline)]
Thanks, just tried it and I can confirm this is fixed.

On Mon, Aug 9, 2021 at 7:15 AM Alan Third <alan <at> idiocy.org> wrote:

> On Wed, Feb 10, 2021 at 09:50:03AM +1100, Li Feng wrote:
> > I tested emacs master on a retina display, and it is all good. fringe
> icons
> > are rendered correctly on both internal and external displays. However,
> on
> > low-res external displays the fringe icon rendering is still broken.
>
> I've completely rewritten the fringe bitmap display on the master
> branch. Can you please have a look and see if this is still a problem
> for you?
> --
> Alan Third
>
[Message part 2 (text/html, inline)]

Reply sent to Alan Third <alan <at> idiocy.org>:
You have taken responsibility. (Mon, 09 Aug 2021 15:46:02 GMT) Full text and rfc822 format available.

Notification sent to Li Feng <li.feng <at> snap.com>:
bug acknowledged by developer. (Mon, 09 Aug 2021 15:46:02 GMT) Full text and rfc822 format available.

Message #34 received at 45640-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Li Feng <li.feng <at> snap.com>
Cc: 45640-done <at> debbugs.gnu.org
Subject: Re: bug#45640: 28.0.50; Fringe icons show fixed white background on
 secondary display (macos)
Date: Mon, 9 Aug 2021 16:45:14 +0100
On Mon, Aug 09, 2021 at 09:13:22AM +1000, Li Feng wrote:
> Thanks, just tried it and I can confirm this is fixed.

Excellent, thanks!
-- 
Alan Third




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 07 Sep 2021 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 225 days ago.

Previous Next


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