Project

General

Profile

Bug #2690

ChUI quirk when sub-menu doesn't have any children

Added by Constantin Asofiei over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:

Related issues

Related to User Interface - Feature #1790: implement menu support Closed
Related to User Interface - Bug #3553: ChUI menus don't work New

History

#1 Updated by Constantin Asofiei over 5 years ago

From #1790 note 573:

I've faced with the following bug in CHUI: when some sub-menu has no items at all, but it is included in a MENUBAR (or in some sub-menu) window is displayed incorrectly: first menu-bar element does not gain a focus, there are no message or status area displayed. Here is sample procedure:

def sub-menu m9.
def sub-menu m10
  menu-item mm label "mmm".

def sub-menu sm
  sub-menu m9 label "&Mitsubi&shi".
  sub-menu m10 label "Hon&da&".
  menu-item ext label "E&xi&t".

define menu m menubar.
  sub-menu sm label "sm".

assign current-window:menubar = menu m:handle.

wait-for choose of menu-item ext.

#2 Updated by Greg Shah almost 3 years ago

  • Related to Bug #3553: ChUI menus don't work added

Also available in: Atom PDF