breaktimer-app icon indicating copy to clipboard operation
breaktimer-app copied to clipboard

Double overlay in pure wayland

Open nerumo opened this issue 8 months ago • 1 comments

Describe the bug I switched BreakTimer to pure wayland. It seams to work fine, but the overlay is shown twice. If I dismiss the break, both overlays disappear

To Reproduce Steps to reproduce the behavior:

  1. Start BreakTimer with the argument '--ozone-platform=wayland'
  2. Start a break

Expected behavior A single overlay should be shown.

Screenshots Image

Specs:

  • OS version: Kubuntu 25.05
  • Sessiontype: Wayland

nerumo avatar May 06 '25 07:05 nerumo

Ah, now I attached three screens and I see three overlays :) ok, it's not positioning the windows on every screen

nerumo avatar May 08 '25 07:05 nerumo

Closing because I've just released 2.0.0 which updates pretty much all dependencies which may affect this. Let me know if it still happens.

tom-james-watson avatar Aug 10 '25 14:08 tom-james-watson

Now, with wayland enabled, it reports directly an error:

breaktimer --ozone-platform=wayland

MESA-LOADER: failed to open iris (search paths /snap/breaktimer/65/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: iris
MESA-LOADER: failed to open kms_swrast (search paths /snap/breaktimer/65/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /snap/breaktimer/65/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver
MESA-LOADER: failed to open nouveau (search paths /snap/breaktimer/65/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: nouveau
MESA-LOADER: failed to open kms_swrast (search paths /snap/breaktimer/65/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /snap/breaktimer/65/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver
[870394:0819/085724.442842:ERROR:ui/ozone/platform/wayland/host/wayland_connection.cc:191] Failed to connect to Wayland display: No such file or directory (2)
[870394:0819/085724.442888:ERROR:ui/ozone/platform/wayland/ozone_platform_wayland.cc:278] Failed to initialize Wayland platform
[870394:0819/085724.445989:ERROR:ui/aura/env.cc:257] The platform failed to initialize.  Exiting.
[1]    870394 segmentation fault (core dumped)  breaktimer --ozone-platform=wayland

nerumo avatar Aug 19 '25 06:08 nerumo