- 
    Type:
Enhancement
 - 
    Resolution: Unresolved
 - 
    Priority:
  P4                     
     - 
    Affects Version/s: None
 - 
    Component/s: javafx
 - 
    None
 
                    Currently Glass DnD are:
#define com_sun_glass_ui_Clipboard_ACTION_NONE 0L
#define com_sun_glass_ui_Clipboard_ACTION_COPY 1L
#define com_sun_glass_ui_Clipboard_ACTION_MOVE 2L
#define com_sun_glass_ui_Clipboard_ACTION_REFERENCE 1073741824L
#define com_sun_glass_ui_Clipboard_ACTION_COPY_OR_MOVE 3L
#define com_sun_glass_ui_Clipboard_ACTION_ANY 1342177279L
and to me seem to imply that they should be used as single values, however, the impl seems to allow for masks - any combinations of them.
This combination is weird:
com_sun_glass_ui_Clipboard_ACTION_COPY | com_sun_glass_ui_Clipboard_ACTION_MOVE | com_sun_glass_ui_Clipboard_ACTION_COPY_OR_MOVE
And is:
com_sun_glass_ui_Clipboard_ACTION_COPY | com_sun_glass_ui_Clipboard_ACTION_MOVE | com_sun_glass_ui_Clipboard_ACTION_REFERENCE
any different than com_sun_glass_ui_Clipboard_ACTION_ANY ?
Supporting single values seems all we require (and if not we can add another flag) and would mean simper code.
#define com_sun_glass_ui_Clipboard_ACTION_NONE 0L
#define com_sun_glass_ui_Clipboard_ACTION_COPY 1L
#define com_sun_glass_ui_Clipboard_ACTION_MOVE 2L
#define com_sun_glass_ui_Clipboard_ACTION_REFERENCE 1073741824L
#define com_sun_glass_ui_Clipboard_ACTION_COPY_OR_MOVE 3L
#define com_sun_glass_ui_Clipboard_ACTION_ANY 1342177279L
and to me seem to imply that they should be used as single values, however, the impl seems to allow for masks - any combinations of them.
This combination is weird:
com_sun_glass_ui_Clipboard_ACTION_COPY | com_sun_glass_ui_Clipboard_ACTION_MOVE | com_sun_glass_ui_Clipboard_ACTION_COPY_OR_MOVE
And is:
com_sun_glass_ui_Clipboard_ACTION_COPY | com_sun_glass_ui_Clipboard_ACTION_MOVE | com_sun_glass_ui_Clipboard_ACTION_REFERENCE
any different than com_sun_glass_ui_Clipboard_ACTION_ANY ?
Supporting single values seems all we require (and if not we can add another flag) and would mean simper code.
- relates to
 - 
                    
JDK-8116940 toys/DragDropText itself seems not to work on Mac
-         
     - Resolved
 
 -