Qt Designer won't let me drag and drop widgets from Widget Box



  • Hello all,

    I am using Qt Designer 4.7.3 and has the following annoying bug.

    I open some form (dialog) but when i try to drag and drop widgets (any of them) from the widget box to my dialog it ignores me. I cannot start the drag.

    Anyone has some workaround for this problem? I can reproduce this pretty easy and my co-workers can also.


  • Moderators

    Which operation system you are using?



  • Windows 7

    Seems that after some time of idling i can drag and drop again but if i save the form the problem comes back to life


  • Moderators

    I am using win 7 64 bit. I have tried it out. It's working on my machine.

    • I have created dialog box with buttons.
    • Drag and drop works.
    • Created dialog without buttons.
    • Drag and drop works.
    • Saved both boxes.
    • Closed them.
    • Closed designer.
    • Opened designer.
    • Opened dialogs.
    • Drag and drop works as well.

    I checked, I was using version 4.7.3 of designer.
    Do you use dialog boxes created with a previous?
    May be there is the problem.



  • Sorry to resurrect an old thread, just found this searching for a solution to the same problem. Thought I could post the solution I found for others that also find this when searching for the answer. :)

    I was using Qt Designer for Qt Jambi built with Qt 4.6.4 on Windows 7 x64 when this problem occurred. After a while I realized that the problem was not only in Qt designer, but in Windows in general: Explorer, FileZilla and more.

    The solution was then found by searching for general "Windows 7 drag and drop problems":http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/drag-and-drop-not-working-in-windows-7/f6dcfa11-8c51-e011-8dfc-68b599b31bf5.

    In short: Select a file in Windows Explorer with click and hold left mouse button. While holding the button down, hit the Esc key. Then drag and drop starts working again.



  • Hooray..... i owe you one beer.

    I tried and the workaround workd



  • Hi all,

    Sorry to resurect this thread but now i made some app which implements drag & drop.

    I start the app and drag & drop doesnt work initially. However after i drag and drop in another app in windows , my application magically start to work also.

    I use qt 4.7.3.

    Any ideas?



  •  I hate to bring such an old thread back to life, but just in case others come across this, press [esc].  This seems to fix the issue.


  • This feels like a bug in Qt Designer. I has been happening to me, every time I close Designer when pressing Escape or when I cancel out of a selection or dialog with Escape. It feels really bad. And I can fix it using the tricks mentioned here, but has anyone reported it?

    I never noticed this in earlier versions of Qt. Is anyone against me reporting this bug?



  • This feels like a bug in Qt Designer. I has been happening to me, every time I close Designer when pressing Escape or when I cancel out of a selection or dialog with Escape. It feels really bad. And I can fix it using the tricks mentioned here, but has anyone reported it?

    I never noticed this in earlier versions of Qt. Is anyone against me reporting this bug?


  • Moderators

    Hi,

    [quote author="phyatt" date="1421714153"]This feels like a bug in Qt Designer. I has been happening to me, every time I close Designer when pressing Escape or when I cancel out of a selection or dialog with Escape. It feels really bad. And I can fix it using the tricks mentioned here, but has anyone reported it?

    I never noticed this in earlier versions of Qt. Is anyone against me reporting this bug?[/quote]If you are experiencing this on the latest version (Qt Creator 3.3.0, from the Qt 5.4.0 installer), please submit a bug report.


  • Moderators

    Hi,

    [quote author="phyatt" date="1421714153"]This feels like a bug in Qt Designer. I has been happening to me, every time I close Designer when pressing Escape or when I cancel out of a selection or dialog with Escape. It feels really bad. And I can fix it using the tricks mentioned here, but has anyone reported it?

    I never noticed this in earlier versions of Qt. Is anyone against me reporting this bug?[/quote]If you are experiencing this on the latest version (Qt Creator 3.3.0, from the Qt 5.4.0 installer), please submit a bug report.







  • Running Qt Designer 4.0.1 (MSVC2013, 32 bit) on Windows 7. I still have the same problem with the drag and drop.

    The trick which involves clicking ESC in Windows Explorer works for a short moment, until I select a different widget. It's really annoying.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.