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.


Packaging Python Applications with PyInstaller by Martin Fitzpatrick — This step-by-step guide walks you through packaging your own Python applications from simple examples to complete installers and signed executables.

More info Get the book

Well done, you've finished this tutorial! Mark As Complete
[[ user.completed.length ]] completed [[ user.streak+1 ]] day streak

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.