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

List:       kde-panel-devel
Subject:    Re: "console desktop" crash :)
From:       Nowardev-Team <nowardev () gmail ! com>
Date:       2011-10-28 6:58:50
Message-ID: CAL6cU-25EiYYk=UWnHC_aEWAbnNux1inFTMF6DjD=kiefuKTEA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


2011/10/27 Aaron J. Seigo <aseigo@kde.org>

> On Thursday, October 27, 2011 20:15:04 Nowardev-Team wrote:
> > it seems the length of the javascript is the key to get the crash if you
> > have already panels ...
>
> this is they key point, and it is due to having a system tray around and
> then
> creating another one. :/
>
>
mmm this provide to remove old panels .... so basically it should remove all
panels and then.... create the new one...so it should not be a systemtray
around

function remove()
{
  for (i in panelIds) {

        panelById(panelIds[i]).remove()
    }

}
//////////////////////////////////////////////////////////

/////function remove standard///////////////////////////////
function RemoveOldPanels()
{
    for (i in panelIds) {
       // panelById(panelIds[i]).remove()
       p = panelById(panelIds[i]);
       if (typeof p === "undefined") {
       print("E: Couldn't find first panel");
       remove() //load the remove function in case of problems
       }
        else    {
          panelById(panelIds[i]).remove()
                }
                                    }
}



>
>

[Attachment #5 (text/html)]

<div><pre><br></pre><pre><br></pre><br><div class="gmail_quote">2011/10/27 Aaron J. \
Seigo <span dir="ltr">&lt;<a \
href="mailto:aseigo@kde.org">aseigo@kde.org</a>&gt;</span><br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex;"> <div class="im">On Thursday, October 27, 2011 20:15:04 \
Nowardev-Team wrote:<br> </div><div class="im">&gt; it seems the length of the \
javascript is the key to get the crash if you<br> &gt; have already panels ...<br>
<br>
</div>this is they key point, and it is due to having a system tray around and \
then<br> creating another one. :/<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br></div>mmm this \
provide to remove old panels .... so basically it should remove all panels and \
then.... create the new one...so it should not be a systemtray around <div> \
<br></div><div><pre>function remove() {
  for (i in panelIds) {

        panelById(panelIds[i]).remove()
    }

}
//////////////////////////////////////////////////////////

/////function remove standard///////////////////////////////
function RemoveOldPanels()
{
    for (i in panelIds) {
       // panelById(panelIds[i]).remove()
       p = panelById(panelIds[i]);
       if (typeof p === &quot;undefined&quot;) {
       print(&quot;E: Couldn&#39;t find first panel&quot;);
       remove() //load the remove function in case of problems
       }
        else    {
          panelById(panelIds[i]).remove()
                }
                                    }
}</pre></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5"> \
</div></div></blockquote></div></div>



_______________________________________________
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