Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.14.1
-
None
-
Arch Linux, Xfce
Description
I have enclosed a sample program. Just start it and drop text into the GUI. No matter what you insert QDropEvent->mimeData()->text() always returns an empty string, see debug output.
Two examples:
Drag & drop the current url from omnibox of the browser
hasText(): true formats(): ("text/plain", "_NETSCAPE_URL", "text/uri-list") text(): "" html(): "" urls(): (QUrl("https://bugreports.qt.io/secure/Dashboard.jspa"))
Drag & drop from text editor
hasText(): true formats(): ("text/plain") text(): "" html(): "" urls(): ()