Re: Semi-Transient NSPopover disappearing when it shouldn't (10.7.3)
Re: Semi-Transient NSPopover disappearing when it shouldn't (10.7.3)
- Subject: Re: Semi-Transient NSPopover disappearing when it shouldn't (10.7.3)
- From: Antonio Nunes <email@hidden>
- Date: Fri, 24 Feb 2012 10:27:32 +0000
On 23 Feb 2012, at 21:52, Seth Willits wrote:
>> I have a few popovers that, as far as I'm aware of, were working fine up to 10.7.2. Now, in 10.7.3, when the popover appears, if a user clicks on it, it often disappears, whether the click is on the background or on a UI item.
>
> Can you replicate this in a test project?
I couldn't replicate it in Apple's sample "Popover" project, but since it had a somewhat different implementation than what I had devised, I changed my strategy to one more similar with that of the sample, and, for now, it looks like it fixed the issue.
I had my popovers in separate nibs, which each had a popover and the file's owner was the popover view controller (not the one the IB automatically creates when you drag in a popover, since I needed the file's owner to be the popover controller, so I had deleted the one IB creates).
Now I changed strategy to have one popover in the view controller that controls and displays the popovers, and the nibs have only the popover view controller and the the view. Now the popover is created on the fly in the parent view controller, instead of residing in the nib. This appears to work better in 10.7.3.
-António
----------------------------------------------------
There is nothing as strong as real gentleness, and
there is nothing as gentle as real strength.
----------------------------------------------------
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden