Describe the bug
When running under Wayland (like when using Hyprland or KDE Plasma), popup breaks aren't appearing when the break type is set to Popup break. The break start/finish sounds are there, but that's it.
To Reproduce
Steps to reproduce the behavior:
- Run
./BreakTimer.AppImage --enable-features=UseOzonePlatform --ozone-platform=wayland (same behaviour without flags).
- Open BreakTimer's settings.
- Make sure break type is set to
Popup break.
- Open BreakTimer's context menu.
- Click
Start break now.
- Popup doesn't appear, but the start sound is heard.
Expected behavior
When the break type is set to Popup break and the break starts, a popup should appear.
Screenshots
N/A
Specs:
- BreakTimer: 2.0.3
- OS: CachyOS (based on Arch Linux)
- WM: Hyprland 0.52.2
- DE: KDE Plasma 6.5.3 (Wayland) (same behaviour)
- Kernel: 6.18.0-3-cachyos
Additional context
Logs when attempting to start a break manually and then closing the app with ctrl+c:
$ ./BreakTimer.AppImage --enable-features=UseOzonePlatform --ozone-platform=wayland
17:02:40.610 › Scheduling next break [isPostpone=false] [seconds=1200] [postponeLength=180] [frequency=1200] [scheduledFor=17:22:40]
17:02:40.636 › Checking for updates...
17:02:40.637 › Checking for update
[14749:1206/170241.122140:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[14749:1206/170241.122186:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[14749:1206/170241.122209:ERROR:gpu/command_buffer/service/shared_image/shared_image_factory.cc:888] CreateSharedImage: could not create backing.
[14749:1206/170241.122234:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[14749:1206/170241.122259:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[14749:1206/170241.122283:ERROR:gpu/command_buffer/service/shared_image/shared_image_factory.cc:888] CreateSharedImage: could not create backing.
[14749:1206/170241.122306:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[14749:1206/170241.122329:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[14749:1206/170241.122351:ERROR:gpu/command_buffer/service/shared_image/shared_image_factory.cc:888] CreateSharedImage: could not create backing.
[14749:1206/170241.122386:ERROR:gpu/command_buffer/service/shared_image/shared_image_manager.cc:389] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[14749:1206/170241.122431:ERROR:components/viz/service/gl/exit_code.cc:13] Restarting GPU process due to unrecoverable error. Context was lost.
[14691:1206/170241.197629:ERROR:content/browser/gpu/gpu_process_host.cc:957] GPU process exited unexpectedly: exit_code=8704
[14830:1206/170241.644375:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[14830:1206/170241.644420:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[14830:1206/170241.644443:ERROR:gpu/command_buffer/service/shared_image/shared_image_factory.cc:888] CreateSharedImage: could not create backing.
[14830:1206/170241.644470:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[14830:1206/170241.644492:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[14830:1206/170241.644511:ERROR:gpu/command_buffer/service/shared_image/shared_image_factory.cc:888] CreateSharedImage: could not create backing.
[14830:1206/170241.644532:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[14830:1206/170241.644552:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[14830:1206/170241.644571:ERROR:gpu/command_buffer/service/shared_image/shared_image_factory.cc:888] CreateSharedImage: could not create backing.
[14830:1206/170241.644612:ERROR:gpu/command_buffer/service/shared_image/shared_image_manager.cc:389] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[14830:1206/170241.644655:ERROR:components/viz/service/gl/exit_code.cc:13] Restarting GPU process due to unrecoverable error. Context was lost.
[14765:1206/170241.644900:ERROR:gpu/ipc/client/command_buffer_proxy_impl.cc:327] GPU state invalid after WaitForGetOffsetInRange.
[14691:1206/170241.730484:ERROR:content/browser/gpu/gpu_process_host.cc:957] GPU process exited unexpectedly: exit_code=8704
17:02:41.892 › Update for version 2.0.3 is not available (latest version: 2.0.3, downgrade is disallowed).
17:02:41.892 › checkForUpdatesAndNotify called, downloadPromise is null
[14881:1206/170242.187372:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[14881:1206/170242.187429:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[14881:1206/170242.187458:ERROR:gpu/command_buffer/service/shared_image/shared_image_factory.cc:888] CreateSharedImage: could not create backing.
[14881:1206/170242.187490:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[14881:1206/170242.187516:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[14881:1206/170242.187539:ERROR:gpu/command_buffer/service/shared_image/shared_image_factory.cc:888] CreateSharedImage: could not create backing.
[14881:1206/170242.187563:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[14881:1206/170242.187587:ERROR:ui/ozone/platform/wayland/gpu/gbm_pixmap_wayland.cc:82] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[14881:1206/170242.187609:ERROR:gpu/command_buffer/service/shared_image/shared_image_factory.cc:888] CreateSharedImage: could not create backing.
[14881:1206/170242.187647:ERROR:gpu/command_buffer/service/shared_image/shared_image_manager.cc:389] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[14881:1206/170242.187698:ERROR:components/viz/service/gl/exit_code.cc:13] Restarting GPU process due to unrecoverable error. Context was lost.
[14691:1206/170242.272328:ERROR:content/browser/gpu/gpu_process_host.cc:957] GPU process exited unexpectedly: exit_code=8704
[14765:1206/170242.707043:ERROR:gpu/ipc/client/command_buffer_proxy_impl.cc:127] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
17:02:46.117 › Start break now selected
17:02:46.616 › Break started [type=POPUP]
17:02:47.683 › ALLOW_POSTPONE_GET
17:02:47.683 › SETTINGS_GET
17:02:47.684 › TIME_SINCE_LAST_BREAK_GET
17:02:47.684 › WAS_STARTED_FROM_TRAY_GET
17:02:47.684 › ALLOW_POSTPONE_GET
17:02:47.684 › SETTINGS_GET
17:02:47.685 › TIME_SINCE_LAST_BREAK_GET
17:02:47.685 › WAS_STARTED_FROM_TRAY_GET
17:02:47.688 › BREAK_LENGTH_GET
17:02:47.688 › BREAK_WINDOW_RESIZE
17:02:47.689 › Send event SOUND_START_PLAY [ 'GONG', 0.2 ]
17:02:47.690 › BREAK_LENGTH_GET
17:02:47.690 › BREAK_WINDOW_RESIZE
17:03:07.714 › BREAK_TRACKING_COMPLETE 20026
17:03:07.714 › Break completed [duration=20s] [required=20s]
17:03:07.714 › BREAK_TRACKING_COMPLETE 20027
17:03:07.714 › BREAK_END
17:03:07.714 › Send event BREAK_END []
17:03:07.715 › Send event SOUND_END_PLAY [ 'GONG', 0.2 ]
17:03:07.715 › BREAK_END
17:03:07.715 › Send event BREAK_END []
17:03:08.217 › Break ended
17:03:08.217 › Scheduling next break [isPostpone=false] [seconds=1200] [postponeLength=180] [frequency=1200] [scheduledFor=17:23:08]
17:03:08.222 › Break ended
^C[14691:1206/170313.711924:ERROR:ui/events/platform/wayland/wayland_event_watcher.cc:47] libwayland: warning: queue 0x374400ff1040 destroyed while proxies still attached:
[14691:1206/170313.711973:ERROR:ui/events/platform/wayland/wayland_event_watcher.cc:47] libwayland: wl_shm_pool#43 still attached
Also, it seems like notification break type also isn't working with Hyprland, but I think it's more related to my set up rather than the app. So I don't think it's related. Notification breaks work in KDE Plasma.
Describe the bug
When running under Wayland (like when using Hyprland or KDE Plasma), popup breaks aren't appearing when the break type is set to
Popup break. The break start/finish sounds are there, but that's it.To Reproduce
Steps to reproduce the behavior:
./BreakTimer.AppImage --enable-features=UseOzonePlatform --ozone-platform=wayland(same behaviour without flags).Popup break.Start break now.Expected behavior
When the break type is set to
Popup breakand the break starts, a popup should appear.Screenshots
N/A
Specs:
Additional context
Logs when attempting to start a break manually and then closing the app with ctrl+c:
Also, it seems like notification break type also isn't working with Hyprland, but I think it's more related to my set up rather than the app. So I don't think it's related. Notification breaks work in KDE Plasma.