elementary / dock

A quick app launcher and window switcher for Pantheon and elementary OS
https://elementary.io
GNU General Public License v3.0
90 stars 24 forks source link

The dynamic quicklist feature isn't working #53

Closed dr-Styki closed 2 years ago

dr-Styki commented 4 years ago

Prerequisites

Describe the bug

It seems that dynamic quicklists are not longuer working, neither in Dock nor in applications-menu.

To Reproduce

Open an application that use a dynamic quicklist or use the little code below and right clic on the chosen app icon in the dock.

/* Compile with: valac --pkg unity launcherexample.vala */
namespace LauncherExample {

  public static void main ()
  {
    /* Pretend to be evolution for the sake of the example */
    var l = Unity.LauncherEntry.get_for_desktop_id ("evolution.desktop");

    /* Show a count of 124 on the icon */
    l.count = 124;
    l.count_visible = true;

    /* Set progress to 42% done */
    l.progress = 0.42;
    l.progress_visible = true;

    /* We also want a quicklist */
    var ql = new Dbusmenu.Menuitem ();
    var item1 = new Dbusmenu.Menuitem ();
    item1.property_set (Dbusmenu.MENUITEM_PROP_LABEL, "Item 1");
    var item2 = new Dbusmenu.Menuitem ();
    item2.property_set (Dbusmenu.MENUITEM_PROP_LABEL, "Item 2");
    ql.child_append (item1);
    ql.child_append (item2);
    l.quicklist = ql;

    new MainLoop().run();
  }

}

Expected behavior

I'm expect to see the quicklist when I right clic on the app icon in the dock.

Platform Information

Additional context

The feature worked with Loki.

ricotz commented 4 years ago

This is a regression of the meson port where this feature is disabled. https://github.com/elementary/dock/blob/0a389ee58939d8c91c340df4e5340fc4b23d0b80/meson.build#L127

danirabbit commented 2 years ago

Thanks for your report! We're doing a complete rewrite of the dock based on our recent UI study and this particular issue isn't able to be reproduced in the new version of the dock