Bug 62336

Summary: Keyboard shortcut Ctrl + 6 is not working
Product: JMeter - Now in Github Reporter: Janesh Kodikara <janesh>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: minor Keywords: FixedInTrunk
Priority: P2    
Version: 4.0   
Target Milestone: JMETER_5.1   
Hardware: PC   
OS: All   
Attachments: System information

Description Janesh Kodikara 2018-04-28 04:34:02 UTC
Keyboard shortcut Ctrl +6 is not working.
Default element or newly added components are not working.
All other shortcuts are working as expected.
Comment 1 Felix Schumacher 2018-06-03 13:24:44 UTC
Works for me on Ubuntu 18.04 with Java 8 Update 171

Can you describe your setup in more detail? OS, Test-Plan, Java, ...
Comment 2 Janesh Kodikara 2018-06-04 03:58:29 UTC
Created attachment 35954 [details]
System information

Please see the attached for JDK, OS and JMeter version information
Comment 3 Mike Pavlov 2018-08-26 04:46:06 UTC
Was reproduced for Java 8 on Windows 10.
actionEvent.getActionCommand() in MainFrame unexpected returning null only for CTRL-6. getActionCommand was replaced with alternative code. New version working stable.
Comment 4 Mike Pavlov 2018-08-26 15:03:24 UTC
Changes: https://github.com/varan123/jmeter/tree/Bug_62336
Comment 5 Felix Schumacher 2018-10-28 11:52:35 UTC
Will be included in the next version (probably 5.1).

Many thanks to Mike for the patch. I have tried use the old mechanism when we get an actionCommand to have as little change as possible while fixing the odd behaviour when needed.

Date: Sun Oct 28 11:49:43 2018
New Revision: 1845017

URL: http://svn.apache.org/viewvc?rev=1845017&view=rev
Log:
Some shortcuts are not working correctly on windows

Contributed by Michael Pavlov (michael.paulau at gmail.com)

Bugzilla Id: 62336
Closes #396 on github

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/MainFrame.java
    jmeter/trunk/xdocs/changes.xml
Comment 6 Felix Schumacher 2018-10-28 12:53:02 UTC
Date: Sun Oct 28 12:52:03 2018
New Revision: 1845021

URL: http://svn.apache.org/viewvc?rev=1845021&view=rev
Log:
Convert anonymous inner class to nested class

With the changes for the original bug report, the inner class
got too big, so refactor it out into a nested static class.

Some shortcuts are not working correctly on windows
Contributed by Michael Pavlov (michael.paulau at gmail.com)

Followup to r1845017
Bugzilla Id: 62336
Relates to #396 on github


Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/MainFrame.java
Comment 7 The ASF infrastructure team 2022-09-24 20:38:13 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4773