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

            Bug ID: 484731
           Summary: Stuck when launching for a while, file picker randomly
                    stops working.
    Classification: Plasma
           Product: xdg-desktop-portal-kde
           Version: unspecified
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: vaxerskioffic...@gmail.com
                CC: aleix...@kde.org, jgrul...@redhat.com, n...@kde.org
  Target Milestone: ---

Created attachment 167927
  --> https://bugs.kde.org/attachment.cgi?id=167927&action=edit
Logs from xdpk

SUMMARY

I am running Hyprland, and want to have the nice KDE file picker via xdp.

I've configured xdp like so in my hyprland-portals.conf:
```
[preferred]
default=hyprland
org.freedesktop.impl.portal.FileChooser=kde
```

Two issues, possibly connected:
 - When launching xdp, the KDE portal gets stuck for about 20s. This is highly
annoying.
 - Even when launched, sometimes, the file picker just... won't open, ever.
Seems like xdpk just... died.

STEPS TO REPRODUCE

I have a script for forcing the restart like so:
```sh
#!/bin/bash
killall xdg-desktop-portal-hyprland
killall xdg-desktop-portal-kde
killall xdg-desktop-portal
QT_LOGGING_RULES=*=true strace /usr/lib/xdg-desktop-portal-kde 2>&1 &
sleep 1
/usr/lib/xdg-desktop-portal &
```

Launching this script (or, well, getting sysd to do it on start) will produce
the above issues.

OBSERVED RESULT

I've attached the logs from stracing and setting QT_LOGGING_RULES=*=true from
both occurrences (stuck at start and stopping working)

Worth noting that even after those logs it sometimes gets restarted
automatically and works, sometimes doesn't...?

EXPECTED RESULT

Well, none of the two above.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch, Hyprland, XDPK 6.0.3
(available in About System)
KDE Plasma Version: N/A
KDE Frameworks Version: frameworkintegration 6.0.0-1
Qt Version: 6.6.2 it seems

If there's anything else you'd like me to attach, I'd be glad to help.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to