Menu

#212 Problem with drag & drop grabbing X

incorrect behaviour
closed-fixed
3
2004-01-29
2004-01-25
No

In the file open dialog if I select a text in the text
box below and try to drag this text with middle click,
X grabs the mouse.

The only way to solve the problem without restarting X
was Ctrl+Alt+F1, kill xdvi and xlock which grabs the
mouse and releases the old grab.

The problem doesn't exist in other file open dialogs of
Motif applications such as NEdit oder ddd.

Discussion

  • Stefan Ulrich

    Stefan Ulrich - 2004-01-25

    Logged In: YES
    user_id=177175

    OK, I can reproduce that. It seems to be a problem with the
    XtAppProcessEvent() loop which xm_filesel.c uses to get the
    returned filename. Getting rid of that will require some
    rewrites of the file selection code.

     
  • Stefan Ulrich

    Stefan Ulrich - 2004-01-25
    • assigned_to: nobody --> stefanulrich
    • summary: Problem with drag & drop grabbing X --> Problem with drag & drop grabbing X
    • priority: 5 --> 3
     
  • Bernhard Walle

    Bernhard Walle - 2004-01-27

    Logged In: YES
    user_id=302109

    Is it not possible to disable drag&drop in the file selector
    at all?

     
  • Stefan Ulrich

    Stefan Ulrich - 2004-01-27
    • status: open --> pending-fixed
     
  • Stefan Ulrich

    Stefan Ulrich - 2004-01-27

    Logged In: YES
    user_id=177175

    > Is it not possible to disable drag&drop in the file selector
    > at all?

    Good idea - I didn't think of that! After doing a quick web
    search and checking the Motif FAQ, it seems that this can be
    only changed for the entire application in a `clean' way (at
    least for Motif 1.x, may be different for 2.x). But since
    xdvi doesn't use drag&drop anyway, I guess it won't do any
    harm. I've now implemented this in 22.79-CVS14 (CVS HEAD and
    xdvik_STABLE; please note the possible delay of up to 5
    hours for SF anonymous CVS).

    It should have the same effect as setting the following in
    your ~/.Xdefaults:

    XDvi*dragInitiatorProtocolStyle: XmDRAG_NONE
    XDvi*dragReceiverProtocolStyle: XmDRAG_NONE

     
  • Bernhard Walle

    Bernhard Walle - 2004-01-29
    • status: pending-fixed --> open-fixed
     
  • Bernhard Walle

    Bernhard Walle - 2004-01-29

    Logged In: YES
    user_id=302109

    Very good, this fixes the problem for me. :)

     
  • Stefan Ulrich

    Stefan Ulrich - 2004-01-29
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Auth0 Logo