Skip to content

Fix labels widget update on hide dropdown on Ubuntu

Florie Guibert requested to merge fix-labels-widget-ubuntu into master

What does this MR do and why?

Fixes labels widget on Ubuntu. Previously, clicking outside the dropdown didn't update labels.

Root cause: Due to the structure of labels widget, conditionally displaying the dropdown contents when SidebarEditableItem is in edit mode, the dropdown was dismounted by its parent before emitting setLabels event.

This fix ensures the events get emitted in the proper order.

Screenshots or screen recordings

Before After
bug_labels_Ubuntu fix_labels_ubuntu

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Florie Guibert

Merge request reports