GNU bug report logs -
#21977
25.1; visible-bell corrupts screen on Mac OS X 10.11
Previous Next
Reported by: David Caldwell <david <at> porkrind.org>
Date: Sat, 21 Nov 2015 20:46:01 UTC
Severity: normal
Tags: patch
Merged with 21662,
21781
Found in versions 25.0.50, 25.1
Done: Anders Lindgren <andlind <at> gmail.com>
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 21977 in the body.
You can then email your comments to 21977 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21977
; Package
emacs
.
(Sat, 21 Nov 2015 20:46:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
David Caldwell <david <at> porkrind.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 21 Nov 2015 20:46:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (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)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 22 Dec 2015 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 186 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.