Bug 455917

Summary: 'Open with...' dialog triggered via internet browser has Wayland generic icon
Product: [Frameworks and Libraries] frameworks-kio Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: kdelibs-bugs-null, nate, nicolas.fella
Priority: NOR Keywords: wayland-only
Version First Reported In: git master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: jxl file
screenshot

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