https://bz.apache.org/bugzilla/show_bug.cgi?id=64064
Bug ID: 64064
Summary: On MacOS Mojave in Metal and Cross-platform LAF text
Command-C/V (copy-paste) does not work on right pane
in e.g. name of element
Product: JMeter
Version: unspecified
Hardware: PC
OS: Mac OS X 10.1
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: JMETER_6.0.0
On Macbook with MacOS Mojave in Dracula LAF I can select text in text field
e.g. in name of element or comment field, press Command-C and it goes to
buffer, then Command-V to paste.
On MacOS Mojave in Metal and Cross-platform LAF text copy-paste by Command-C/V
does not work on right pane in e.g. name of element, works for elements in the
tree though. (looks like swing thing).
I've found IMHO related post
https://stackoverflow.com/questions/7252749/how-to-use-command-c-command-v-shortcut-in-mac-to-copy-paste-text
and found out that I can use Ctrl-C/V. However, can JMeter swing LAFs be made
to support Command key? In the post the answer is
InputMap im = (InputMap) UIManager.get("TextField.focusInputMap");
im.put(KeyStroke.getKeyStroke(KeyEvent.VK_C, KeyEvent.META_DOWN_MASK),
DefaultEditorKit.copyAction);
im.put(KeyStroke.getKeyStroke(KeyEvent.VK_V, KeyEvent.META_DOWN_MASK),
DefaultEditorKit.pasteAction);
im.put(KeyStroke.getKeyStroke(KeyEvent.VK_X, KeyEvent.META_DOWN_MASK),
DefaultEditorKit.cutAction);
How can it be applied to JMeter?
--
You are receiving this mail because:
You are the assignee for the bug.