Bug 337711 - Dragging a Firefox tab to the desktop (so it creates a new firefox window for it) doesn't work.
Summary: Dragging a Firefox tab to the desktop (so it creates a new firefox window for...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop Containment (show other bugs)
Version: 5.0.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Sebastian Kügler
URL:
Keywords: usability
: 357793 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-22 21:56 UTC by João Bóia
Modified: 2018-01-09 14:28 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.12.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description João Bóia 2014-07-22 21:56:54 UTC
Dragging a Firefox to the desktop (so it creates a new Firefox window for it) doesn't work. Tested in both Folder and Desktop layout, it thinks you want to add something like a folder or a file instead:

http://i.imgur.com/PcE31Yt.png

Weird thing is that if you drag and drop the tab extremely fast it actually works an intended, but if you take a few milliseconds longer it does as stated above.
Comment 1 Bhushan Shah 2014-07-25 06:48:43 UTC
I can confirm this
Comment 2 David Edmundson 2014-12-13 22:33:36 UTC
Mime data from a Firefox tab:
application/x-moz-tabbrowser-tab
text/x-moz-text-internal

the next question is why we blindly think we accept a mimetype like that.
Comment 3 Szokovacs Robert 2015-05-14 09:06:22 UTC
It's a regression from plasma-4, confirming it's still there with 5.2.2
Comment 4 Joel Aufrecht 2015-05-26 20:37:34 UTC
Workaround (and maybe an explanation for the "weird thing" in the initial report): dragging a tab onto the body of the Firefox window causes a new window to be created with the tab in the new window.  That is, dragging to the desktop fails, but dragging to Firefox itself has the same effect as desired by dragging to the desktop.
Comment 5 David Edmundson 2016-01-10 18:58:38 UTC
*** Bug 357793 has been marked as a duplicate of this bug. ***
Comment 6 Tony 2016-07-29 02:18:33 UTC
Still present on KDE Neon 5.7.2, Frameworks 5.24.0.

I asked a question about this bug in the forum a couple of days ego.

https://forum.kde.org/viewtopic.php?f=309&t=135028

"Locking Widgets" is a workaround of sorts to this one.
Comment 7 Alexander Mentyu 2017-12-08 15:33:24 UTC
Can confirm - the issue is reproducible in:

Distribution: KDE neon Developer Edition - Stable Branches
Plasma: 5.11.4
Frameworks: 5.41.0
Qt: 5.9.3
Kernel 4.10.0-40-generic
Type: 64-bit
Comment 8 Kai Uwe Broulik 2018-01-09 14:28:01 UTC
Git commit ab007182ad3e5c890aa4e6cfaacfddc575c46e95 by Kai Uwe Broulik.
Committed on 09/01/2018 at 14:26.
Pushed by broulik into branch 'master'.

[Desktop Containment] Explicitly reject Firefox tab drops

This is a real-world fix for a long-standing issue.
Mime-type determination and everything is asynchronous, so we cannot know in advance
whether to accept or reject the drop.
FIXED-IN: 5.12.0

Differential Revision: https://phabricator.kde.org/D9640

M  +6    -0    containments/desktop/package/contents/ui/main.qml

https://commits.kde.org/plasma-desktop/ab007182ad3e5c890aa4e6cfaacfddc575c46e95