-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workrave Wayland support (meta) #523
Comments
I fixed the crash, and have just implemented monitoring using the idle-notify protocol. Current checking that this did not break anything. |
Thanks, I saw it several hours ago in main, and now I see Idle which you've pushed 30 minutes ago :D Here's my hack written in Python, which uses Workrave DBus interface to update the activity for now. |
Would it be possible to make Wayland support configurable (eg. |
got bit by this tonight, KDE Neon moved to KDE 6 and Wayland, workrave stopped working right, and even with environment, it thinks I'm inactive when I'm actually active. I think it needs to use kde-idle or something |
I've tried out the latest Workrave (1.11.0_beta.12.0.g7cab420-1) on two different wlroots-based compositors, LabWC and Sway, and got the same results both times: a segfault that, if it leaves behind a On GNOME 46, Workrave works fine so far. I've unchecked the "Force use of X11 on Wayland" option. ETA: Here's a backtrace from GDB:
|
I recompiled Workrave with
|
I think I figured out the problem. Even though the CMake variable I'm not sure, but I think what is happening is that in |
I can confirm the issue @jjramsey described (and the fix proposed). Additionally, on KDE I don't see the applet anymore. "Show fallback applet" works, but only when X11 session is forced. The window still works, but no applet. The application overall works as well. |
@ValdikSS try the updated applet as described at wojnilowicz/workrave-applet#12 (comment) And if you have it working, maybe post at that issue to encourage the applet developer to formalize release of the KDE6 support |
Everything works on Fedora Linux 40, except timers and sound. |
Wayland not working under LabWC and Sway compositors: #550 |
I'm still getting a segfault when using the version from the PPA on Plasma 6 Wayland unless I use GDK_BACKEND="x11" . Is all that's needed a new release on the PPA? |
@rcaelers current git master:
beta 13 used to work. |
Seems like Wayland support in Workrave has gotten good enough that the main problem with it is now in the deficiencies of the ext-idle-notify protocol itself, notably that the protocol can't distinguish between a case where the user is active (e.g., providing keyboard or mouse input) and a case where the user is physically inactive but some process creates a I've tried posting a couple issues in the Wayland protocols, namely #213 and #229, but I haven't seen any movement on them. I even tried emailing the author of the ext-idle-notify protocol, but that doesn't seem to have changed anything. Any ideas on how to successfully lobby to get the protocol revised? |
FWIW, https://github.com/AllanChain/sane-break is working fully with Wayland, and it is exceptionally WorkRave-like. I've transitioned to it. So that's an option, but also it shows that it's feasible to get everything working without any upstream changes… |
See what happens to sane-break if you use something that uses the Wayland idle inhibit protocol (mpv might do it, but I haven't tried it; see what's triggered it for me here: #565 (comment)) |
@jjramsey Oh interesting, I didn't quite understand the description from that link, but I'm finding that playing a video in mpv is treated as non-idleness (which means break prompts do come up but then get postponed as if activity is still happening). And quitting mpv leads to either pause or break happening (depending on whether the prompt was coming up already or not), as in without mpv running, it does register idleness. So I suppose the goal is for mpv with no other activity still be treated as idle, yes? |
I would say so, yes. |
Describe the bug
Right now Workrave 1.10.52 has limited support for different Linux Wayland DEs/compositors other than Gnome's Mutter:
The text was updated successfully, but these errors were encountered: