Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Alex Schuster
Kevin Krammer writes:

> On Sunday, 2011-09-11, Alex Schuster wrote:
> > Kevin Krammer writes:

> > > Retrieving data could still be done asynchronously, KDE's networking
> > > can do that even in a single threaded application.
> > 
> > Sure, I didn't want to imply that was a problem.
> 
> I didn't think you were, just explaining that there should be no
> blocking due to downloading data unless something is wrong.

Okay :)

> > > Looks like the respective applet or whatever it is using for
> > > downloading data is broken.
> > 
> > And it's bad that this is able to make plasma hang.
> 
> Unless proven otherwise I will assume that it is not.

Huh? I'm somewhat confused now. Something in the plasmoid obviously was
broken, and made Tim's plasma hang.
And this is a problem that happens regularly when trying custom
plasmoids. 

> As in I really don't see how non-blocking downloading could block an 
> application unless the application specifically blocks itself, which I
> would consider a bug.

I don't say the non-blocking download is blocking. It's something in the
plasmoid, whatever it may be. And as the result, all of plasma hangs.
Which is bad.

> > In the days of
> > cooperative multitasking, every application could make your system
> > hang - these days are over.
> 
> I've never had one application hang the system. Doesn't happen in this
> context either, the OP reports everything other than the hanging
> application working fine.

Yes, but I was talking about cooperative multitasking. Long ago, like in
Windows 3.x, where a single application could make the whole system hang.

> > But for plasma, it's still like this.
> 
> Highly unlikely. Since it did not happen for the OP, can you point to a
> report were hanging Plasma resulted in no other processes working
> either?

No, I was just saying that the individual plasmoids seem to use
cooperative multitasking. A badly designed, hanging plasmoid makes whole
plasma hang. Other processes are not affected, of course. So you can
continue to work, but as Tim wrote, many people will just think the
system is hanging, and reboot.

Wonko
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Duncan
Tim Edwards posted on Sun, 11 Sep 2011 22:24:26 +0200 as excerpted:

> I have no doubt that there's a fault in the Pyweather plasmoid somewhere
> that causes it to hang when the internet connection is flakey. I've
> tried another weather plasmoid (CWP) on the same machine and that
> doesn't seem to cause this problem.

Agreed.

> My comment was more that this shouldn't freeze the KDE desktop. Once the
> machine is in this state the only way out is ctrl+alt+f1, login at the
> console, telinit 3, telinit 5.

FWIW, as mentioned, krunner should still be usable.  Additionally, if you 
setup a little script like the following:

-
#!/bin/bash
# try terminating it first
killall plasma-desktop
sleep 2

# if it didn't die, force-kill
killall -9 plasma-desktop
sleep 2

plasma-desktop
-

... then you can configure a custom hotkey (KDE settings, Common..., 
Shortcuts..., Custom...) to invoke that script.

khotkeys is a different kde component so should keep running, allowing 
you to invoke your "plasma-reset.sh" script via hotkey, when necessary.  
I've actually setup a couple things like that here (one for kwin, which 
only occasionally, but often enough to setup the hotkey for it, crashes, 
one for plasma, plus I have konsole on a hotkey too, so I can launch it 
without plasma running, and from it do whatever, if I need to).

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Duncan
Anne Wilson posted on Sun, 11 Sep 2011 18:35:32 +0100 as excerpted:

> I take your point, but in truth, any well-written piece of code should
> be able to exit gracefully if something fails.  If it can't, I'd rather
> not run it at all.

You're absolutely correct.  But the point is, one of the big selling-
point features of plasma has been its extensibility... by coders who may 
in fact be rather bad at it, beginners or whatever.  In that sort of 
environment, you have to COUNT on some of the code being bad, because it 
is GOING to happen.  An app designed for that can't simply crash when one 
of the extensions goes bad, because it WILL heppen, and it WILL look bad 
for the main app as a result.  It MUST be designed to be robust and have 
the rest keep running in spite of whatever badly coded barf-code someone 
throws at it, or it wasn't so properly designed for that extensibility as 
it might seem to be after all.

Which is the problem we have.

So are you going to quit running plasma, then, because you'd "rather not 
run it at all"?  [Haha only serious.]

