[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tooltips in save panels
From: |
Fred Kiefer |
Subject: |
Re: Tooltips in save panels |
Date: |
Tue, 19 Feb 2013 09:10:24 +0100 |
Am 18.02.2013 um 23:49 schrieb Riccardo Mottola <address@hidden>:
>
> Fred Kiefer wrote:
>> On 18.02.2013 12:25, Riccardo Mottola wrote:
>>
>> I think the root of this problem isn't even in gui. A timer gets set up for
>> the tooltip via the NSTimer method
>> -scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:
>> That method uses the runmode NSDefaultRunLoopMode for the timer. While a
>> modal window gets displayed gui requests events in the
>> NSModalPanelRunLoopMode and the timer wont get fired. Now this behaviour
>> matches the Apple documentation, but results in the tooltip never getting
>> displayed.
>>
> when you write "this behaviour matches Apple" do you mean our timer is acting
> correct but we are using the wrong one?
>
>> To work around this behaviour gui should create the timer via
>> -timerWithTimeInterval:target:selector:userInfo:repeats: and add it to the
>> runloop itself for different modes.
I am no expert here, but the behaviour in base matches the documentation. If
this does not result in the desired effect, we will have to use a different
way. And maybe the solution is as simple as adding that timer for the modal
panel mode as well.
- Tooltips in save panels, A. Arias, 2013/02/18
- Re: Tooltips in save panels, Riccardo Mottola, 2013/02/18
- Re: Tooltips in save panels, Wolfgang Lux, 2013/02/18
- Re: Tooltips in save panels, Fred Kiefer, 2013/02/18
- Re: Tooltips in save panels, Riccardo Mottola, 2013/02/18
- Re: Tooltips in save panels,
Fred Kiefer <=
- Re: Tooltips in save panels, Fred Kiefer, 2013/02/19
- Re: Tooltips in save panels, Riccardo Mottola, 2013/02/19
- Re: Tooltips in save panels, Fred Kiefer, 2013/02/20
- Re: Tooltips in save panels, Ivan Vučica, 2013/02/20
- Re: Tooltips in save panels, Fred Kiefer, 2013/02/20
- Re: Tooltips in save panels, Ivan Vučica, 2013/02/20
- Re: Tooltips in save panels, Fred Kiefer, 2013/02/22
- Re: Tooltips in save panels, Riccardo Mottola, 2013/02/23
- Re: Tooltips in save panels, Fred Kiefer, 2013/02/25
- Re: Tooltips in save panels, Wolfgang Lux, 2013/02/25