-
Notifications
You must be signed in to change notification settings - Fork 168
Description
Describe the bug
It'll be working for days and then randomly crash. I caught the log of the crash after starting it from command line with flatpak run after about 2 hours. I've only got the log once so far. So I'm not sure if it's the same error on every crash, but it's crashed about 5 times in a week so far. It always happens when the break screen is about to show up.
To Reproduce
Steps to reproduce the behavior:
- Run the application
- Use as normal
- Get the "break in 10 seconds" notification
- Crashes when the notification should show up
Expected behavior
No crash
Desktop (please complete the following information):
Operating System: Bazzite 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.4-114.bazzite.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: AMD Radeon RX 6700 XT
Manufacturer: ASUS
I didn't get a chance to test with non flatpak, so I opened the bug there first flathub/io.github.slgobinath.SafeEyes#63
Debug Log
I'm running now with debug and can update with the full debug log later. Here's the regular log for now:
~ ❯ flatpak run io.github.slgobinath.SafeEyes
(safeeyes:2): Gtk-WARNING **: 15:33:20.944: Unknown key gtk-modules in /home/gabe/.var/app/io.github.slgobinath.SafeEyes/config/gtk-4.0/settings.ini
libnotify-Message: 20:27:27.330: App Icon is not available when using Portal Notifications
libnotify-Message: 20:54:47.314: App Icon is not available when using Portal Notifications
libnotify-Message: 21:15:57.323: App Icon is not available when using Portal Notifications
libnotify-Message: 21:45:01.310: App Icon is not available when using Portal Notifications
libnotify-Message: 22:19:05.319: App Icon is not available when using Portal Notifications
(safeeyes:2): Gdk-WARNING **: 22:19:15.317: vkGetPhysicalDeviceSurfacePresentModesKHR(): A surface is no longer available. (VK_ERROR_SURFACE_LOST_KHR) (-1000000000)
Gdk-Message: 22:19:15.318: Error 71 (Protocol error) dispatching to Wayland display.
Configuration
From ~/.var/app/io.github.slgobinath.SafeEyes/config/safeeyes/safeeyes.json
{
"allow_postpone": false,
"long_break_duration": 120,
"long_break_interval": 80,
"long_breaks": [
{
"name": "Walk for a while"
},
{
"name": "Lean back at your seat and relax"
},
{
"name": "Stretch your body"
}
],
"meta": {
"config_version": "6.0.4"
},
"persist_state": true,
"plugins": [
{
"enabled": true,
"id": "donotdisturb",
"settings": {
"skip_break_windows": "",
"take_break_windows": "",
"unfullscreen": true,
"while_on_battery": false
},
"version": "0.0.2"
},
{
"enabled": true,
"id": "notification",
"version": "0.0.1"
},
{
"enabled": true,
"id": "audiblealert",
"settings": {
"post_break_alert": true,
"pre_break_alert": true,
"volume": 100
},
"version": "0.0.4"
},
{
"enabled": true,
"id": "trayicon",
"settings": {
"allow_disabling": true,
"disable_options": [
{
"time": 30,
"unit": "minute"
},
{
"time": 1,
"unit": "hour"
},
{
"time": 2,
"unit": "hour"
},
{
"time": 3,
"unit": "hour"
}
],
"show_long_time_in_tray": false,
"show_time_in_tray": false
},
"version": "0.0.3"
},
{
"enabled": true,
"id": "smartpause",
"settings": {
"idle_time": 20.0,
"postpone_if_active": false
},
"version": "0.0.3"
},
{
"enabled": false,
"id": "screensaver",
"settings": {
"command": "",
"min_seconds": 3
},
"version": "0.0.2"
},
{
"enabled": true,
"id": "healthstats",
"settings": {
"statistics_reset_cron": "0 0 * * *"
},
"version": "0.0.3"
},
{
"enabled": true,
"id": "mediacontrol",
"version": "0.0.1"
},
{
"enabled": true,
"id": "limitconsecutiveskipping",
"settings": {
"number_of_allowed_skips_in_a_row": 2
},
"version": "0.0.1"
}
],
"postpone_duration": 5,
"postpone_unit": "minutes",
"pre_break_warning_time": 10,
"random_order": true,
"short_break_duration": 20,
"short_break_interval": 20,
"short_breaks": [
{
"name": "Gently close your eyes"
},
{
"name": "Roll your eyes a few times to each side"
},
{
"name": "Blink your eyes"
},
{
"name": "Focus on a point in the far distance"
},
{
"name": "Have some water"
},
{
"name": "Stretch your hands"
}
],
"shortcut_disable_time": 2,
"shortcut_postpone": 65,
"shortcut_skip": 9,
"strict_break": false
}
Screenshots
If applicable, add screenshots to help explain your problem.