Ticket #7562 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Custom Setup in Fit function trying to display a menu with no items

Reported by: Keith Brown Owned by: Federico M Pouzols
Priority: trivial Milestone: Release 3.4
Component: GUI Keywords:
Cc: Blocked By:
Blocking: Tester: Dan Nixon

Description

Setup -> Custom Setup in Fit function should be greyed out or show a better "empty list" if there are no items to display in the next level menu.

At present nothing seems to appear apart from a few pixels in the top right of the menu highlight that look to be the border of the lower-level menu that would be there if there were items to display.

Change History

comment:1 Changed 7 years ago by Keith Brown

Also happens with Setup->Manage Setup->Remove Setup

comment:2 Changed 7 years ago by Keith Brown

  • Component changed from Framework to User Interface

comment:3 Changed 7 years ago by Nick Draper

  • Status changed from new to assigned

bulk move to assigned at the into of the triage step

comment:4 Changed 6 years ago by Federico M Pouzols

  • Owner set to Federico M Pouzols

comment:5 Changed 6 years ago by Federico Montesino Pouzols

  • Status changed from assigned to inprogress

disable menu actions when empty, in custom/remove setup, re #7562

Changeset: 1905dfa8cb64c872560bc3097c3fa681fa458cae

comment:6 Changed 6 years ago by Federico Montesino Pouzols

use size on QStringLists for consistency, re #7562

Changeset: c27638fe61245e269b73f3018b607fcb98fd9a58

comment:7 Changed 6 years ago by Federico M Pouzols

  • Status changed from inprogress to verify
  • Resolution set to fixed
  • Milestone changed from Backlog to Release 3.4

The relevant menu actions are now disabled (greyed out) when they're empty.

To test: check that now you get a disabled entry instead of a counterintuitive menu that doesn't show anything, or else play with the custom menus and check that they behave intuitively.

comment:8 Changed 6 years ago by Dan Nixon

  • Status changed from verify to verifying
  • Tester set to Dan Nixon

comment:9 Changed 6 years ago by Dan Nixon

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/feature/7562_display_empty_list_in_custom_setup_in_fit_function'

Full changeset: ee75f912bf9d64b6c13904ab5b6bdef8b855db59

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8407

Note: See TracTickets for help on using tickets.