Bug 953836

Summary: laptop with KDE4: kde/powermgmt applet: when using multiple sessions on battery, all power mgmt applets can and will trigger suspend actions although one session is active all the time
Product: [openSUSE] openSUSE Distribution Reporter: rens groenewegen <rens.groenewegen>
Component: KDE Workspace (Plasma)Assignee: E-Mail List <opensuse-kde-bugs>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: eshmarnev, kde-maintainers
Version: 13.2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 741893    
Bug Blocks:    

Description rens groenewegen 2015-11-05 16:57:52 UTC
problem is still there. it's like 3-4 years old now, any intention of doing something about it ??




+++ This bug was initially created as a clone of Bug #741893 +++

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1

laptop KDE4: kde/powermgmt applet: when using multiple sessions, all power mgmt applets can and will trigger suspend actions although one session is active all the time.

My use case is as follows:
1 session for linux desktop  ( tty7)
1 session for linux desktop running vmware-view VDI session fullscreen ( tty8 )

If I am active in tty7, tty8 will trigger a suspend after 10 minutes and vice versa, although mouse and keyboard are active.

Reproducible: Always

Steps to Reproduce:
1.start extra session on tty8, run laptop on battery mode or configure powermanager to suspend after some minutes.
2. ensure powermgmt applet is loaded on both tty7 and tty8 session
3. start working in any of tty7 /tty8 and wait until powermanagement in the non-active tty suspends the system
Actual Results:  
laptop suspends, in the midst of working.

Expected Results:  
powermgmt should watch activity on keyboard / mouse, irrespective of which active terminal

i think this is a major feature broken, *if* you are working on a laptop.

for desktops, this "bug" doesnt matter much.
Comment 1 Tomáš Chvátal 2015-11-05 17:23:00 UTC
You could've just reopened the bug and changed the distribution selector.

Anyway lowering severity as this problem is not to be triggered by many people. Also it would be smart to report this on bugs.kde.org as upstream devs will have more a chance to actually fix it for you.

I guess there is problem in the concept as it does not see per security reasons activity in other sessions.
Comment 2 rens groenewegen 2015-11-05 17:33:19 UTC
Tomas,

I think it is not solvable.  that is actually what I expected the answer to be, 4 years ago; 
the one X server does not know about the other one, and that is not likely to change......
Comment 3 Tomáš Chvátal 2018-04-12 14:07:33 UTC
This version of openSUSE changed to end-of-life (EOL [1]) status. As such
it is no longer maintained, which means that it will not receive any
further security or bug fix updates.
As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
openSUSE, or consider the bug still valid, please feel free to reopen this
bug against that version, or open a new ticket.

Thank you for reporting this bug and we are sorry it could not be fixed
during the lifetime of the release.

[1] https://en.opensuse.org/Lifetime