[Caveats about not being a (C/C++) coder apply.  My skills tend more 
toward technical sysadmin, scripting, etc.  And /as/ a sysadmin that does 
at least speak some programming lingo, plasma is quite good in a lot of 
ways including its extensibility, but it could certainly be better in 
regard to robustness in view of that extensibility, is what I'm saying.]

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Martin Bednár
Le Sunday 11 of September 2011 22:24:26 Tim Edwards a écrit :
> On Sunday, September 11, 2011 5:33 PM, "Kevin Krammer"
>
>  wrote:
> > On Sunday, 2011-09-11, Alex Schuster wrote:
> > > Kevin Krammer writes:
> > >
> > > Sure, I didn't want to imply that was a problem.
> >
> > I didn't think you were, just explaining that there should be no
> > blocking
> > due
> > to downloading data unless something is wrong.
> >
> > > > Looks like the respective applet or whatever it is using for
> > > > downloading data is broken.
> > >
> > > And it's bad that this is able to make plasma hang.
> >
> > Unless proven otherwise I will assume that it is not.
> > As in I really don't see how non-blocking downloading could block an
> > application unless the application specifically blocks itself, which I
> > would
> > consider a bug.
> >
> > > In the days of
> > > cooperative multitasking, every application could make your system
> > > hang - these days are over.
> >
> > I've never had one application hang the system. Doesn't happen in this
> > context
> > either, the OP reports everything other than the hanging application
> > working
> > fine.
> >
> > > But for plasma, it's still like this.
> >
> > Highly unlikely. Since it did not happen for the OP, can you point to a
> > report
> > were hanging Plasma resulted in no other processes working either?
>
> I have no doubt that there's a fault in the Pyweather plasmoid somewhere
> that causes it to hang when the internet connection is flakey. I've
> tried another weather plasmoid (CWP) on the same machine and that
> doesn't seem to cause this problem.

Badly written software... put blame where it belongs :) This is the type of
software I call "nightmare", because it was written, and tested by one person.
The WorksForMe (tm) QA process is very flawed (I know, I do it quite often ;)
). Try reporting a bug to the author.
I however do understand and share your surprise at the fact that one plasmoid
can hang the desktop. Normal people blame the big desktop, not the little
widget.

>
> My comment was more that this shouldn't freeze the KDE desktop. Once the
> machine is in this state the only way out is ctrl+alt+f1, login at the
> console, telinit 3, telinit 5. Most users won't know how to do that
> though and will simply reboot because the computer has 'frozen'.

Not true : if plasma freezes, press ctrl+alt+escape and click anywhere on your
frozen plasma. then press alt+F2 (krunner) and type "plasma-desktop", press
enter and watch plasma restart.

>
> It's not a true system hang, but it makes the desktop practically
> unusable and for most people will require a reboot so it may has well be
> a hang.

I agree with this

>
> My suggestion would be something similar to the hung application
> detection already built into KDE - when a plasmoid appears to have hung
> it should pop-up a dialog saying 'Plasmoid X is not responding and may
> cause the system to become unstable, would you like to force close it?'.

Actually, if I understand thing correctly, it would be a lot more complex :
the hung application detection is done in kwin : if an app takes too long to
quit from a press on the window decoration close button, kwin steps in asking
"do you want to terminate this process". The key here is that the information
is that you want to close a "window", the fact that its a mainwindow to an app
is secondary.


signature.asc
Description: This is a digitally signed message part.
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Tim Edwards


On Sunday, September 11, 2011 5:33 PM, "Kevin Krammer"
 wrote:
> On Sunday, 2011-09-11, Alex Schuster wrote:
> > Kevin Krammer writes:
> > 
> > Sure, I didn't want to imply that was a problem.
> 
> I didn't think you were, just explaining that there should be no blocking
> due 
> to downloading data unless something is wrong.
> 
> > > Looks like the respective applet or whatever it is using for
> > > downloading data is broken.
> > 
> > And it's bad that this is able to make plasma hang.
> 
> Unless proven otherwise I will assume that it is not.
> As in I really don't see how non-blocking downloading could block an 
> application unless the application specifically blocks itself, which I
> would 
> consider a bug.
> 
> > In the days of
> > cooperative multitasking, every application could make your system hang -
> > these days are over.
> 
> I've never had one application hang the system. Doesn't happen in this
> context 
> either, the OP reports everything other than the hanging application
> working 
> fine.
> 
> > But for plasma, it's still like this.
> 
> Highly unlikely. Since it did not happen for the OP, can you point to a
> report 
> were hanging Plasma resulted in no other processes working either?

