Commit graph

37 commits

Author SHA1 Message Date
Johannes Millan
1a79592aca build: update links to match our new organization 2026-01-05 14:45:06 +01:00
Johannes Millan
62d449a82f fix(electron): reduce idle detection log verbosity
Change frequent idle check logs from info to debug level to prevent
polluting system logs (e.g., /var/log/syslog) every 5 seconds.

Closes #5794
2025-12-31 13:42:18 +01:00
Johannes Millan
152939a866 fix(electron): remove forced X11 mode on Linux
Remove the code that forced X11 mode on Linux via --ozone-platform=x11.
This was causing the snap package to crash on Wayland systems due to
GPU driver mismatches between the bundled Mesa drivers and host system.

The IdleTimeHandler already has proper fallbacks for Wayland environments
(gnomeDBus, xprintidle, loginctl), so forcing X11 is not necessary.

Closes #5663
2025-12-06 11:54:41 +01:00
Johannes Millan
68ff0ffb88 build(electron): upgrade to Electron 39 with X11 default on Linux
Upgrade Electron from 37.7.0 to 39.2.5. Since Electron 38+ defaults to
Wayland via --ozone-platform=auto, force X11 on Linux to ensure reliable
idle detection (#1443) and global shortcuts. Users can opt-in to Wayland
with --ozone-platform=wayland or --force-wayland flags.
2025-12-05 15:28:40 +01:00
Johannes Millan
c5625de6f1 feat(customWindowTitleBar): add sexy custom window title bar <3 2025-12-02 13:30:36 +01:00
sambhram1
a2bbda6d1a 'Fix: Remove trailing slashes from --user-data-dir CLI option path' 2025-10-24 17:52:19 +05:30
Johannes Millan
6350a7249f fix: app not closing on MacOS
Closes #5327
2025-10-23 15:12:12 +02:00
Johannes Millan
3fc7c134f9 feat(electron): further improve on idle handling 2 2025-10-15 15:27:27 +02:00
Johannes Millan
e96e205de0 feat(electron): further improve on idle handling 2025-10-15 15:08:49 +02:00
Johannes Millan
6d38cb1a2e feat(electron): stop idle handling if there is no working method 2025-10-15 14:54:38 +02:00
Johannes Millan
45da016258 refactor(electron): improve idle handling 2025-10-15 14:48:06 +02:00
Johannes Millan
a2f723bedd feat: enable hardware acceleration again 2025-10-14 19:10:54 +02:00
Johannes Millan
31c6b40fc8 build: fix mac build 2 2025-10-13 17:24:06 +02:00
Johannes Millan
7fd8f57d3e build: next attempt 2 #5252 2025-10-13 17:12:24 +02:00
Johannes Millan
55f40afe5e build: next attempt #5252 2025-10-13 17:07:51 +02:00
Johannes Millan
2209767e77 build: another attempt to fix snap #5252 2025-10-13 16:10:49 +02:00
Johannes Millan
8fb0e5e031 build: attempt to fix snap again #5252 2025-10-13 14:52:42 +02:00
Johannes Millan
53eaaddea9 fix: attempt to fix snap once more 2 #5252 2025-10-12 11:34:30 +02:00
Johannes Millan
ac8ebf93cf fix: attempt to fix snap once more #5252 2025-10-12 11:21:40 +02:00
Johannes Millan
e465712029 fix: electron snap issue #5252 2025-10-11 18:46:22 +02:00
Johannes Millan
4c563b117e feat: remove faulty wayland fallbacks #5235 2025-10-08 16:17:59 +02:00
Johannes Millan
d5ec716c8c fix: electron error 2025-09-21 01:02:11 +02:00
Johannes Millan
18ab880d81 feat: improve on idle 2025-09-04 19:00:31 +02:00
Johannes Millan
caf1c1a9fc feat: improve logging for idle handling 2025-09-04 18:45:59 +02:00
Johannes Millan
cf1031c935 feat: add protocol handling to allow adding tasks from other apps 2025-07-25 19:15:40 +02:00
Johannes Millan
e295655127 feat(electron): add debug logging for suspend/resume idle detection #4734
Add comprehensive logging to help diagnose why idle detection is not
triggering properly when the system suspends/resumes, particularly on
Wayland systems where powerMonitor events may not fire reliably.

The logging covers:
- Power monitor suspend/resume/lock/unlock events
- Idle time calculations on system wake
- Whether idle messages are sent to frontend based on thresholds

This will help identify if:
1. PowerMonitor events are firing on the user's KDE Wayland system
2. Idle time is being calculated correctly during sleep periods
3. Messages are being sent but not processed by the frontend

Related to issue #4734 where time tracking continues during sleep mode.
2025-07-17 21:12:37 +02:00
Johannes Millan
fcf5e5fe30 feat: improve shutdown cleanup 2025-06-29 17:31:28 +02:00
Johannes Millan
5c62dafed1 feat: make wayland idle time work again 2025-06-29 17:15:57 +02:00
Johannes Millan
0a2965ae18 feat(electron): remove x11 for wayland 2025-06-27 22:59:18 +02:00
Johannes Millan
1c7eaad5bb feat(overlayIndicator): implement basic overlay 2025-06-27 14:22:27 +02:00
Johannes Millan
8db186de91 feat: add idle handling for wayland 2025-06-19 20:13:51 +02:00
Johannes Millan
0848f6015d feat: improve wayland compatability 2025-06-19 15:05:47 +02:00
Johannes Millan
8ddd4f438b fix: segfault on debian #4375 2025-05-15 15:39:26 +02:00
Johannes Millan
6a5f21e5f2 fix: windows crashing issue on minimize #3423 2024-09-09 15:17:24 +02:00
Johannes Millan
337a5fd9d7 fix: remove copying over legacy snap data to avoid SingletonCookie issue #326 #3069 #3159 2024-06-11 19:05:36 +02:00
Johannes Millan
cf1c38bf3b refactor: use same backup path everywhere #2910 2023-12-29 14:10:22 +01:00
Johannes Millan
f4c8aa988f feat: cleaner startup for electron #2942 #1678 2023-12-29 12:57:33 +01:00