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

List:       kde-panel-devel
Subject:    Re: Menu branch
From:       Eike Hein <hein () kde ! org>
Date:       2013-04-20 7:02:37
Message-ID: 8346796.2bH8EZqinz () ehw1 ! ehn
[Download RAW message or body]

On Friday 19 April 2013 11:32:48 Ignat Semenov wrote:
> setLayout() and setAlignment() both trigger a complete relayout of the view.
> Relayouting the view twice is suboptimal, however, in the code there is a
> 10ms timer to delay the relayout so as not to block the caller. Should that
> timer be enough to ensure that when those two funcitons are called one
> after another, the view is only relayouted once? Maybe increase the delay a
> bit?

The timeout can't be delivered until the code flow returns to the event
loop anyway.

I haven't had time to read the diffs yet though, I'll take a look once I
work through some other todos.


> Best regards,
> Ignat Semenov

Cheers,
Eike
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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