I have no doubt that there's a fault in the Pyweather plasmoid somewhere
that causes it to hang when the internet connection is flakey. I've
tried another weather plasmoid (CWP) on the same machine and that
doesn't seem to cause this problem.

My comment was more that this shouldn't freeze the KDE desktop. Once the
machine is in this state the only way out is ctrl+alt+f1, login at the
console, telinit 3, telinit 5. Most users won't know how to do that
though and will simply reboot because the computer has 'frozen'. 

It's not a true system hang, but it makes the desktop practically
unusable and for most people will require a reboot so it may has well be
a hang.

My suggestion would be something similar to the hung application
detection already built into KDE - when a plasmoid appears to have hung
it should pop-up a dialog saying 'Plasmoid X is not responding and may
cause the system to become unstable, would you like to force close it?'.

Tim
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Anne Wilson
On Sunday 11 Sep 2011 Duncan wrote:
> > I wonder if it depends on the design of the specific plasmoid.  I'm not 
> 
> sure 
> 
> > whether I've used my netbook for a long enough period without 
> 
> connection to 
> 
> > guarantee it, but I think it's true that my yawp plasmoid simply shows 
> 
> the 
> 
> > cached information when it can't connect, so I'm guessing that yawp has 
> 
> a 
> 
> > time-out and pyweather doesn't.
> 
> It does depend on the plasmoid.  See the other subthread, the previous 
> thread between Wonko and me discussing it, and the link in the other 
> subthread to ASegio's comment discussing it on a blog.
> 
> His point is that there's no other way to paint (with any kind of 
> performance) on a (presumably) qt canvas, but having all painters in a 
> single thread.
> 
> My point, Wonko's, the person who wrote that blog, Tim's in this thread, 
> etc, is that, if qt-canvas as a technology doesn't allow performant 
> robustness, then qt-canvas as a technology was the wrong technology 
> choice for an app which has as a primary bullet point how extensible it 
> is, by "ordinary" people without expert-level cooperative-multitasking 
> skills.  These freezes simply shouldn't be happening in an app where such 
> extensibility is touted as a primary feature, and if they are, the wrong 
> choices were made SOMEWHERE.
> 
> Meanwhile, it should be noted that it's possible to run a plasmoid in a 
> separate window and app, if necessary, instead of in plasma itself, thus 
> eliminating the problem since all it takes down is that separate window/
> app.  It's not as integrated, but for plasmoids that have this sort of 
> issues, it DOES allow them to be run.
> 
> See the plasmoidviewer and plasma-windowed commands (run in konsole with 
> --help to get a short description and parameter help) for two such 
> solutions.

I take your point, but in truth, any well-written piece of code should be able 
to exit gracefully if something fails.  If it can't, I'd rather not run it at 
all.  There are always other ways of doing the same thing.  Since my husband 
is weather-forecast fixated I tried several weather plasmoids along the way.  
Some wouldn't run at all.  Some ran, but wouldn't talk to a weather station 
that understands our geography.  Some had this kind of instability.  I simply 
reject them and find one that does work properly.

I'm all for encouraging coders who write good ones, and rejecting the ones 
that don't.

Anne


signature.asc
Description: This is a digitally signed message part.
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Duncan
Anne Wilson posted on Sun, 11 Sep 2011 15:24:36 +0100 as excerpted:

> On Sunday 11 Sep 2011 Tim Edwards wrote:
>> On Sunday, September 11, 2011 2:22 PM, "Alex Schuster"
>> 
>>  wrote:
>> > Tim Edwards writes:

>> > > My theory is it looks like the Pyweather widget is hanging trying 
to
>> > > get data sometimes, and this in turn hangs plasma-desktop. Which, 
if
>> > > true, is IMHO a huge design fault in plasma-desktop.

>> > Yes, that's the problem with plasma-desktoüp, it's single threaded, 
and
>> > if one plasmoid hangs, whole plasma hangs. I often had such trouble 
when
>> > using plasmoids I downloaded fron the net.
>> > 
>> > I also believe it's a huge design fault, but there _are_ indeed 
reasons
>> > for doing this [but] I don't find the link right now

