Did your change fix the mouse problem on Tiger? I made all of those changes while compiling against 10.5 SDK, and it worked perfectly using NSButtons (and looked identical to the ones Apple is using). Then it broke and I've been trying to figure out why.

I added tracking rects back in after discovering that mouseover was broken on Tiger, but didn't test it. I've been trying to fix the Leopard problems that come with compiling against 10.4, and I'm irritated at Apple because it changes at compile time.

I figured on adding shadow back in if necessary after mouseover was working. Here's what Xcode's doc browser buttons look like on Leopard:

<<inline: Picture 2.png>>




By comparison, the AMButtonBarItemCell bezel/shape/size didn't fit with the OS, and I think it makes sense to have the AMButtonBarItem be an NSButton instead of reimplementing all of its methods.

On Nov 27, 2007, at 5:03 AM, Christiaan Hofman wrote:

I see now that you've replaced the AMButtonBarItem by an NSButton.
that doesn't work on Tiger. For adjacent buttons sometimes either
mouseEntered: or mouseExited: is not called. Why doesn't
setShowsBorderOnlyWhileMouseInside do the job? Perhaps we should add
the trackingrects to the buttons (but that may have the same problem).

Christiaan

On Nov 27, 2007 1:17 PM, Christiaan Hofman <[EMAIL PROTECTED]> wrote:
It seems your changes in ambuttonbar in the branch don't work on
Tiger. When I move the mouse from one item to the next the previous
one remains highlighted. this probably has to do with the buggy order
of mouse events on Tiger. Also I don't see any text shadow and the
mouseover highlight looks pretty dark.

Christiaan



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-develop mailing list
Bibdesk-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-develop mailing list
Bibdesk-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to