Re: Scroll bar accessibility crashes
Re: Scroll bar accessibility crashes
- Subject: Re: Scroll bar accessibility crashes
- From: Raymond Fischer <email@hidden>
- Date: Mon, 6 Jan 2003 12:01:49 -0800
On Monday, January 6, 2003, at 11:42 AM, Eric Schlegel wrote:
On Monday, January 6, 2003, at 11:04 AM, Raymond Fischer wrote:
Interesting bug I've come across, apparently somewhere in the scroll
bar
code. Using the UIElementInspector from Apple's sample code, queries
on the scroll bar thumb will crash the app. I've confirmed this with
Finder, iTunes, and CodeWarrior.
The interesting part is that the bug does not turn up with Terminal.
Probably because Finder, iTunes, and CodeWarrior are Carbon apps, and
Terminal is a Cocoa app, so they're two completely different
implementations of the scrollbar and accessibility in general.
Nuts. So much for the easy solution. On the other hand, blaming
crashes on Apple doesn't involve much work even if it doesn't
solve the problem. :-)
What version of the OS are you seeing this on? In 10.2.3 we made a
fair number of changes to the scrollbar control. If it happens in
10.2.3, you should definitely submit a bug with a backtrace for the
crash.
Done that. It is 10.2.3 and very easy to reproduce. But since
I don't have access to Radar I reported the bug the other way and
it may take some time to filter through.
Alternately, is it possible to enable the debug foundation libraries
for a CFM app so that I can get more information?
In theory, yes, although I've heard of some problems using the debug
libraries. You could do the following from the command line:
cd /System/Library/Frameworks/CoreFoundation.framework/Versions/A
sudo -s
mv CoreFoundation CoreFoundation_ship
mv CoreFoundation_debug CoreFoundation
exit
LaunchCFMApp <PathToYourAppHere>
When you want to revert to the shipping CoreFoundation, just move
CoreFoundation back to CoreFoundation_debug and CoreFoundation_ship
back to CoreFoundation. Make sure, as above, to do this from a single
"sudo -s" root shell; if you temporarily leave your system without a
valid CoreFoundation, just about nothing will work properly, including
sudo.
And so I won't blame you if my system breaks.
Well I guess if you have a screw and your only tool is a hammer,
then what you use is the hammer.
----
Ray Fischer
Adobe Systems
_______________________________________________
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.