>> I guess there's not much point, the problem solved/design flaw worked
>> around by removing plasmoids that are possibly unstable. It does kind 
of
>> limit the usefulness of the whole plasma system though - anything which
>> might possibly hang should not be used. This particular machine is a
>> netbook so I expect to use it in various places where internet
>> connectivity is bad or non-existent.
>> 
>> It sucks [...] - no wonder there's so many posts on
>> forums about 'KDE freezing' or 'KDE hanging'.
>> 
> I wonder if it depends on the design of the specific plasmoid.  I'm not 
sure 
> whether I've used my netbook for a long enough period without 
connection to 
> guarantee it, but I think it's true that my yawp plasmoid simply shows 
the 
> cached information when it can't connect, so I'm guessing that yawp has 
a 
> time-out and pyweather doesn't.

It does depend on the plasmoid.  See the other subthread, the previous 
thread between Wonko and me discussing it, and the link in the other 
subthread to ASegio's comment discussing it on a blog.

His point is that there's no other way to paint (with any kind of 
performance) on a (presumably) qt canvas, but having all painters in a 
single thread.

My point, Wonko's, the person who wrote that blog, Tim's in this thread, 
etc, is that, if qt-canvas as a technology doesn't allow performant 
robustness, then qt-canvas as a technology was the wrong technology 
choice for an app which has as a primary bullet point how extensible it 
is, by "ordinary" people without expert-level cooperative-multitasking 
skills.  These freezes simply shouldn't be happening in an app where such 
extensibility is touted as a primary feature, and if they are, the wrong 
choices were made SOMEWHERE.

Meanwhile, it should be noted that it's possible to run a plasmoid in a 
separate window and app, if necessary, instead of in plasma itself, thus 
eliminating the problem since all it takes down is that separate window/
app.  It's not as integrated, but for plasmoids that have this sort of 
issues, it DOES allow them to be run.

See the plasmoidviewer and plasma-windowed commands (run in konsole with 
--help to get a short description and parameter help) for two such 
solutions.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Kevin Krammer
On Sunday, 2011-09-11, Alex Schuster wrote:
> Kevin Krammer writes:
> > On Sunday, 2011-09-11, Alex Schuster wrote:
> > > Tim Edwards writes:
> > > > My theory is it looks like the Pyweather widget is hanging trying
> > > > to get data sometimes, and this in turn hangs plasma-desktop.
> > > > Which, if true, is IMHO a huge design fault in plasma-desktop.
> > > > Anyway I'll see if this theory holds out, Pyweather's been removed
> > > > and so far no freezes.
> > > 
> > > Yes, that's the problem with plasma-desktoüp, it's single threaded,
> > > and if one plasmoid hangs, whole plasma hangs. I often had such
> > > trouble when using plasmoids I downloaded fron the net.
> > > 
> > > I also believe it's a huge design fault, but there _are_ indeed
> > > reasons for doing this, having to do with speed mainly I think. I
> > > don't find the link right now where this was explained, but if you
> > > are interested, I could search and find it.
> 
> Here it is:
> http://www.freehackers.org/thomas/2009/11/10/wonders-from-a-kde-fan-and-dev
> eloper-about-some-kde-design-choices/comment-page-1/#comment-7507
> 
> > Retrieving data could still be done asynchronously, KDE's networking
> > can do that even in a single threaded application.
> 
> Sure, I didn't want to imply that was a problem.

I didn't think you were, just explaining that there should be no blocking due 
to downloading data unless something is wrong.

> > Looks like the respective applet or whatever it is using for
> > downloading data is broken.
> 
> And it's bad that this is able to make plasma hang.

Unless proven otherwise I will assume that it is not.
As in I really don't see how non-blocking downloading could block an 
application unless the application specifically blocks itself, which I would 
consider a bug.

> In the days of
> cooperative multitasking, every application could make your system hang -
> these days are over.

I've never had one application hang the system. Doesn't happen in this context 
either, the OP reports everything other than the hanging application working 
fine.

> But for plasma, it's still like this.

Highly unlikely. Since it did not happen for the OP, can you point to a report 
were hanging Plasma resulted in no other processes working either?

> And it's
> happened really often to me.

Sounds like a serious kernel issue of your operating system to me. Modern 
operating system have pretty good isolation between processes.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring


signature.asc
Description: This is a digitally signed message part.
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Alex Schuster
Kevin Krammer writes:

> On Sunday, 2011-09-11, Alex Schuster wrote:
> > Tim Edwards writes:

