Bug 455917 - 'Open with...' dialog triggered via internet browser has Wayland generic icon
Summary: 'Open with...' dialog triggered via internet browser has Wayland generic icon
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: git master
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2022-06-25 13:44 UTC by Patrick Silva
Modified: 2023-11-16 19:25 UTC (History)
3 users (show)

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


Attachments
jxl file (117 bytes, image/jxl)
2022-06-25 13:44 UTC, Patrick Silva
Details
screenshot (330.83 KB, image/png)
2022-06-25 13:44 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-06-25 13:44:03 UTC
Created attachment 150143 [details]
jxl file

STEPS TO REPRODUCE
1. use Wayland session
2. download the attached jxl file with a non-sandboxed browser - I have tested Opera and Vivaldi on my system
3. try to open the downloaded file via download manager of your browser

OBSERVED RESULT
'Open with...' dialog with generic Wayland icon opens. Please see the attached screenshot.

EXPECTED RESULT
'Open with...' dialog opens with its own icon

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Graphics Platform: Wayland
Comment 1 Patrick Silva 2022-06-25 13:44:49 UTC
Created attachment 150144 [details]
screenshot
Comment 2 Nicolas Fella 2022-06-27 23:54:53 UTC
chromium calls xdg-open here, which then calls kde-open. That way kde-open has no idea what app called it originally, so it cannot report its desktop file name and thus get the same icon as the calling app.

I guess the best we can do is come up with some generic icon
Comment 3 Patrick Silva 2023-11-16 19:25:51 UTC
Now there is a new "choose app" dialog and I can't reproduce this bug with it.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland