Bug 337474 - ksysguard hangs when trying to end a process
Summary: ksysguard hangs when trying to end a process
Status: RESOLVED DOWNSTREAM
Alias: None
Product: ksysguard
Classification: Applications
Component: ksysguard (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-15 18:39 UTC by jhnnslschnr
Modified: 2014-09-15 10:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot (48.41 KB, image/png)
2014-07-15 18:39 UTC, jhnnslschnr
Details
Screenshot2 (289.03 KB, image/png)
2014-07-15 20:16 UTC, jhnnslschnr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jhnnslschnr 2014-07-15 18:39:16 UTC
Created attachment 87744 [details]
Screenshot

The end process dialog / killer helper sometimes only shows a snapshot, so it would not let the user kill the process.
Comment 1 Thomas Lübking 2014-07-15 19:10:55 UTC
What do you see if you suspend the compositor (press "Shift+Alt+F12") in such case?

The screenshot only shows ksysguard, does really happen the same thing for the "kill helper" (when you attempt to close a window and it doesn't react within 10 seconds, kwin will offer to kill it - that's the "actual" kill helper)
Comment 2 jhnnslschnr 2014-07-15 20:06:58 UTC
(In reply to Thomas Lübking from comment #1)
> What do you see if you suspend the compositor (press "Shift+Alt+F12") in
> such case?
> 
> The screenshot only shows ksysguard, does really happen the same thing for
> the "kill helper" (when you attempt to close a window and it doesn't react
> within 10 seconds, kwin will offer to kill it - that's the "actual" kill
> helper)

Disabling the compositor does not change this behaviour.
I thought the kill helper did the same (perhaps because of a screenshot the end process dialog made of it), but it works normal. I
Comment 3 jhnnslschnr 2014-07-15 20:16:22 UTC
Created attachment 87745 [details]
Screenshot2
Comment 4 jhnnslschnr 2014-07-15 20:19:12 UTC
It seems the areas within the end process dialog and the system monitor get unmanaged, so overlaying them with other windows lets you draw on them, See Screenshot2.
Comment 5 Thomas Lübking 2014-07-15 20:24:09 UTC
This looks like making use of Qt::WA_NoSystemBackground and never painting anything.
Re-assigning to ksysguard (Not in the compositor -> not in KWin)

@jhnnslschnr, you could try whether this happens if you run:

   ksysguard --style windows
Comment 6 jhnnslschnr 2014-07-15 20:50:22 UTC
(In reply to Thomas Lübking from comment #5)
> @jhnnslschnr, you could try whether this happens if you run:
> 
>    ksysguard --style windows

The only difference is, that the content of the areas won't change if you overlay them with other windows, but ksysguard and it's dialog are still freezed.
Comment 7 Arjun AK 2014-07-16 13:52:45 UTC
Which version are you using? Could you please post the output of:

ksysguard --version
Comment 8 jhnnslschnr 2014-07-16 14:33:59 UTC
(In reply to Arjun Ak from comment #7)
> Which version are you using? Could you please post the output of:
> 
> ksysguard --version

$ ksysguard --version
Qt: 5.3.1                                                                                                                                                                                       
KDE Development Platform: TODO                                                                                                                                                                  
System Monitor:
Comment 9 AnAkkk 2014-08-15 10:53:45 UTC
I have the same issue. ksysguard actually hangs when you try to kill a process, and the only wait to exit it is to kill ksysguard.
Comment 10 AnAkkk 2014-08-15 10:54:42 UTC
BTW, this only happens with the Plasma 5 version, it works fine under KDE4.
Comment 11 AnAkkk 2014-09-01 11:51:22 UTC
Fixed for me, probably by updating packages.
Comment 12 jhnnslschnr 2014-09-02 12:59:15 UTC
(In reply to AnAkkk from comment #11)
> Fixed for me, probably by updating packages.

What sources are you using?
This bug is still present for me, i compiled on arch linux from AUR yesterday evening.

The "screenshot" behaviour also happens in other KDE 5 apps when they hang, so the actual bug is that ksysguard hangs when trying to end a process.
Comment 13 AnAkkk 2014-09-02 13:27:32 UTC
(In reply to jhnnslschnr from comment #12)
> (In reply to AnAkkk from comment #11)
> > Fixed for me, probably by updating packages.
> 
> What sources are you using?
> This bug is still present for me, i compiled on arch linux from AUR
> yesterday evening.
> 
> The "screenshot" behaviour also happens in other KDE 5 apps when they hang,
> so the actual bug is that ksysguard hangs when trying to end a process.

The same AUR packages, except that I've changed them to install in /usr instead of /opt/kf5. 
I had all kinds of issues when it was installed in /opt/kf5, this might be another one of them.
Comment 14 jhnnslschnr 2014-09-15 10:45:42 UTC
I just tried the current project neon iso, where ksysguard works fine, too.
So this seems to be an issue of the AUR package, not of ksysguard itself.