> > > My theory is it looks like the Pyweather widget is hanging trying
> > > to get data sometimes, and this in turn hangs plasma-desktop.
> > > Which, if true, is IMHO a huge design fault in plasma-desktop.
> > > Anyway I'll see if this theory holds out, Pyweather's been removed
> > > and so far no freezes.
> > 
> > Yes, that's the problem with plasma-desktoüp, it's single threaded,
> > and if one plasmoid hangs, whole plasma hangs. I often had such
> > trouble when using plasmoids I downloaded fron the net.
> > 
> > I also believe it's a huge design fault, but there _are_ indeed
> > reasons for doing this, having to do with speed mainly I think. I
> > don't find the link right now where this was explained, but if you
> > are interested, I could search and find it.

Here it is:
http://www.freehackers.org/thomas/2009/11/10/wonders-from-a-kde-fan-and-developer-about-some-kde-design-choices/comment-page-1/#comment-7507

> Retrieving data could still be done asynchronously, KDE's networking
> can do that even in a single threaded application.

Sure, I didn't want to imply that was a problem.

> Looks like the respective applet or whatever it is using for
> downloading data is broken.

And it's bad that this is able to make plasma hang. In the days of
cooperative multitasking, every application could make your system hang -
these days are over. But for plasma, it's still like this. And it's
happened really often to me. Installing custom plasmoids often is no fun.
So I stopped doing this, and things are better now :)

Wonko
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Kevin Krammer
On Sunday, 2011-09-11, Alex Schuster wrote:
> Tim Edwards writes:
> > Saw something interesting in the konsole window - just before the freeze
> > ups each time there is output from the Pyweather plasma widget that
> > shows it trying to retrieve weather data from the net. Currently our
> > cable internet is out so I'm using 3G (USB tethering from the mobile
> > phone), which in our house is slow and gets an intermittent signal.
> > 
> > My theory is it looks like the Pyweather widget is hanging trying to get
> > data sometimes, and this in turn hangs plasma-desktop. Which, if true,
> > is IMHO a huge design fault in plasma-desktop. Anyway I'll see if this
> > theory holds out, Pyweather's been removed and so far no freezes.
> 
> Yes, that's the problem with plasma-desktoüp, it's single threaded, and
> if one plasmoid hangs, whole plasma hangs. I often had such trouble when
> using plasmoids I downloaded fron the net.
> 
> I also believe it's a huge design fault, but there _are_ indeed reasons
> for doing this, having to do with speed mainly I think. I don't find the
> link right now where this was explained, but if you are interested, I
> could search and find it.

Retrieving data could still be done asynchronously, KDE's networking can do 
that even in a single threaded application.

Looks like the respective applet or whatever it is using for downloading data 
is broken.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring


signature.asc
Description: This is a digitally signed message part.
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Anne Wilson
On Sunday 11 Sep 2011 Tim Edwards wrote:
> On Sunday, September 11, 2011 2:22 PM, "Alex Schuster"
> 
>  wrote:
> > Tim Edwards writes:
> > > Saw something interesting in the konsole window - just before the
> > > freeze ups each time there is output from the Pyweather plasma widget
> > > that shows it trying to retrieve weather data from the net. Currently
> > > our cable internet is out so I'm using 3G (USB tethering from the
> > > mobile phone), which in our house is slow and gets an intermittent
> > > signal.
> > > 
> > > My theory is it looks like the Pyweather widget is hanging trying to
> > > get data sometimes, and this in turn hangs plasma-desktop. Which, if
> > > true, is IMHO a huge design fault in plasma-desktop. Anyway I'll see
> > > if this theory holds out, Pyweather's been removed and so far no
> > > freezes.
> > 
> > Yes, that's the problem with plasma-desktoüp, it's single threaded, and
> > if one plasmoid hangs, whole plasma hangs. I often had such trouble when
> > using plasmoids I downloaded fron the net.
> > 
> > I also believe it's a huge design fault, but there _are_ indeed reasons
> > for doing this, having to do with speed mainly I think. I don't find the
> > link right now where this was explained, but if you are interested, I
> > could search and find it.
> 
> I guess there's not much point, the problem solved/design flaw worked
> around by removing plasmoids that are possibly unstable. It does kind of
> limit the usefulness of the whole plasma system though - anything which
> might possibly hang should not be used. This particular machine is a
> netbook so I expect to use it in various places where internet
> connectivity is bad or non-existent.
> 
> It sucks for the users who don't know how to debug technical problems
> and search on mailing lists though - no wonder there's so many posts on
> forums about 'KDE freezing' or 'KDE hanging'.
> 
I wonder if it depends on the design of the specific plasmoid.  I'm not sure 
whether I've used my netbook for a long enough period without connection to 
guarantee it, but I think it's true that my yawp plasmoid simply shows the 
cached information when it can't connect, so I'm guessing that yawp has a 
time-out and pyweather doesn't.

