Skip to content

[Bug]: KDE/Wayland Desktop Entry creation failed #4482

@semenchenko312

Description

@semenchenko312

Describe the bug

Unable to create desktop icon

To Reproduce

Try creating desktop icon on provided env

Package

Flatpak from Flathub

Distribution

Cachy

Debugging Information

Official Package: true
Version: '63.2'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.19.12-1-cachyos
Disk:
    Total: 33666945024
    Free: 33666777088
RAM:
    MemTotal: 62.7GiB
    MemAvailable: 57.1GiB
Bottles_envs: null

Troubleshooting Logs

/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=bottles --file-forwarding com.usebottles.bottles 
04:35:52 (INFO) Launching with URI: None 
04:35:52 (INFO) [Activate] request received. 
04:35:52 (INFO) Bottles Started! 
04:35:52 (INFO) Performing Bottles checks… 
04:35:52 (INFO) Dxvks found:
         - dxvk-2.7.1-14-5af3710
         - dxvk-2.7.1
 
04:35:52 (INFO) Vkd3ds found:
         - vkd3d-proton-3.0
 
04:35:52 (INFO) Nvapis found:
         - dxvk-nvapi-v0.9.1
 
04:35:52 (INFO) Latencyflexs found:
         - latencyflex-v0.1.1
 
04:35:52 (INFO) Runners found:
         - soda-9.0-1
         - ge-proton10-34
         - sys-wine-11.0
 
04:35:52 (INFO) Bottles found:
         - Guitar Pro
 
04:35:52 (INFO) Catalog installers loaded 
04:35:52 (INFO) Catalog dependencies loaded 
04:35:52 (INFO) [Eagle] Reloading YARA rules... 
04:35:52 (INFO) [Eagle] YARA rules loaded 
04:35:52 (INFO) Catalog components loaded 
04:35:57 (INFO) Using Wine path converter -- --unix 
04:35:57 (INFO) Executing command: /home/loh/.var/app/com.usebottles.bottles/data/bottles/runners/soda-9.0-1/bin/wine64 winepath --unix 'C:\Program Files\Arobas Music\Guitar Pro 8\GuitarPro.exe' 
wineserver: using server-side synchronization.
0080:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\winebth": c0000135
WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"

<BUG NOTE: Popup is closed here>

Traceback (most recent call last):
  File "/app/share/bottles/bottles/backend/utils/manager.py", line 243, in prepare_install_cb
    ret = portal.dynamic_launcher_prepare_install_finish(result)
gi.repository.GLib.GError: g-io-error-quark: Launcher install canceled (19)

Additional context

Creating desktop icons seemed tricky, but I did all permissions steps.
When clicking on "Add Desktop Entry" appears a strange window that I cannot for some reason screenshot that contain Title and Main Text "Add Application...", below there's my app's icon and name.

Popup stays until closed, when closed you get traceback for manager.py.

Inside journalctl I get these messages:

April 16 04:25:48 MyPC systemd[1399]: Starting flatpak session helper...
April 16 04:25:48 MyPC systemd[1399]: Started flatpak session helper.
April 16 04:25:48 MyPC systemd[1399]: Started app-flatpak-com.usebottles.bottles-1489275174.scope.
April 16 04:25:49 MyPC xdg-desktop-portal-kde[2758]: Namespace  "org.gnome.desktop.interface"  is not supported
April 16 04:25:49 MyPC xdg-desktop-portal-kde[2758]: Namespace  "org.gnome.desktop.interface"  is not supported
April 16 04:25:49 MyPC systemd[1399]: Starting flatpak portal...
April 16 04:25:49 MyPC systemd[1399]: Started flatpak portal.
April 16 04:25:55 MyPC xdg-desktop-portal[4208]: (xdg-desktop-portal-validate-icon:2): GLib-WARNING **: 01:25:55.352: getpwuid_r(): failed due to unknown user id (1000)
April 16 04:25:55 MyPC xdg-desktop-portal[4208]: (xdg-desktop-portal-validate-icon:2): GLib-WARNING **: 01:25:55.352: Could not find home directory: $HOME is not set, and user database could not be read.
April 16 04:25:55 MyPC xdg-desktop-portal-kde[2758]: qrc:/qt/qml/org/kde/xdgdesktopportal/DynamicLauncherDialog.qml: Setting initial properties failed: DynamicLauncherDialog does not have a property called launcherIcon
April 16 04:25:55 MyPC xdg-desktop-portal-kde[2758]: qrc:/qt/qml/org/kde/xdgdesktopportal/DynamicLauncherDialog.qml: Setting initial properties failed: DynamicLauncherDialog does not have a property called launcherName
April 16 04:26:05 MyPC xdg-desktop-portal-kde[2758]: rejecting

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions