[Bug] Context menu (vertical ellipsis) does not work for items requiring scrolling #90

Open
opened 2026-01-28 13:57:33 +00:00 by kodebarista · 1 comment
kodebarista commented 2026-01-28 13:57:33 +00:00 (Migrated from github.com)

Issue/Description:
In Tasks, items that require scrolling to access do not display the context menu when clicking the vertical ellipsis (⋮). The context menu only appears once the item is no longer inside a scrollable view.

This is observable when searching for the same item: if the search results do not produce a scrollbar, the context menu works as expected for the same item.

Version:
0.2.0

Steps to Reproduce:

  • Open COSMIC Tasks
  • Create enough items in a list to require scrolling
  • Scroll to an item that exceeds the view & require scrolling
  • Click on its vertical ellipsis (⋮)
  • Observe that the context menu does not appear for that item & items below
  • Search for the same item so that results fit without a scrollbar
  • Click the vertical ellipsis (⋮) again

Expected Behavior:
The context menu should open reliably for all items, regardless of whether they are inside a scrollable view.

Other Notes:

  • Upto item 3 the context-menu is produced as expected
  • 4 can produce context-menu if I search for it which eliminated the need to scroll
Image
**Issue/Description:** In Tasks, items that require scrolling to access do not display the context menu when clicking the vertical ellipsis (⋮). The context menu only appears once the item is no longer inside a scrollable view. This is observable when searching for the same item: if the search results do not produce a scrollbar, the context menu works as expected for the same item. **Version:** `0.2.0` **Steps to Reproduce:** - Open COSMIC Tasks - Create enough items in a list to require scrolling - Scroll to an item that exceeds the view & require scrolling - Click on its vertical ellipsis (⋮) - Observe that the context menu does not appear for that item & items below - Search for the same item so that results fit without a scrollbar - Click the vertical ellipsis (⋮) again **Expected Behavior:** The context menu should open reliably for all items, regardless of whether they are inside a scrollable view. **Other Notes:** - Upto item 3 the context-menu is produced as expected - 4 can produce context-menu if I search for it which eliminated the need to scroll <img width="948" height="472" alt="Image" src="https://github.com/user-attachments/assets/3fe8795c-9af1-48ab-a6f0-66ee7bdf30e4" />
edfloreshz commented 2026-05-04 20:53:51 +00:00 (Migrated from github.com)

This appears to be a libcosmic bug, if I click the menu multiple times in a scrolled item this happens:

thread 'main' (124507) panicked at /home/eduardo/.cargo/git/checkouts/libcosmic-41009aea1d72760b/9c2a86a/src/widget/menu/menu_inner.rs:661:58:
range end index 0 out of range for slice of length 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
This appears to be a `libcosmic` bug, if I click the menu multiple times in a scrolled item this happens: ``` thread 'main' (124507) panicked at /home/eduardo/.cargo/git/checkouts/libcosmic-41009aea1d72760b/9c2a86a/src/widget/menu/menu_inner.rs:661:58: range end index 0 out of range for slice of length 0 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
edfloreshz/tasks#90
No description provided.