MrS0m30n3 / youtube-dl-gui

A cross platform front-end GUI of the popular youtube-dl written in wxPython.
The Unlicense
9.3k stars 1.59k forks source link

unable to select a dropdown value. Want to select mp3. #250

Open ajitgoel opened 6 years ago

ajitgoel commented 6 years ago

I am unable to select a dropdown value. I am using Windows 10 OS if that helps. As soon as i try to select a dropdown value(other than the default), the focus moves away from the dropdown. 2017-12-14 18_46_57-youtube-dlg

MrS0m30n3 commented 6 years ago

Hi, can you upload a GIF or a video that shows exactly what is happening?

Also, did you install youtube-dl-gui using the setup file or did you build it from source?

ajitgoel commented 6 years ago

Here's the video: https://www.useloom.com/share/d0d8f3657643456ba26eb0e255bcdf45

I did not build from the source. I installed using the "windows installer'.

MrS0m30n3 commented 6 years ago

I have no idea why this is happening and i can't reproduce it on my side.

I use wx.PopupTransientWindow to implement the formats dropdown. From the wxPython docs on the wx.PopupTransientWindow:

disappears automatically when the user clicks mouse outside it or if it loses focus in any other way.

I guess something on your PC cause the window to lose focus...

Also, what is the window that appears exactly under the youtube-dlg's "Welcome" message? It seems to appear everytime you open the formats dropdown.

Update

popuptest.py.txt

If you know how to run python code using the command line (cmd.exe) you can try to run the attached python script. When the "Test" window appears you can click the "Test Popup" button, which will show the popup window (with orange color) with a button inside it. If the orange popup window goes away when you hover your mouse over it, this means that the problem is with your system + wxPython else if the orange popup window stays and you are able to press the button inside it, then the problem is on our side.

In order to run the script you need python 2.7.* & wxPython 3.

MrS0m30n3 commented 6 years ago

@ajitgoel Did you try the attached script?

ajitgoel commented 6 years ago

There was a attached script? It did not come through. Can u pls resend?

On Jan 13, 2018 08:19, "MrS0m30n3" notifications@github.com wrote:

@ajitgoel https://github.com/ajitgoel Did you try the attached script?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MrS0m30n3/youtube-dl-gui/issues/250#issuecomment-357438892, or mute the thread https://github.com/notifications/unsubscribe-auth/AGGSTN26B0kUZLGR5h0MU8-Ax497O1FOks5tKLtogaJpZM4RC8lR .

MrS0m30n3 commented 6 years ago

https://github.com/MrS0m30n3/youtube-dl-gui/files/1564942/popuptest.py.txt