Dragging and dropping in rich text example app

Heads up! You've already completed this tutorial.

Robert_Stoffers | 2020-05-11 08:57:06 UTC | #1

This works dragging and dropping from Chrome, however it doesn't work on Firefox for me. Instead, u.toLocalFile() returns a blank string with Firefox.

https://www.pythonguis.com/examples/megasolid-idiom-rich-text-editor/


Robert_Stoffers | 2020-05-11 09:02:44 UTC | #2

Its actually stranger then this. In both browsers, if I drag and drop the image of the application above from this webpage it fails with a blank image. However, if I say go to Google and say do an image search drag and drop works with both browsers.


The complete guide to packaging Python GUI applications with PyInstaller.
[[ discount.discount_pc ]]% OFF for the next [[ discount.duration ]] [[discount.description ]] with the code [[ discount.coupon_code ]]

Purchasing Power Parity

Developers in [[ country ]] get [[ discount.discount_pc ]]% OFF on all books & courses with code [[ discount.coupon_code ]]
Well done, you've finished this tutorial! Mark As Complete
[[ user.completed.length ]] completed [[ user.streak+1 ]] day streak
Martin Fitzpatrick

Dragging and dropping in rich text example app was written by Martin Fitzpatrick .

Martin Fitzpatrick has been developing Python/Qt apps for 8 years. Building desktop applications to make data-analysis tools more user-friendly, Python was the obvious choice. Starting with Tk, later moving to wxWidgets and finally adopting PyQt. Martin founded PythonGUIs to provide easy to follow GUI programming tutorials to the Python community. He has written a number of popular Python books on the subject.