Finder main window bug
Finder main window bug
- Subject: Finder main window bug
- From: Bill Cheeseman <email@hidden>
- Date: Mon, 29 May 2006 11:57:22 -0400
- Thread-topic: Finder main window bug
I just noticed this apparent bug in the Finder's implementation of the
AXMainWindow and AXFocusedWindow attributes:
If no Finder windows are open, the application's AXMainWindow and
AXFocusedWindow attributes return an empty array. I believe they should
return NULL, as they do in other applications when no windows are open.
When one or more Finder windows are open, these two attributes properly
return an AXWindow element (not in an array).
I've confirmed this using Apple's Accessibility Inspector. I can't confirm
it using UI Browser, because UI Browser chokes on this Finder bug. I'm
fixing this for UI Browser 2.0.
Do I recall correctly that the Desktop used to be a window? In any event,
the desktop is now simply a scroll view (10.4.6), and I guess the Finder
therefore now can't have a main window or a key window when no Finder
windows are open. I'm skeptical about the design decision to make the
desktop a scroll view.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden