[Panel-devel] [PATCH] Plasma Layouts

Matias Valdenegro T. mvaldenegro at informatica.utem.cl
Wed May 23 01:28:44 BST 2007


El Mar 22 May 2007, Aaron J. Seigo escribió:
> On Tuesday 22 May 2007, Diego Iastrubni wrote:
> > I see. How about we keep it as a policy (or at least a known bug), and
> > promise to fix it for KDE 4.1? I mean, I am seeing that most of KDE is
> > been re-written (I just used konsole 4 today for 3 hours, and it needs
> > some more love, same for konqueror).
> >
> > What I mean is, we have a lot of work even on the LTR desktop, and
> > targetting RTL desktops for 4.0 is not something possible. Not only in
> > kdebase, but in many other modules. It took us 2-3 years getting KDE 3
> > this good, I don't think KDE4 will be ready in the first year of KDE4.
>
> yep... i do want RTL to work eventually, but 4.0 is too ambitious. who
> knows, it -might- work well in RTL if we keep it in mind while writing
> code. but i know how tricky it can be to get RTL Right for something like
> the panels. and there's another wrinkle:
>
> we're using a simplified, home-brewed layout system in plasma (currently it
> exists as a patch set on panel-devel at kde.org) since right now QGV doesn't
> provide one. trolltech is actively working on this, and we should even see
> some early results on labs.trolltech.com in a few weeks, but it won't be
> ready in time for usage in kde 4.0. which is understandable, layouting is
> non-trivial to get right (RTL is a good example of that =) and the trolls
> are trying to produce an improved layout API at the same time.

I already commited the layout code to SVN.

> so ... i'm not sure if the plasma layout classes that ship with 4.0 will
> have RTL capabilities; right now it doesn't. i think there is a good chance
> that when 4.0 is released, it still won't.

Well if you mean that it can layout from Right to Left instead from Left to 
Right, it can be done, just reversing the layouting algorithm, but i haven't 
worked yet in Plasma::HBoxLayout.

If that's not what you mean, then explain it to me :)




More information about the kde-core-devel mailing list