Anne


signature.asc
Description: This is a digitally signed message part.
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Tim Edwards


On Sunday, September 11, 2011 2:22 PM, "Alex Schuster"
 wrote:
> Tim Edwards writes:
> 
> > Saw something interesting in the konsole window - just before the freeze
> > ups each time there is output from the Pyweather plasma widget that
> > shows it trying to retrieve weather data from the net. Currently our
> > cable internet is out so I'm using 3G (USB tethering from the mobile
> > phone), which in our house is slow and gets an intermittent signal.
> > 
> > My theory is it looks like the Pyweather widget is hanging trying to get
> > data sometimes, and this in turn hangs plasma-desktop. Which, if true,
> > is IMHO a huge design fault in plasma-desktop. Anyway I'll see if this
> > theory holds out, Pyweather's been removed and so far no freezes.
> 
> Yes, that's the problem with plasma-desktoüp, it's single threaded, and
> if one plasmoid hangs, whole plasma hangs. I often had such trouble when
> using plasmoids I downloaded fron the net.
> 
> I also believe it's a huge design fault, but there _are_ indeed reasons
> for doing this, having to do with speed mainly I think. I don't find the
> link right now where this was explained, but if you are interested, I
> could search and find it.

I guess there's not much point, the problem solved/design flaw worked
around by removing plasmoids that are possibly unstable. It does kind of
limit the usefulness of the whole plasma system though - anything which
might possibly hang should not be used. This particular machine is a
netbook so I expect to use it in various places where internet
connectivity is bad or non-existent.

It sucks for the users who don't know how to debug technical problems
and search on mailing lists though - no wonder there's so many posts on
forums about 'KDE freezing' or 'KDE hanging'.

Tim
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Alex Schuster
Tim Edwards writes:

> Saw something interesting in the konsole window - just before the freeze
> ups each time there is output from the Pyweather plasma widget that
> shows it trying to retrieve weather data from the net. Currently our
> cable internet is out so I'm using 3G (USB tethering from the mobile
> phone), which in our house is slow and gets an intermittent signal.
> 
> My theory is it looks like the Pyweather widget is hanging trying to get
> data sometimes, and this in turn hangs plasma-desktop. Which, if true,
> is IMHO a huge design fault in plasma-desktop. Anyway I'll see if this
> theory holds out, Pyweather's been removed and so far no freezes.

Yes, that's the problem with plasma-desktoüp, it's single threaded, and
if one plasmoid hangs, whole plasma hangs. I often had such trouble when
using plasmoids I downloaded fron the net.

I also believe it's a huge design fault, but there _are_ indeed reasons
for doing this, having to do with speed mainly I think. I don't find the
link right now where this was explained, but if you are interested, I
could search and find it.

Wonko
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Tim Edwards


On Sunday, September 11, 2011 1:57 PM, "Tim Edwards"
 wrote:
> 
> 
> On Sunday, September 11, 2011 1:33 PM, "Alex Schuster"
>  wrote:
> > Tim Edwards writes:
> > 
> > > I'm running Opensuse 11.4 with KDE 4.6 on a Netbook. When I plug the
> > > netbook in to an external monitor/TV after a few minutes the KDE panel
> > > (including all menus, icons, clock etc.) is completely frozen. Even
> > > after over an hour it remains frozen. 
> > > 
> > > All other software functions fine - firefox, Libreoffice, Thunderbird
> > > etc. and I can use alt+tab to switch between them. I can't launch new
> > > programs since the KMenu is frozen
> > 
> > I think KRunner (Alt-F2) should still work.
> 
> Thanks, that helps.
> 
> > 
> > >but I have a konsole window open I
> > > can run programs from there. All these programs, including KDE-specific
> > > ones such as Dolphin, work fine, without freezing or pauses.
> > 
> > Looks like plasma-desktop froze. Does top show this process with 100% CPU
> > usage? This happened to me often.
> > 
> > Try this in your Konsole in order to quit plasma and restart it:
> > 
> >   kquitapp plasma-desktop; plasma-desktop
> > 
> > If kquitapp does not work, try killall -9 plasma-desktop instead. If it
> > hangs again, maybe you see some output in the Konsole that helps to see
> > what the problem is.
> 
> Yeah it was completely frozen, I had to kill -9 the process. I've now
> started it from a konsole window so we'll see if it shows any errors.

