[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-devel
Subject:    Re: MainWindow layouting
From:       Mark Kretschmann <kretschmann () kde ! org>
Date:       2010-03-24 19:41:37
Message-ID: e93871061003241241u6c476e05la9839b838e1f02b4 () mail ! gmail ! com
[Download RAW message or body]

On Wed, Mar 24, 2010 at 8:28 PM, Thomas Lübking <thomas.luebking@web.de> wrote:
> just a check before i start:
>
> the purpose of the signal/timer driven layouting code in MainWindow is to
> preserve a constant aspect between the three docks (media sources, context,
> playlist) - not to actually keep an "up-to-date" copy of the layout in
> permanent memory (the HD), eg. to carry it around segfaults (what should not
> happen in the first place anyway ;-)
>
> right?

Yes, correct.

In fact it's a hack that took us a long time to get right. Qt's dock
widget system isn't exactly great, in many respects.


PS:
Making the layout crash persistent by storing it immediately is sort
of an incidental (but positive) side effect of this hack.

-- 
Mark Kretschmann
Amarok Developer
Fellow of the Free Software Foundation Europe
http://amarok.kde.org - http://www.fsfe.org
_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic