GNU bug report logs -
#21662
25.0.50; visible-bell causes display artifacts on OS X 10.11
Previous Next
Reported by: Steve Purcell <steve <at> sanityinc.com>
Date: Sun, 11 Oct 2015 03:42:01 UTC
Severity: normal
Tags: patch
Merged with 21781,
21977
Found in versions 25.0.50, 25.1
Done: Anders Lindgren <andlind <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#21662: 25.1; visible-bell corrupts screen on Mac OS X 10.11
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 21977 <at> debbugs.gnu.org.
--
21662: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21662
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Fixed, see
http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=345a9c8cd07111a8c8367e59404688544e8b8b1d
for details.
-- Anders Lindgren
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
[Message part 6 (text/plain, inline)]
Hello,
Visible bell on Max OS X is a little weird in the first place: It
flashes a 128x128 rectangle in the middle of the OS
Window. Unfortunately, it's leaving artifacts and corrupted visuals
behind on Mac OS X 10.11. A nice example of the issue can be seen here:
https://cloud.githubusercontent.com/assets/617316/10954115/97430952-8319-11e5-81f4-25054836b901.png
It's easy to reproduce:
M-x set-variable RET visible-bell RET t RET
...then hit `C-g`.
I've been looking into this and it actually appears to be a bug in Mac
OS X.
I made an isolated test program from part of ns_ring_bell()
(https://github.com/caldwell/bracketed-window-op-test) that reproduces
the problem and have reported the bug to Apple (bug number 23642195, but
their bugs are private so having that doesn't help much).
Since it's an OS X problem, I'm not really sure if I should be
reporting this here. But it seems to be confusing people, so maybe we
can work around it somehow until Apple fixes things. I tried to play
with NSCompositingOperation for a little bit last night but couldn't get
anything reasonable. I see in the git history that someone replaced
ns_ring_bell() with some CF graphics stuff, but it got reverted for some
reason (maybe GNUStep incompatibility?). Perhaps that can be resurrected
and reworked...
-David
[smime.p7s (application/pkcs7-signature, attachment)]
This bug report was last modified 9 years and 187 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.