Getting kAXDocumentAttribute can trigger alias resolving UI
Getting kAXDocumentAttribute can trigger alias resolving UI
- Subject: Getting kAXDocumentAttribute can trigger alias resolving UI
- From: Matt Gough <email@hidden>
- Date: Tue, 11 Mar 2003 22:19:02 +0000
This is something I came across earlier which seems like a bug in the way
that kAXDocumentAttribute is handled.
Set up your system as follows.
1. Open a file on a file server in any application that uses Window proxies
(I opened a picture from my iDisk in PhotoShop)
2. Without closing that window, unmount the file server.
3. Try to get the kAXDocumentAttribute for that window, the system will
force up the 'Mount this disk' UI.
It seems that AX is asking the window for its proxy alias and then trying to
resolve it without disallowing the mount/UI flags.
I don't know if this is the intended behaviour or just an oversight. In my
case, this is definitely a bad idea, as I am asking for the
kAXDocumentAttribute whilst populating a menu INSIDE of PopupMenuSelect.
If it is the intended behaviour, then might I suggest another attribute
'kAXDocumentAliasAttribute' which the caller can decide whether it would be
a good idea to resolve with mounting or not.
Matt Gough
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.