Menu

#489 keyboard shortcuts (e.g. Ctrl+C/ Ctrl+V) don't work

open-fixed
Lars
5
2010-03-09
2009-09-22
No

soapUI: 3.0.1
Eclipse: 3.5.0 Build id: I20090611-1540

Keyboard shortcuts (e.g. Ctrl+C/ Ctrl+V) doesn't work anymore.

Discussion

  • Dennis Kieselhorst

    • summary: keyboard shortcuts (e.g. Ctrl+C/ Ctrl+V) doesn't work --> keyboard shortcuts (e.g. Ctrl+C/ Ctrl+V) don't work
     
  • Nobody/Anonymous

    Same problem, i can't use copy/paste.
    (Windows 7, eclipse3.5.1 SoapUi 3.0.1)

     
  • Lars

    Lars - 2010-03-01

    The problem is that Eclipse grabs keyboard shortcuts and don't pass them on to our Swing component. This seems a little unpredictable; some times it works, and some times it doesn't. I have removed the previous Mac/Linux workaround, and right now Meta-C/Meta-V works on my Mac. I have yet to find a pattern for when it works, it may have to do with wether I open another editor first or not.

    I see 2 possible solutions to this:
    A) Add our own keyboard bindings in plugin.xml that remove the standard Eclipse ones so that our Swing component gets the keyboard events. It is tricky to make this work, I have not succeeded yet.
    B) Create our own actions with keyboard bindings that mediate between Eclipse and our soapUI (Swing) actions. I will try this next.

     
  • Lars

    Lars - 2010-03-09

    To get around this, you can now open Windows > Preferences > General > Keys, select Scheme: soapUI and press OK.

     
  • Lars

    Lars - 2010-03-09
    • status: open --> open-fixed
     
  • Anonymous

    Anonymous - 2010-03-17

    Where and when can I find SoapUI scheme? In the mean time, I appriciate if you let us know what to change in the default scheme to make it work?
    Thanks

     

    Last edit: Anonymous 2017-03-19
  • Lars

    Lars - 2010-03-17

    Sorry, this is available in the nightly build here: http://www.eviware.com/nightly-builds/eclipse/

    If you don't install this, I think you would need to remove the keyboard bindings for CTRL+C etc so that they are not caught by Eclipse but passed through to the soapUI component. But then CTRL+C wouldn't work in normal editors, so that's not recommended...

     

Log in to post a comment.