Bug 62336 - Keyboard shortcut Ctrl + 6 is not working
Summary: Keyboard shortcut Ctrl + 6 is not working
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 4.0
Hardware: PC All
: P2 minor (vote)
Target Milestone: JMETER_5.1
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2018-04-28 04:34 UTC by Janesh Kodikara
Modified: 2018-10-28 12:53 UTC (History)
0 users



Attachments
System information (31.48 KB, image/png)
2018-06-04 03:58 UTC, Janesh Kodikara
Details

Note You need to log in before you can comment on or make changes to this bug.
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