Bug 473200 - RSI break thinks I'm never idle even if I don't touch the keyboard or touchpad
Summary: RSI break thinks I'm never idle even if I don't touch the keyboard or touchpad
Status: CONFIRMED
Alias: None
Product: frameworks-kidletime
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.108.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2023-08-09 10:22 UTC by Alif
Modified: 2024-04-22 22:58 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alif 2023-08-09 10:22:00 UTC
SUMMARY
When a break starts the break will never end because RSI break always registers that the computer is not idle.

***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Log in with wayland
2. Start RSI break
3. Notice that the app is never registering an idle time. Even if you don't touch your PC it will still register you are doing some activity.

OBSERVED RESULT
When a break starts the break will never end because it always registers that the computer is not idle.

EXPECTED RESULT
If the user stops touching the keyboard and touchpad, it should register it as idle time.


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.8-200.fc38.x86_64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: Acer
Product Name: TravelMate P214-53
System Version: V1.43
Comment 1 Ben Bonacci 2023-08-09 11:01:53 UTC
Just to confirm, this can only be reproduced on Wayland?
And what version of RSIBreak are you using?
Comment 2 Alif 2023-08-09 11:08:20 UTC
(In reply to Ben Bonacci from comment #1)
> Just to confirm, this can only be reproduced on Wayland?
> And what version of RSIBreak are you using?

Yes, it only happens on Wayland. and RSI break version was 0.12.15
Comment 3 Albert Astals Cid 2023-08-09 17:19:42 UTC
This is a kidletime problem.

It has some support for idletime detection on Wayland but KIdleTime::idleTime doesn't work, not much rsibreak can do if the libraries it's built on don't work properly.
Comment 4 Alif 2023-08-10 00:28:40 UTC
(In reply to Albert Astals Cid from comment #3)
> This is a kidletime problem.
> 
> It has some support for idletime detection on Wayland but
> KIdleTime::idleTime doesn't work, not much rsibreak can do if the libraries
> it's built on don't work properly.

I don't know but idletime detection works on Gnome with Gnome's 'Break Timer'. So, there ofcourse is a way to detect idletime on Wayland.