Project

General

Profile

Feature #12034

honor the MENU-KEY attribute on the client

Added by Greg Shah about 1 month ago. Updated about 1 month ago.

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

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:

History

#1 Updated by Greg Shah about 1 month ago

Honor the MENU-KEY attribute on the client

Project: User Interface

Problem

MENU-KEY names the key which opens a widget's popup menu, for example:

CURRENT-WINDOW:POPUP-MENU = hMenu.
CURRENT-WINDOW:MENU-KEY   = "F12".

GenericWidget.setMenuKey stores the value in WidgetConfig.menuKey and it is serialized to the client, but no client code, Java or JavaScript, reads it. Pressing the key does nothing. The gap marking records it as Full / Stubs.

Work

  1. Establish on OpenEdge how MENU-KEY behaves: which widgets support it, whether the key opens the popup menu of the widget with focus or of the widget the attribute was set on (in particular for a window), what happens when the widget has no popup menu, and whether the key's own triggers still fire.
  2. Implement it in the client for the GUI drivers (web and Swing), opening the popup menu at the position OpenEdge uses.
  3. Check the interaction with MENU-MOUSE and with a trigger on the same key.
  4. Update the gap marking.

Testcases

With an OpenEdge baseline: MENU-KEY set on a window, a frame and a fill-in, with and without a popup menu, and with a trigger on the same key.

Also available in: Atom PDF