> On 2015/03/27, at 9:10, Graham Cox <[email protected]> wrote:
>
>
>> On 27 Mar 2015, at 10:45 am, Quincey Morris
>> <[email protected]> wrote:
>>
>> Without knowing more context, I’m not sure NSPopover is the right thing
>> either. If not, it probably ought to be some kind of custom NSPanel.
>
>
> One situation I think would be a suitable candidate for a custom-positioned
> alert (or popover) is when a text field fails validation. At the moment,
> there's little support for handling this gracefully - I think the default
> response is to beep and refuse losing first responder status. It's pretty
> poor, in that it doesn't give the user any clue as to what they've done
> wrong, and beeping is such a passive-aggressive means of signalling a problem
> - "You're a moron, but try and guess why, ha-ha!".
>
> A nicely positioned alert with a popover-style triangle that indicates the
> field in question with some explanation of the problem would be a lot better.
> I could be staged, so that it only appears on the second fail, etc. Of course
> some way to turn it off would also be needed, so that a user who has got used
> to the various reasons for failure won't be bombarded with messages when a
> beep is sufficient to remind them.
>
> Of course I've no idea whether this is what the OP's requirement is, he
> doesn't say.
>
> --Graham
Sheets are used if you're using NSFormatters or Bindings aren't they?
Agreed though that even that is often pretty stinky compared to what we are
used to with good web forms for example.
I believe this sheet position API is intended for things like custom borderless
windows where AppKit couldn't guess where it should go.
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list ([email protected])
>
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/dangerwillrobinsondanger%40gmail.com
>
> This email sent to [email protected]
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]