bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21662: visible-bell causes display artifacts on OS X 10.11


From: Anders Lindgren
Subject: bug#21662: visible-bell causes display artifacts on OS X 10.11
Date: Sat, 21 Nov 2015 21:05:07 +0100

Hi again,

I decided to reimplement Mustafas ideas in a 10.6.8 compatible manner, and to address the problem with the image being covered by scroll bars I mentioned before. In addition, my implementation is aware that several bell:s may be active at once and won't remove the image until the last one times out, which eliminated flickering.

Unless anyone objects, I will publish this in the beginning of next week.

Sincerely,
    Anders Lindgren

On Wed, Nov 18, 2015 at 9:27 PM, Anders Lindgren <andlind@gmail.com> wrote:
Hi,

Today I tested suggested patch on an 10.11 and on 10.6.8.

The good news is that, visually, the patch looks really good! It replaced the boring black square with the standard OS X icon "Caution" icon -- an exclamation mark on a triangle. It is less intrusive, which I consider a good thing.

Unfortunately, the code doesn't compile under 10.6.8. The code use the "hidden" property of NSView (introduced in 10.10), and it the compiler complains about the "." in the "[BellView.instance ..." construct.

I notices a minor problem under 10.11 as well. The icon is shadowed by scroll bars, if they happen to be displayed in the middle of the frame, like when having two side-by-side windows.

I will make an attempt to rewrite to code to work under 10.6.8.

Sincerely,
    Anders Lindgren


Attachment: bell-3.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]