BuddiesOfBudgie / budgie-desktop

Budgie Desktop is a familiar, modern desktop environment.
https://buddiesofbudgie.org
GNU General Public License v2.0
912 stars 46 forks source link

[Bug] Icon Task List not showing in a panel #577

Open levkk opened 1 month ago

levkk commented 1 month ago

Description

I'm trying to add the Icon Task List applet to my bottom panel, but it's not working. When selecting the applet from the applet list in Budgie Desktop Settings and clicking "Add", nothing happens, and the applet isn't added to the list of enabled applets in the settings nor to the bottom panel.

Snapshot_2024-05-20_23-39-24

Budgie version

budgie-desktop 10.9.1 (git-6e91c815784bebef55e02edcf085207782e7870b)

Operating System

Arch

Steps to reproduce the issue

  1. Go to Budgie Desktop Settings
  2. Go to Bottom Panel (or any other panel)
  3. Go to Applets and click the Add applet "+" button.
  4. Select Icon Task List from the list of applets.
  5. Click Add.
  6. Nothing happens.

Actual result

Snapshot_2024-05-20_23-39-08

Expected result

The applet is enabled.

Additional information

No relevant logs in the journal. Attempting to launch budgie-desktop-settings app from the terminal produces no logs.

fossfreedom commented 1 month ago

Restart your panel and then try to add the icon task list applet - any messages in the terminal?

budgie-panel --replace &
levkk commented 1 month ago

Oh, there it is:

(budgie-panel:351761): libpeas-WARNING **: 09:29:12.171: Failed to load module 'icontasklistapplet.so': /usr/local/lib/budgie-desktop/plugins/org.budgie-desktop.applet.icon-tasklist/libicontasklistapplet.so: undefined symbol: budgie_application_get_icon

(budgie-panel:351761): libpeas-WARNING **: 09:29:12.171: Error loading plugin 'icontasklistapplet.so'

** (budgie-panel:351761): CRITICAL **: 09:29:12.171: plugin_manager.vala:69: Failed to find extension for: Icon Task List

I see, I think there is a method definition missing.

I think this is coming from here:

var icon_info = icon_theme.lookup_icon(button.app.icon.to_string(), size, Gtk.IconLookupFlags.USE_BUILTIN);

I compiled the commit just before #553 and confirmed that the icon task list broke in the refactor of that PR.

EbonJaeger commented 1 month ago

That's very strange... It's definitely there; is it not linking to libbudgieprivate for some reason? It works on my system, which is using Solus. Maybe try reconfiguring the project with Meson?