bottlesdevs / Bottles

Run Windows software and games on Linux
https://usebottles.com
GNU General Public License v3.0
6.25k stars 261 forks source link

[Bug]: "Add Shortcut" creates virtual directories/files instead of using existing ones #2263

Open TheEvilSkeleton opened 1 year ago

TheEvilSkeleton commented 1 year ago

Adding the game's .exe to the bottle's program list via the "Add shortcut" button creates a new document mapping resulting in a virtual directory with only that .exe inside. I have to use Wine's explorer to launch the game by navigating to the .exe location and double clicking it (T:\...\...\abc.exe). Maybe it should be possible to select the .exe inside the flatpak document map so that it reuses the previous mapping (in my case the one under /run/user/1000/doc/19ef51/.../.../abc.exe). EDIT: Or there could be a button titled "Add internal shortcut" that shows a file picker similar to the Wine's explorer such that it works inside the Wine's world... I don't know... Probably needs some conceptual design work.

Originally posted by @tesfabpel in https://github.com/bottlesdevs/Bottles/issues/2251#issuecomment-1312809870

koplo199 commented 11 months ago

It was an xdg-desktop-portal bug, and it is now resolved as of 1.18.0. Could be closed safely.