You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2020/01/09 12:29:28 UTC

[Bug 64064] New: 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

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: issues@jmeter.apache.org
          Reporter: a.martianov@bi.zone
  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.

[Bug 64064] 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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64064

--- Comment #1 from Alexei <a....@bi.zone> ---
Actually only during bug creation I've found out copy-paste works by ctrl-c/v,
so maybe it should be request for enhancement then. Sorry for such thing.

I will appreciate if you point out where in source font name for MacOS LAF can
be changed, I could not find myself (at least not yet). Tnanx!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64064] 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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64064

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64064] 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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64064

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
             Status|NEW                         |RESOLVED

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello ,
Patch or PR are welcome.
But unfortunately time is limited and since system laf and Darcula work on
this, it is not worth to invest our time.
Thanks for report anyway.

Regards

-- 
You are receiving this mail because:
You are the assignee for the bug.