[
https://issues.jboss.org/browse/JBIDE-16636?page=com.atlassian.jira.plugi...
]
Daniel Azarov edited comment on JBIDE-16636 at 2/27/14 5:11 PM:
----------------------------------------------------------------
[~maxandersen], I faced some troubles when I tried to read Alt key:
UBUNTU:
There are two ways which I tried:
1. method dragOperationChanged in DropTargetListener - it works fine with *Ctrl* and
*Shift* keys. It does not work with *Alt* key at all.
2. KeyListener - it works fine with any kind of key combinations, but it does not work
during drag&drop at all.
One more thing - on Ubuntu if you press *Alt* and start dragging element from palette -
Ubuntu will move current window. It looks like there is nothing we can do about it.
WINDOWS:
1. method dragOperationChanged in DropTargetListener - it works fine with *Ctrl* and *Alt*
keys. It does not work with *Shift* (called but does not change operation)
My suggestion is to use Ctrl.
I will check MacOs also
WDYT?
was (Author: dazarov):
[~maxandersen], I faced some troubles when I tried to read Alt key:
There are two ways which I tried:
UBUNTU:
1. method dragOperationChanged in DropTargetListener - it works fine with Ctrl and Shift
keys. It does not work with Alt key at all.
2. KeyListener - it works fine with any kind of key combinations, but it does not work
during drag&drop at all.
One more thing - on Ubuntu if you press Alt and start dragging element from palette -
Ubuntu will move current window. It looks like there is nothing we can do about it.
WINDOWS:
1. method dragOperationChanged in DropTargetListener - it works fine with Ctrl and Alt
keys. It does not work with Shift key at all.
My suggestion is to use Ctrl.
I will investigate how Mac works with keys.
WDYT?
allow drop without dialog from palette
--------------------------------------
Key: JBIDE-16636
URL:
https://issues.jboss.org/browse/JBIDE-16636
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml/html source editing
Reporter: Max Rydahl Andersen
Assignee: Daniel Azarov
Fix For: 4.2.0.Beta1
sometimes when demoing or just trying a few things quickly or dragging trivial elements
it would be nice being able to not have the wizard dialog show up.
could we make it so when holding in Alt it will not show the dialog but just do whatever
clicking the finish button would directly do ?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira