Bug 200327 - Nepomuk (strigi) suspends repeatedly after power outage
Summary: Nepomuk (strigi) suspends repeatedly after power outage
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: powermanagement-daemon (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
: 201731 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-15 16:40 UTC by Ekeluo Chukwuogor
Modified: 2010-10-02 12:50 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ekeluo Chukwuogor 2009-07-15 16:40:02 UTC
Version:            (using KDE 4.2.96)
OS:                Linux
Installed from:    Ubuntu Packages

Every time the power goes out, system is unplugged or I hibernate/standby, upon resume, I keep getting notification every few seconds of strigi suspending and then resuming. Persists for about 20-30mins or until restart or logout.
Comment 1 Sebastian Trueg 2009-07-15 17:49:00 UTC
The service simply connects to the appropriate Solid signal. So I think the problem needs to be in there.
Comment 2 Ekeluo Chukwuogor 2009-07-15 21:43:36 UTC
No other app or service exhibits any such effect though.
Comment 3 Sebastian Trueg 2009-07-15 21:58:22 UTC
which other app would that be for example?
Comment 4 Ekeluo Chukwuogor 2009-07-15 22:55:58 UTC
Not sure, was referring to any other apps that may listen to the same solid signal. I assume you meant that Strigi seems to be getting repeated power status change signals?
Comment 5 Sebastian Trueg 2009-07-16 10:27:29 UTC
Exactly. The problem is that I do not know of any other app using the signal. But it seems we tracked the problem down to PowerDevil. Will try to debug that.
Comment 6 Sebastian Trueg 2009-07-30 07:32:48 UTC
*** Bug 201731 has been marked as a duplicate of this bug. ***
Comment 7 Khashayar 2009-07-30 11:54:36 UTC
Sebastian, bug 200991 is another dupe that I commented on.
I find the notifications annoying even before a suspend/resume cycle. On my system they show frequently enough anyway. Besides, I mouse over tip already tells you whether strigi is suspended or not, so maybe those two SendEvents should actually be removed?
Comment 8 Sebastian Trueg 2009-07-30 13:46:31 UTC
actually #200991 is not a duplicate. It is a wish to remove the signals. This is actually a bug where the powermanager reports invalid data, resulting in the strigi service being disabled and enabled over and over again. You are probably right that the notifications are not really necessary, at least I do not need them, except for testing maybe. But I introduced them due to users wanting to know what was going on.
Comment 9 Khashayar 2009-07-30 18:03:56 UTC
(In reply to comment #8)
> actually #200991 is not a duplicate. It is a wish to remove the signals. This
> is actually a bug where the powermanager reports invalid data, resulting in the
> strigi service being disabled and enabled over and over again. You are probably
> right that the notifications are not really necessary, at least I do not need
> them, except for testing maybe. But I introduced them due to users wanting to
> know what was going on.

Right. I see why it's not a duplicate.
I'm all for letting the user knowing what is going on, it's just when that information is flooding the user that it becomes annoying. Maybe a "Do not show again" button on the notification bubble would be the way to go?
Comment 10 Sebastian Trueg 2009-07-31 10:22:46 UTC
IMHO the real solution would be to fix the bug. But I don't have the knowledge for that.
Comment 11 Ekeluo Chukwuogor 2009-09-07 10:28:04 UTC
I guess this is fixed in 4.3.1 on Kubuntu 'cause it doesn't happen anymore, no more popups (whatsoever) about strigi status which is fine in my opinion.
Comment 12 Jithin Emmanuel 2009-09-07 11:12:15 UTC
What kubuntu fixed is removing the code which raises the notification not the cause.
Comment 13 Ekeluo Chukwuogor 2009-10-11 20:10:14 UTC
#12 was right. It back, and still pops up regularly, about every 30-45 secs. Kind of distracting. (Kubuntu Karmic Beta, kde 4.3.2)
Comment 14 Sebastian Trueg 2009-10-21 16:15:41 UTC
Finally fixed it thanks to Jacopo De Simoi.
Comment 15 Jonathan Thomas 2009-10-28 14:47:32 UTC
Have an svn revision number handy? I can't find it.
Comment 16 Sebastian Trueg 2009-10-28 15:07:17 UTC
revision 1038603 in the 4.3 branch.
Comment 17 Jonathan Thomas 2009-10-28 15:31:05 UTC
Thanks a bunch. :)