You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Report: "Add Desktop Entry" Works on GNOME but Not on KDE Plasma
Describe the bug
The "Add Desktop Entry" button works perfectly on GNOME but completely fails to create desktop shortcuts on KDE Plasma. This creates an inconsistent user experience across desktop environments.
Expected behavior
Clicking "Add Desktop Entry" should create a desktop shortcut on KDE Plasma, just like it does on GNOME
The functionality should be consistent across desktop environments
Actual behavior
GNOME: Desktop shortcut is created successfully ✅
KDE Plasma: No desktop shortcut is created, button appears to do nothing ❌
To Reproduce
Environment Setup:
OS: openSUSE Tumbleweed
Desktop Environment: KDE Plasma
Bottles Installation: Flatpak
Steps:
Install any Windows application in a Bottles container (e.g., MetaTrader 5)
Navigate to the bottle's Programs section
Click the three dots (⋮) next to the installed program
# System Information Output:
Desktop: KDE
Session: KDE
Session Type: x11
# Bottles Installation:
Bottles com.usebottles.bottles 51.24 stable system
# Desktop directory detection:
xdg-user-dir DESKTOP = /home/[username]/Área de trabalho
# Desktop directory contents (WORKING - has KDE default shortcuts):
total 16
drwxr-xr-x. 1 [user] [user] 70 jul 22 08:35 .
drwx------. 1 [user] [user] 514 jul 25 14:59 ..
-rw-r--r--. 1 [user] [user] 50 jul 22 08:35 .directory
-rw-r--r--. 1 [user] [user] 2401 jul 22 08:35 Home.desktop
-rw-r--r--. 1 [user] [user] 4510 jul 25 08:35 trash.desktop
# No bottles-related .desktop files found in ~/.local/share/applications/# No MetaTrader-related .desktop files found in desktop directory# CONCLUSION: Desktop directory exists and is functional, but Bottles is not using it
Proposed Solution
The issue likely stems from KDE Plasma having different requirements or paths for desktop shortcut creation compared to GNOME. Investigation needed into:
KDE-specific desktop entry creation APIs
Different path requirements for KDE vs GNOME
Potential permission or integration differences
This affects user experience consistency and should be addressed to maintain feature parity across desktop environments.
To Reproduce
Install any Windows application in a Bottles container (e.g., MetaTrader 5)
Navigate to the bottle's Programs section
Click the three dots (⋮) next to the installed program
Describe the bug
Bug Report: "Add Desktop Entry" Works on GNOME but Not on KDE Plasma
Describe the bug
The "Add Desktop Entry" button works perfectly on GNOME but completely fails to create desktop shortcuts on KDE Plasma. This creates an inconsistent user experience across desktop environments.
Expected behavior
Actual behavior
To Reproduce
Environment Setup:
Steps:
Results:
System Information
Additional Context
~/Área de trabalho/contains working KDE shortcuts)xdg-user-dir DESKTOPto detect the correct desktop pathProposed Solution
Bottles must use XDG Base Directory Specification instead of hardcoded paths:
Current (broken) approach:
Correct approach:
This will properly handle:
~/Desktop/~/Área de trabalho/~/Schreibtisch/~/Bureau/~/Escritorio/Debugging Information
Please run these commands and include the output:
Proposed Solution
The issue likely stems from KDE Plasma having different requirements or paths for desktop shortcut creation compared to GNOME. Investigation needed into:
This affects user experience consistency and should be addressed to maintain feature parity across desktop environments.
To Reproduce
Package
Flatpak from Flathub
Distribution
OpenSUSE Tumbleweed 20250722
Debugging Information
Troubleshooting Logs
Additional context
~/Área de trabalho/contains working KDE shortcuts)xdg-user-dir DESKTOPto detect the correct desktop path