Looking for Advisory on ActivityBar Size Policy

todd rme toddrme2178 at gmail.com
Wed Nov 16 08:29:21 UTC 2011


On Wed, Nov 16, 2011 at 7:00 AM, David Narvaez
<david.narvaez at computer.org> wrote:
> Hi all,
>
> My first disclaimer is that I'm not a UI developer at all, so I'm
> pretty lost here. I'm trying to address bug 225078, trying to fix the
> situation described in comment 7. The problem is I'm not clear on what
> is the expected behavior, so this is what I think should happen
> (assuming horizontal layout):
>
> - You add the ActivityBar, it should take a reasonable* size in the panel
> - You start switching among activities, but the activity bar should not expand
> - You stop activities, then the other tabs should fill up the space,
> the bar itself remains the same size
> - You start new activities, then the tabs are added and accommodated,
> if there are just too many, then he little arrows appear at right
>
> * For some definition of reasonable which is unknown to me
>
> I think that's all possible, except for determining a reasonable size,
> am I wrong? Also, is that the intended behavior? Or is it actually
> working as expected as it is now? If the above description makes
> sense, what's the correct QSizePolicy combination between tab
> bars,layouts an applets to get it working that way?
>
> Thanks in advance.
>
> David E. Narváez
>
> [0] https://bugs.kde.org/show_bug.cgi?id=225078

>From my reading the bug is requesting that the tab bar take the
mimimum amount of space, so 3 should not be the case, the tabs should
remain the same size and the activity bar (and if possible the panel)
should resize.  But with the bugs with panel sizes right now, maybe it
is better for the tab bar to remain the same size until the bugs are
fixed.

-Todd


More information about the Plasma-devel mailing list