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.
Full log
View this message in rfc822 format
[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)]
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.