I have an old Carbon app, actually an Acrobat plug-in, built with Xcode 3.2 
using PowerPlant.  It has a mix of dialogs built with PowerPlant and wxWidgets 
(both Carbon).

Everything seems to work fine on Yosemite (at least as well as it does on 
Mavericks), with one pretty glaring problem.  Any button marked as default 
(mostly “OK” buttons) in PowerPlant looks greyed out, i.e. disabled.  The 
button still functions properly; you can click on it or hit Enter and the 
button click function is invoked.  It just appears disabled, which is very 
confusing for users.  Similar buttons on our wxWidgets dialog are fine; they 
show the blue background color (although they don’t pulsate like on older 
versions of OS X.)  All the other (non-default) buttons on the PowerPlant 
dialogs look okay.

I’ve tried going into the PowerPlant code, where it’s setting 
kControlPushButtonDefaultTag, and I don’t see any place where it’s doing custom 
drawing.  I can set kControlPushButtonIsTexturedTag on the buttons as well, and 
they appear with rounded corners, but the default button still appears greyed 
out.

Our tester didn’t see this problem on any of the dev previews of Yosemite; the 
problem seems to have cropped up only in the public release.

Anyone else running into this?  Is there anything I can do, other than a custom 
drawing function, to make the default buttons not appear greyed out?  Even if I 
can’t get them to look blue, if they just look like non-default buttons, that 
would be a lot better than what I have now.

(Obligatory disclaimer that, yes, I know we shouldn’t be using any of this 
ancient stuff anymore.)

Thanks,
Dan


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (Carbon-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/carbon-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to