[Powerdevil] [Bug 354250] "Switch User" sometimes sends computer to Standby

2016-09-16 Thread Fabian Köster via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354250

--- Comment #35 from Fabian Köster  ---
I can confirm that this bug is fixed in 5.7.95 or at least the probability for
it has been reduced.

@Kai
So I guess your patch did help, thank you very much for your persistent effort!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Powerdevil] [Bug 354250] "Switch User" sometimes sends computer to Standby

2016-09-15 Thread Fabian Köster via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354250

--- Comment #34 from Fabian Köster  ---
(In reply to Kai Uwe Broulik from comment #33)
> I think so. That's why I pushed it this morning, tagging is usually around
> 10 to 12

Great, will test your patch as soon as I updated my system.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Powerdevil] [Bug 354250] "Switch User" sometimes sends computer to Standby

2016-09-15 Thread Fabian Köster via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354250

--- Comment #32 from Fabian Köster  ---
(In reply to Kai Uwe Broulik from comment #31)
> When the session becomes inactive, clear all idle timeouts, so we don't get
> them delivered
> while we're inactive or just when we're about to become active again.
> 
> Depending on your setup, PowerDevil might be blocked on X before it gets the
> "session is now
> inactive" signal, so it still suspends when becoming active again :/ It
> should still make it
> a bit less likely (and works for me :D)

That would be great! Will this patch be included in 5.7.95?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Powerdevil] [Bug 354250] "Switch User" sometimes sends computer to Standby

2016-06-29 Thread Fabian Köster via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354250

--- Comment #29 from Fabian Köster  ---
Please note that I do not use Fedora but Gentoo Linux which still executes X as
root.

"ps aux | grep /usr/bin/X" confirms that: 

root  2229  2.2  0.5 407300 89944 tty1 Ssl+ 15:39   1:32 /usr/bin/X
-nolisten tcp -auth /var/run/sddm/{c31eee08-f7e1-45f3-974b-14c6c8998aad}
-background none -noreset -displayfd 18 vt1

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 354250] "Switch User" sometimes sends computer to Standby

2016-06-29 Thread Fabian Köster via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354250

--- Comment #25 from Fabian Köster  ---
(In reply to Kai Uwe Broulik from comment #23)
> I just updated the patch at [1] to clear idle timeouts when the session
> becomes inactive.
> 
> [1] https://phabricator.kde.org/D2033

This patch does not solve the issue for me :-/

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 354250] "Switch User" sometimes sends computer to Standby

2016-06-28 Thread Fabian Köster via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354250

--- Comment #20 from Fabian Köster  ---
Created attachment 99752
  --> https://bugs.kde.org/attachment.cgi?id=99752=edit
gstack log

pstack was not available for my platform so I used gstack. Hope it is useful
nevertheless.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 354250] "Switch User" sometimes sends computer to Standby

2016-06-28 Thread Fabian Köster via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354250

--- Comment #17 from Fabian Köster  ---
Created attachment 99750
  --> https://bugs.kde.org/attachment.cgi?id=99750=edit
kded5 log

So, thats the requested log of kded5. Hope it helps!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 354250] "Switch User" sometimes sends computer to Standby

2016-06-28 Thread Fabian Köster via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354250

--- Comment #16 from Fabian Köster  ---
(In reply to Kai Uwe Broulik from comment #15)
> Can you run kded5 from console on the other session and switch to it after a
> while? Maybe debug output there can give us a clue what's going on. Look for
> "powerdevil: Current session is now (in)active" and what's happening around
> there.

OK, I will do that and report!

> Do you have logind?

Yes, I am using systemd with logind.

loginctl --version
systemd 226
+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP
-GCRYPT -GNUTLS +ACL -XZ +LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD +IDN

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 354250] "Switch User" sometimes sends computer to Standby

2016-06-28 Thread Fabian Köster via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354250

--- Comment #14 from Fabian Köster  ---
(In reply to Kai Uwe Broulik from comment #13)
> If you can, try https://phabricator.kde.org/D2033 as I don't switch sessions
> that often :)

I applied your patch and tested again, but the issue still happens :-(

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 354250] "Switch User" sometimes sends computer to Standby

2016-06-28 Thread Fabian Köster via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354250

--- Comment #12 from Fabian Köster  ---
Still happens in 5.7 Beta (5.6.95)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 356941] New: "Switch User" sometimes sends computer to Standby

2015-12-20 Thread Fabian Köster via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356941

Bug ID: 356941
   Summary: "Switch User" sometimes sends computer to Standby
   Product: Powerdevil
   Version: 5.5.1
  Platform: Gentoo Packages
OS: Linux
Status: UNCONFIRMED
  Severity: minor
  Priority: NOR
 Component: general
  Assignee: plasma-devel@kde.org
  Reporter: koesterre...@fastmail.fm

This is the same bug as #354250 which is not fixed for me, but I cannot reopen
the report.

System should not suspend when switching to an inactive session.

Reproducible: Always

Steps to Reproduce:
1. Boot computer into SDDM
2. Login with user A
3. From the running Plasma session start a new session for user B
4. Work more than $t minutes in user B's session (where $t is the configured
time after inactivity, after which the system should suspend)
5. Logout user B or switch back to user A's session

Actual Results:  
 The system suspends 

Expected Results:  
The system should not suspend, because the person in front of the machine was
actively using it all the time.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 354250] "Switch User" sometimes sends computer to Standby

2015-12-20 Thread Fabian Köster via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354250

--- Comment #10 from Fabian Köster  ---
Same with 5.5.1

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 354250] "Switch User" sometimes sends computer to Standby

2015-12-10 Thread Fabian Köster via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354250

--- Comment #8 from Fabian Köster  ---
The problem still occurs with Plasma 5.5.0 (and powerdevil 5.5.0) on Gentoo.
Maybe the fix was not sufficient?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 354250] "Switch User" sometimes sends computer to Standby

2015-11-24 Thread Fabian Köster via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354250

--- Comment #7 from Fabian Köster  ---
Nice, thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel