Bug 484925 - rsibreak does not log activity after transition to Plasma 6.0
Summary: rsibreak does not log activity after transition to Plasma 6.0
Status: RESOLVED DUPLICATE of bug 422033
Alias: None
Product: rsibreak
Classification: Applications
Component: general (other bugs)
Version First Reported In: 0.12.14
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-02 12:57 UTC by lukas.kripner
Modified: 2024-04-02 17:04 UTC (History)
0 users

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


Attachments
Activity report of rsibreak (92.57 KB, image/png)
2024-04-02 12:57 UTC, lukas.kripner
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***