Saw something interesting in the konsole window - just before the freeze
ups each time there is output from the Pyweather plasma widget that
shows it trying to retrieve weather data from the net. Currently our
cable internet is out so I'm using 3G (USB tethering from the mobile
phone), which in our house is slow and gets an intermittent signal.

My theory is it looks like the Pyweather widget is hanging trying to get
data sometimes, and this in turn hangs plasma-desktop. Which, if true,
is IMHO a huge design fault in plasma-desktop. Anyway I'll see if this
theory holds out, Pyweather's been removed and so far no freezes.

Tim
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Tim Edwards


On Sunday, September 11, 2011 1:33 PM, "Alex Schuster"
 wrote:
> Tim Edwards writes:
> 
> > I'm running Opensuse 11.4 with KDE 4.6 on a Netbook. When I plug the
> > netbook in to an external monitor/TV after a few minutes the KDE panel
> > (including all menus, icons, clock etc.) is completely frozen. Even
> > after over an hour it remains frozen. 
> > 
> > All other software functions fine - firefox, Libreoffice, Thunderbird
> > etc. and I can use alt+tab to switch between them. I can't launch new
> > programs since the KMenu is frozen
> 
> I think KRunner (Alt-F2) should still work.

Thanks, that helps.

> 
> >but I have a konsole window open I
> > can run programs from there. All these programs, including KDE-specific
> > ones such as Dolphin, work fine, without freezing or pauses.
> 
> Looks like plasma-desktop froze. Does top show this process with 100% CPU
> usage? This happened to me often.
> 
> Try this in your Konsole in order to quit plasma and restart it:
> 
>   kquitapp plasma-desktop; plasma-desktop
> 
> If kquitapp does not work, try killall -9 plasma-desktop instead. If it
> hangs again, maybe you see some output in the Konsole that helps to see
> what the problem is.

Yeah it was completely frozen, I had to kill -9 the process. I've now
started it from a konsole window so we'll see if it shows any errors.

Tim
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Alex Schuster
Tim Edwards writes:

> I'm running Opensuse 11.4 with KDE 4.6 on a Netbook. When I plug the
> netbook in to an external monitor/TV after a few minutes the KDE panel
> (including all menus, icons, clock etc.) is completely frozen. Even
> after over an hour it remains frozen. 
> 
> All other software functions fine - firefox, Libreoffice, Thunderbird
> etc. and I can use alt+tab to switch between them. I can't launch new
> programs since the KMenu is frozen

I think KRunner (Alt-F2) should still work.

>but I have a konsole window open I
> can run programs from there. All these programs, including KDE-specific
> ones such as Dolphin, work fine, without freezing or pauses.

Looks like plasma-desktop froze. Does top show this process with 100% CPU
usage? This happened to me often.

Try this in your Konsole in order to quit plasma and restart it:

  kquitapp plasma-desktop; plasma-desktop

If kquitapp does not work, try killall -9 plasma-desktop instead. If it
hangs again, maybe you see some output in the Konsole that helps to see
what the problem is.

Good luck,

Wonko
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] KDE Panel freezing when HDMI connected

2011-09-11 Thread Tim Edwards
Hi,

I'm running Opensuse 11.4 with KDE 4.6 on a Netbook. When I plug the
netbook in to an external monitor/TV after a few minutes the KDE panel
(including all menus, icons, clock etc.) is completely frozen. Even
after over an hour it remains frozen. 

All other software functions fine - firefox, Libreoffice, Thunderbird
etc. and I can use alt+tab to switch between them. I can't launch new
programs since the KMenu is frozen but I have a konsole window open I
can run programs from there. All these programs, including KDE-specific
ones such as Dolphin, work fine, without freezing or pauses.

Anyone experienced this? Any ideas?

Tim
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.