[Adium-devl] Tab bug?

Kent Sutherland kent.sutherland at gmail.com
Wed Apr 18 02:26:48 UTC 2007


Well, it didn't work out as well as I had hoped. Moving setting
_awakenedFromNib cause more trouble than it fixed after testing. So
back to the drawing board I go :)

The main part of the problem is that PSMTabBarControl starts out with
hideForSingleTab off, so Adium and PSMTabBarControl do a little dance
so that everything is positioned properly off that assumption. If you
change the default value of hideForSingleTab in the PSMTabBarControl
you can solve the problem, but it causes trouble elsewhere - in
applications that are already relying on PSMTabBarControl to behave a
certain way. I don't see an easy fix yet, but I'll get this problem
stomped somehow :)

Another thing I just noticed: Animations for PSMTabBarControl are
still off by default in trunk, I think. Do we want to turn them on for
1.1? Some demo movies:
http://www.ksuther.com/adium/psmtabs.mov
http://www.ksuther.com/weblog/images/147tabs.mov (Chax's implementation)

Kent

On 4/17/07, Ari Johnson <iamtheari at gmail.com> wrote:
> On 4/17/07, Kent Sutherland <kent.sutherland at gmail.com> wrote:
> > Well I've spend a while poking around in PSMTabBarControl and Evan's
> > right about the windowStatusDidChange: method. Apparently there is an
> > _awakenedFromNib variable, and it was messing things up a bit. I moved
> > it out of windowStatusDidChange: to viewWillMoveToWindow:, but there's
> > still a small problem. Rather than immediately hiding the tab bar,
> > hideTabBar:animate: gets called with animate set to YES. This means
> > when you get a new message now you see the tab bar, but it immediately
> > hides itself. Not perfect, but an improvement :p
> >
> > All the other tricks I tried tonight caused other things to break, so
> > I'm stumped for now. I'm going to try to fix the rest of the problem
> > tomorrow, unless someone else gets to it first.
>
> Kent:
>
> Thanks for looking into this!  I was going to play around with it
> tonight after class (Tuesdays are long days for me) but you clearly
> know more than I do.  Let me know if I can offer any assistance in
> experimenting with this.
>
> Ari
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
>




More information about the devel mailing list