[dolphin] [Bug 486184] New: Weird XDG MIME Behavior with KDE Dolphin on Sway/Hyprland

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sat Apr 27 04:28:33 BST 2024


https://bugs.kde.org/show_bug.cgi?id=486184

            Bug ID: 486184
           Summary: Weird XDG MIME Behavior with KDE Dolphin on
                    Sway/Hyprland
    Classification: Applications
           Product: dolphin
           Version: 24.02.2
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: hftsai256 at gmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

Created attachment 168937
  --> https://bugs.kde.org/attachment.cgi?id=168937&action=edit
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list