Bug 449645 - A Sticky Note is unexpectedly created when I drag a URL or image from a chromum-based browser running natively on Wayland and drop it on desktop
Summary: A Sticky Note is unexpectedly created when I drag a URL or image from a chrom...
Status: CLOSED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop Containment (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords: wayland
: 489650 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-02-05 10:23 UTC by Patrick Silva
Modified: 2024-07-03 19:44 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-02-05 10:23:25 UTC
STEPS TO REPRODUCE
1. run a crhomium-based browser natively on Wayland (I tested ungoogled chromum from flathub and Opera.
I'm unable to reproduce this bug - nothing happens after these steps - with Firefox.) and navigate to any website
2. Drag the URL from the URL bar to the desktop

OBSERVED RESULT
Plasma creates a Stick Note on deskop

EXPECTED RESULT
Plasma creates a .desktop file launcher for the URL

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Graphics Platform: Wayland

ADDITONAL INFORMATION
to run a chromium-based browser natively on Wayland, load chrome://flags/,
search for 'wayland', set 'Preferred Ozone platform' flag to 'Auto' and restart the browser.
Comment 1 Patrick Silva 2022-10-31 16:09:59 UTC
On neon unstable, a stick note is also created when I drag a .jpg file and drop it on desktop.

link for test: https://wallpapercave.com/wp/wp2567098.jpg

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Graphics Platform: Wayland
Comment 2 Nate Graham 2023-04-10 00:02:38 UTC
Proooooooooooobably a Chromium bug.
Comment 3 Clay Weber 2023-06-14 22:20:20 UTC
I see this in Firefox with URLs I get a Sticky Note. Chrome doesn't do anything.

Both Kde Neon and Fedora 38, Plasma 5.27.5
Comment 4 Kai Uwe Broulik 2023-11-11 09:11:03 UTC
Wonder if that is fixed by https://code.qt.io/cgit/qt/qtwayland.git/commit/?id=80a3359598553298b544feae0a7e7399d6cfd9a7
Comment 5 Kai Uwe Broulik 2023-11-11 09:35:11 UTC
Hm, nope, still happens even with that, it gets a moz-url from Chromium but then doesn't actually trigger the conversion code I added, interesting...
Comment 7 Nate Graham 2023-11-15 22:39:09 UTC
Nice, thanks!
Comment 8 Valter 2024-06-25 18:34:08 UTC
This bug reapperead with KDE neon 6.1 with Firefox and Wayland. Dragging an url to the desktop creates an empty sticky notes window.
 With Chrome and Chromium browsers nothing happens: no sticky notes widget, no shortcut created.
Comment 9 Nate Graham 2024-06-25 23:01:12 UTC
https://codereview.qt-project.org/c/qt/qtwayland/+/518018 isn't merged into Qt yet. That's the final piece.
Comment 10 Nate Graham 2024-07-03 19:44:21 UTC
*** Bug 489650 has been marked as a duplicate of this bug. ***