UbuntuBudgie / budgie-extras

Additional Budgie Desktop enhancements for user experience
https://ubuntubudgie.org
GNU General Public License v3.0
175 stars 34 forks source link

Converting third-party applets for Wayland #476

Open fossfreedom opened 1 month ago

fossfreedom commented 1 month ago

This issue is to track those third-party applets we currently package in backports

At a minimum for the first offering we will need to have stub packages in the wayland PPA to prevent v1 vs v2 issues

Where we don't actively maintain these ourselves, lets offer the maintainer a PR to resolve - often a meson option or similar to allow compilation against v1 vs v2.

samlane-ma commented 1 month ago

looking at lightpad (main app)

not working as-is:

(com.github.libredeb.lightpad:4229): Gdk-CRITICAL **: 18:39:18.362: gdk_monitor_get_geometry: assertion 'GDK_IS_MONITOR (monitor)' failed
** Message: 18:39:18.362: Application.vala:66: The monitor dimensions are: 0x0
(com.github.libredeb.lightpad:4229): Gdk-WARNING **: 18:39:18.477: Native Windows wider than 65535 pixels are not supported
(com.github.libredeb.lightpad:4229): Gdk-CRITICAL **: 18:39:18.492: ../../../gdk/wayland/gdkdisplay-wayland.c:1433: Unable to create Cairo image surface: invalid value (typically too big) for the size of the input (surface, pattern, etc.)
Segmentation fault (core dumped)

Main app in git still uses code known not to work under Wayland. i.e. https://github.com/libredeb/lightpad/blob/f31e0e06dabd8d2d7562706d5ff333723180685d/src/Application.vala#L91

samlane-ma commented 1 month ago

Browser profile launcher applet uses popover.resize and popover.set_default_size, which would need to be replaced to be functional, but will work otherwise