[Cocoa] Annoying system beep/bell [message #509237] |
Thu, 21 January 2010 18:17 |
|
Hi all,
In our product, we have a strange behavior on MacOSX: when giving focus to one of our editors view (precisely a GMF editor), then we here a "bong", a kind of system bell.
From here, I have 2 questions, and I'd appreciate any help for any of these questions since I did not find any help by googling:
* What could explain this "bong" ?
* Is there a way to deactivate the system bell in our application (by setting a system property or a preference for example) ?
Thanks in advance
--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
|
|
|
|
Re: [Cocoa] Annoying system beep/bell [message #509420 is a reply to message #509246] |
Fri, 22 January 2010 12:14 |
|
Prakash G.R. a écrit :
> On 21/01/10 11:47 PM, Mickael Istria wrote:
>> In our product, we have a strange behavior on MacOSX: when giving focus
>> to one of our editors view (precisely a GMF editor), then we here a
>> "bong", a kind of system bell.
>> From here, I have 2 questions, and I'd appreciate any help for any of
>> these questions since I did not find any help by googling:
>> * What could explain this "bong" ?
>
> Your GMF editor is calling Display.beep();
I put a breakpoint on this method and could understand where the problem is in our code.
Thanks!
--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
|
|
|
Re: [Cocoa] Annoying system beep/bell [message #509449 is a reply to message #509420] |
Fri, 22 January 2010 13:21 |
|
Mickael Istria a écrit :
> Prakash G.R. a écrit :
>> On 21/01/10 11:47 PM, Mickael Istria wrote:
>>> In our product, we have a strange behavior on MacOSX: when giving focus
>>> to one of our editors view (precisely a GMF editor), then we here a
>>> "bong", a kind of system bell.
>>> From here, I have 2 questions, and I'd appreciate any help for any of
>>> these questions since I did not find any help by googling:
>>> * What could explain this "bong" ?
>>
>> Your GMF editor is calling Display.beep();
>
Thanks a lot Prakash, we could avoid this beep by investigating around the Display.beep() method.
I opened a bug report about this annoying behaviour: http://bugs.eclipse.org/300486
--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
|
|
|
Powered by
FUDForum. Page generated in 0.04749 seconds