To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113333
                 Issue #|113333
                 Summary|D&D in a listbox doesn't work
               Component|gsl
                 Version|DEV300m83
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|pl
             Reported by|oj





------- Additional comments from o...@openoffice.org Wed Jul 21 12:13:19 +0000 
2010 -------
Pseudo code:

- add a listener to the listbox window

XWindowPeer peer = UnoRuntime.queryInterface(XControl.class, 
xListBox).getPeer();
            XDataTransferProviderAccess acc =
UnoRuntime.queryInterface(XDataTransferProviderAccess.class, peer.getToolkit());
            XDragGestureRecognizer recognizer =
acc.getDragGestureRecognizer(UnoRuntime.queryInterface(XWindow.class, peer));
            recognizer.addDragGestureListener(actionListener);
            XDropTarget target = UnoRuntime.queryInterface(XDropTarget.class,
recognizer);
            target.addDropTargetListener(new DropListener(xListBox));
            target.setActive(true);

=> The drop symbol is only visible at the border of the control.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to