Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting third-party applets for Wayland #476

Open
1 of 13 tasks
fossfreedom opened this issue Jul 22, 2024 · 2 comments
Open
1 of 13 tasks

Converting third-party applets for Wayland #476

fossfreedom opened this issue Jul 22, 2024 · 2 comments

Comments

@fossfreedom
Copy link
Member

fossfreedom commented Jul 22, 2024

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.

  • budgie-analogue-clock-applet - packaged for wayland PPA
  • budgie-browser-profile-launcher - uses popover.resize and popover.set_default_size that need replacing (worked fine when switched to using set_size_request)
  • budgie-calendar-applet - Tested working
  • budgie-carbon-tray-applet  - This is unlikely since xembed to X specific. so lets just stub this package
  • budgie-clipboard-applet  - Tested working
  • budgie-cpufreq-applet - Tested working - we'll need to patch ourselves since their is no longer a working upstream
  • budgie-cputemp-applet - Tested working
  • budgie-lightpad-applet - this covers both the applet and the main lightpad app. - Main app v0.8 does not work, applet itself does work
  • budgie-media-player-applet - Tested working
  • budgie-performance-gauge-applet - Tested working
  • budgie-pixel-saver-applet - doubtful since I think this I think has X specific bits, but lets test anyway. - Tested but does not work (uses wnck)
  • budgie-sys-monitor-applet - Tested working - we'll need to patch ourselves since their is no longer a working upstream
  • budgie-user-indicator-redux-applet - Tested working
@samlane-ma
Copy link
Contributor

samlane-ma commented Jul 23, 2024

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
Copy link
Contributor

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

@fossfreedom fossfreedom pinned this issue Jan 19, 2025
@fossfreedom fossfreedom unpinned this issue Jan 19, 2025
@fossfreedom fossfreedom pinned this issue Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants