Open Bug 1583029 Opened 6 years ago Updated 3 years ago

[sway] Drag and drop doesn't work from qt programs

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect, P5)

69 Branch
defect

Tracking

()

People

(Reporter: pmargeti34, Unassigned)

Details

Attachments

(2 files)

Attached video 2019-09-22_13-29-20.flv

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0

Steps to reproduce:

  1. Open https://imgur.com/upload?beta.
  2. Attempt to drag and drop a valid picture file from dolphin.

This isn't specific to imgur, it doesn't work with any other websites (e.g. google docs suite). Drag and drop works from thunar (which is a gtk3 application). It's also not specific to just dolphin, any KDE file dialogs are also unable to drag and drop into firefox window. It was working in Firefox 68 if I recall correctly.

Actual results:

Cursor changes to "not available" and file doesn't get uploaded.

Expected results:

File gets uploaded.

Hey Mel,

I tried reproducing this issue without any success tried on the release version 69.0.1, the beta 70.0b9 and Nightly 71.0a1 (2019-09-25).

Can you try to reproduce this issue while in Safe Mode. You can find helpful info here : https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode .
Also a fresh new profile could help. You can find more about creating a new profile here : https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems#w_6-create-a-new-firefox-profile .
If possible, you can test this issue on the nightly build as well. Download the build from : https://www.mozilla.org/en-US/firefox/nightly/all/ .

Flags: needinfo?(pmargeti34)

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Drag and Drop
Product: Firefox → Core

Hello Andrei, thank you for reply.
I have tried starting safe mode with same result.
I've also tried a fresh profile.
Nightly build didn't fix it either.
Issue persists unfortunately.
I've attempted all these steps before I filed this bug, but I understand that diligence is due on your end.
Attaching a short clip showing the issue with a fresh profile.

Flags: needinfo?(pmargeti34)
Attached video 2019-09-26_13-15-01.flv

Video shows the inability to drop a file onto imgur.com's upload box with a fresh profile (and implicitly no addons)

Status: UNCONFIRMED → NEW
Ever confirmed: true

New info:
Bug is still present in Firefox nightly (Version: 71.0a1+20191007+h3fa65bda1e50-1)

If I run the qt programs with 'QT_QPA_PLATFORM=wayland' drag and drop works again. So it's only x11 backend of qt programs that's broken in regards to drag and drop.

The priority flag is not set for this bug.
:enndeakin, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(enndeakin)
Flags: needinfo?(enndeakin)
Priority: -- → P5

Further observation:
On firefox nightly 71.0a1.20191018.214804-1 drag and drop works between qt and firefox if:

  1. both firefox nightly and qt programs use wayland
  2. both firefox nightly and qt programs use xorg
    Mixing wayland and xorg modes doesn't allow drag and drop.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: