Bug 339713 - konversation main window unresponsive for a certain time-period after minimising
Summary: konversation main window unresponsive for a certain time-period after minimising
Status: RESOLVED WORKSFORME
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: MacPorts macOS
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-05 20:24 UTC by Marko Käning
Modified: 2018-12-21 15:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Käning 2014-10-05 20:24:07 UTC
After restoring konvi's minimised main window the GUI stays unresponsive for 30s up to minutes.

Reproducible: Always

Steps to Reproduce:
1. minimize konvi's main window with its chat tabs
2. wait some seconds or minutes
3. restore konvi's window

Actual Results:  
- main window is not updated according to mouse inputs, incoming chat messages or newly opened tabs anymore

- klicking the chat tabs changes window title, but does not update the tab's chat view

- only after some time the GUI suddenly updates itself all at once (messages appear, new chat tabs open)

- seems like the "recovery time" can be as long as 2.5 mins, depending on how long application had been minimised

- tested with "watched nicks", "freenode" and 6 chats open

- it's enough to minimize konvi for a few seconds to see this (then the "recovery time" is perhaps only 30s short)

Expected Results:  
no delays regarding GUI updates
Comment 1 Marko Käning 2014-10-06 19:13:35 UTC
This ticket is valid for 3afe9fe5b2df1452ff2eb62c67326f989486f878 (KDE4).
Comment 2 Marko Käning 2014-10-06 20:10:52 UTC
This also happens for konversations release version 1.5.
Comment 3 RJVB 2014-10-07 20:19:35 UTC
I can reproduce this for v 1.5 master 4303. Minimising for a few seconds only is not enough, it has to be a minute at least, approximately.

It's hard to be sure, but it appears that resizing the window even by a little bit unblocks the situation.

Marko: do you see the same thing when you hide the whole application instead of just minimising the main window?

you could try to see if konversation overrides any of the related event handlers, e.g. to switch to "away" as soon as you minimise the window, and/or if it does (is supposed to do) something when you restore the window. I'd start by setting a breakpoint there, and see if that event arrives as soon as the window is restored, or at some later time.
Comment 4 Eike Hein 2014-10-08 08:57:53 UTC
RJVB, are you on OS X as well?
Comment 5 RJVB 2014-10-08 10:14:36 UTC
Yes, running kdelibs git/kde4.14 .

A thought: we have Qt 4.8.6 in MacPorts, which AFAIK isn't yet very commonly used on Linux. I have it on my Kubuntu system too, will see if that has anything to do with the issue and report back if it does.
Comment 6 Marko Käning 2014-10-08 19:45:30 UTC
(In reply to RJVB from comment #3)
> I can reproduce this for v 1.5 master 4303. Minimising for a few seconds
> only is not enough, it has to be a minute at least, approximately.

In my case just a few seconds are enough.


> It's hard to be sure, but it appears that resizing the window even by a
> little bit unblocks the situation.

Yes, you are right, resizing it unfreezes the window.


> Marko: do you see the same thing when you hide the whole application instead
> of just minimising the main window?

Hey, NO! Turns out no freeze there! :)


> you could try to see if konversation overrides ...
> I'd start by setting a breakpoint there, and see if that event arrives as
> soon as the window is restored, or at some later time.

There? I've no clue where to set any breakpoint, as I don't know konvi's
source code by any means. ;-) I'd probably need more than just such a
pointer as to where to look for, actually. ;-)

Would be fabulous though if we could locate the reason for this behaviour,
as I use to minimise windows quite often... I admit, I've learnt by now to 
avoid this habit with konvi! :-/
Comment 7 Andrew Crouthamel 2018-11-12 02:48:44 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Andrew Crouthamel 2018-11-21 04:40:12 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 9 RJVB 2018-12-21 15:23:59 UTC
This no longer appears to be an issue.