Bug 486184 - Weird XDG MIME Behavior with KDE Dolphin on Sway/Hyprland
Summary: Weird XDG MIME Behavior with KDE Dolphin on Sway/Hyprland
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.02.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 486209 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-04-27 03:28 UTC by hftsai256
Modified: 2024-04-27 17:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Empty list in application selection window (65.13 KB, image/png)
2024-04-27 03:28 UTC, hftsai256
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hftsai256 2024-04-27 03:28:33 UTC
Created attachment 168937 [details]
Empty list in application selection window

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY


STEPS TO REPRODUCE
1. Start Dolphin in Non-Plasma desktop environment (reproducible in Sway and Hyprland)
2. Open a file by clicking/double-clicking the icon

OBSERVED RESULT
An application selection window pops up with no candidate in the list. 

EXPECTED RESULT
Open the selected file with the default application specified by xdg-mime.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux, Kernel 6.6.28-1-lts
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
This bug does not present in KDE Plasma 6.0.4

sway 1:1.9-3
hyprland 0.39.1-5
Flatpak version yields the same result (v24.02.2)

~/.config/xdg-desktop-portal/hyprland-portals.conf:
[preferred]
default=hyprland;gtk
org.freedesktop.impl.portal.FileChooser=kde

logs from /usr/lib/xdg-desktop-portal -rv:
XDP: Found 'kde' in configuration for org.freedesktop.impl.portal.FileChooser
XDP: Using kde.portal for org.freedesktop.impl.portal.FileChooser (config)
XDP: providing portal org.freedesktop.portal.FileChooser
XDP: Found 'kde' in configuration for org.freedesktop.impl.portal.AppChooser
XDP: Using kde.portal for org.freedesktop.impl.portal.AppChooser (config)
XDP: providing portal org.freedesktop.portal.OpenURI
org.freedesktop.impl.portal.AppChooser=kde

Original post in Arch Forum: https://bbs.archlinux.org/viewtopic.php?id=295236
Comment 1 Antonio Rojas 2024-04-27 06:43:02 UTC
Please continue on the forum thread, this is not a Dolphin bug
Comment 2 Antonio Rojas 2024-04-27 17:14:15 UTC
*** Bug 486209 has been marked as a duplicate of this bug. ***