RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1467303 - Closing open menus with mouse click disables keyboard shortcut
Summary: Closing open menus with mouse click disables keyboard shortcut
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: motif
Version: 7.3
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: 7.5
Assignee: Carlos Soriano
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1420851 1479818 1584144
TreeView+ depends on / blocked
 
Reported: 2017-07-03 10:57 UTC by jigar
Modified: 2021-09-09 12:24 UTC (History)
4 users (show)

Fixed In Version: motif-2.3.4-14.el7_5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1584144 (view as bug list)
Environment:
Last Closed: 2020-05-04 15:12:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Sample Program ( Reproducer ) (12.62 KB, application/x-gzip)
2017-07-03 10:57 UTC, jigar
no flags Details
Fix (1.68 KB, patch)
2017-11-07 23:35 UTC, Carlos Soriano
no flags Details | Diff
Patch for the spec (3.63 KB, application/mbox)
2017-11-08 00:04 UTC, Carlos Soriano
no flags Details

Description jigar 2017-07-03 10:57:38 UTC
Created attachment 1293815 [details]
Sample Program ( Reproducer )

Description of problem: Keyboard shortcuts for toolbar menus fail after the menu is closed with a mouse click. It is expected that keyboard shortcuts work after the toolbar menu is closed with a mouse click.

Version-Release number of selected component (if applicable): motif-2.3.4-8.1.el7_3.x86_64

How reproducible: Always

Steps to Reproduce:
1. Launch the sample program using ./menu_pull (attached to this bug)
2. Set focus on program
3. Click on the "Quit" menu to expand the toolbar menu.
4. Do not move the mouse, click on the "Quit" menu again to collapse the toolbar menu. ie, do NOT click on the "Quit" menu item in the expanded menu.
5. Press Alt + q to open the menu again.

It seems like collapsing the toolbar menu (step 4) breaks the keyboard shortcut. If you expand the menu again with the mouse click it is possible to close the menu again using Alt + Q.

So, to summarize, it does not work well when you mix the mouse with keyboard shortcuts.

Actual results:
The menu does not open.

Expected results:
The menu should open again.

Additional Info: 
1) You can read the README.txt file inside the sample program folder after unpacking the attached file.

2) This issue is reproducible upstream as well with latest version of motif and is also reproducible with openmotif in RHEL 6.

Comment 16 Carlos Soriano 2017-11-07 23:35:22 UTC
Created attachment 1349158 [details]
Fix

Comment 17 Carlos Soriano 2017-11-07 23:59:43 UTC
Upstream report http://bugs.motifzone.net/show_bug.cgi?id=1665

Comment 18 Carlos Soriano 2017-11-08 00:04:02 UTC
Created attachment 1349175 [details]
Patch for the spec

Comment 19 Carlos Soriano 2017-11-08 00:04:34 UTC
Scratch build: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=14492091

Comment 20 Carlos Soriano 2017-11-08 00:06:40 UTC
Only thing left is to convince pm. Please ping me when that's done so I can make the push + build.

Comment 21 Carlos Soriano 2017-11-08 00:08:08 UTC
Also, it would be helpful to have some upstream comment on the patch, but I'm mostly certain the fix is correct so I'm fine pushing as is.


Note You need to log in before you can comment on or make changes to this bug.