Bug 484925

Summary: rsibreak does not log activity after transition to Plasma 6.0
Product: [Applications] rsibreak Reporter: lukas.kripner
Component: generalAssignee: Albert Astals Cid <aacid>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: 0.12.14   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Activity report of rsibreak

Description lukas.kripner 2024-04-02 12:57:00 UTC
Created attachment 168052 [details]
Activity report of rsibreak

SUMMARY

After upgrade to Plasma 6.0 `rsibreak` does not log inactivity - it behave as the user is still active. 


STEPS TO REPRODUCE
1. Run `rsibreak` on Plasma 6. 

bash output:

```bash
$ rsibreak 
Timeout parameters have changed, counters were reset.
QWindow::fromWinId(): platform plugin does not support foreign windows.
Created widget for screen QScreen(0x6162ef8594e0, name="eDP-1") Position: QPoint(336,1440)
QWindow::fromWinId(): platform plugin does not support foreign windows.
Created widget for screen QScreen(0x6162ef85bae0, name="HDMI-A-1") Position: QPoint(0,0)
New Value 0.7
This plugin does not support setting window opacity
New Value 0.7
This plugin does not support setting window opacity
New Value 0.8
This plugin does not support setting window opacity
New Value 0.8
This plugin does not support setting window opacity
kf5idletime_wayland: This plugin does not support polling idle time
kf5idletime_wayland: This plugin does not support polling idle time
kf5idletime_wayland: This plugin does not support polling idle time
```
OBSERVED RESULT
Percentage of activity is always 100% , the count-down during break is not working.

EXPECTED RESULT

Calculate valid activity statistics, corectly evaluate breaks.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 6.0
KDE Plasma Version: 6.0.3 
KDE Frameworks Version:  6.0.0
Qt Version: 6.6.2
Wayaland

ADDITIONAL INFORMATION

The bug may be related to this report: https://invent.kde.org/utilities/rsibreak/-/issues/1
Comment 1 lukas.kripner 2024-04-02 12:57:40 UTC
rsibreak version: 0.12.15 (not in dropdown)
Comment 2 Albert Astals Cid 2024-04-02 17:04:58 UTC

*** This bug has been marked as a duplicate of bug 422033 ***