Closed p134c0d3 closed 8 months ago
Not Bug
@surapunoyousei May I ask how this is not a bug? When installing a web app, it is expected for it to show up in the normal applications menu as creating a Progressive Web Application is usually for that exact reason. To easily access the app without having to navigate to the browser. Brave and other Chromium browsers have this behavior, and for web app capability in a browser, is what anyone would expect.
As mentioned in the release notes, this is because it is still experimental and has not yet been implemented on Linux and Mac.
We are not going to do it because we have not established the technology at this time.
PR is welcome.
That's fair, I figured it didn't have to be closed, maybe set on the backburner to later, that way others can see it's still an issue, and something to be worked on (either by contributor or anyone), so could potentially we reopen this as an enhancement/needs contributors? I'm still learning the technology as well, but as soon as I get to a point where I think I can tackle it, I'd be more than happy to.
@surapunoyousei if you can direct me to where the web app code is in the repo, I will take a look.
This issue is pinned
Thank you!
There is a workaround for this issue, but I must admit it is a bit tedious. You can manually write your .desktop
files!
First go to Settings > Manage Profiles > Open Root Directory of the profile you use. The name of this directory, i.e., your profile name, is important. It should be something like, {randomLetters}.default-release
.
Now open the ssb
folder in that directory. You'll see an ssb.json
file. Open it and use your editor's find feature and locate "id" (with double quotes).
There should be around two of those for each app. Copy the id with random letters (including the curly brackets). You can check which app's ID that is by checking the "name" right next to the "id".
Here the ID of my GitHub app is {118979dc-7e7b-4381-bd4d-041f6eee4559}
.
Also download the website's icon from the internet.
Next fire up your favourite text editor and follow my example below. I'm using GitHub as an example. Replace the name and the ID with whatever you found out above.
[Desktop Entry]
Name=GitHub
Exec=floorp --start-ssb "{118979dc-7e7b-4381-bd4d-041f6eee4559}" --profile "path/to/your/profile/directory"
Terminal=false
Type=Application
Icon=/path/to/downloaded/icon
Note: If you are using the flatpak version, replace floorp
in Exec
with flatpak run one.ablaze.floorp
.
Now save the file as /home/{User}/.local/share/applications/GitHub.desktop
If all goes well, you should be able to launch your Web App from your Applications menu now.
Ok so this issue has been fixed.
https://github.com/Floorp-Projects/Floorp-core/pull/63
If all goes well, and we get flatpak permissions (link to PR), this feature should be a part of Floorp version 11.12.0
I still seem to have the same issue on NixOS though.
EDIT: fixed now
Pre-Submission Checklist
Bug Summary
Hello, I know that Web App support is very experimental in Floorp right now, but submitting this so it can be looked at. 🙂 I'm using Linux as my main OS, and whenever I install a site as a web app (both from URL bar and web apps menu), the relevant .desktop file isn't being found in my applications folder, so I'm not able to find that web app among my applications. If I use the menu, then I'm able to open the web app, but I would expect to be able to open the web app from my applications menu. I have tested this both from the Gnome desktop and the Sway environment with the same result.
The below is showing the installed Google web app is not appearing at all in my applications
Reproduction Steps
Expected Behavior
To be able to have the Web App that I installed to show up in the list of my applications
Actual Behavior
Installed web apps do not appear in my applications list, whether by searching or scrolling. I have to open the web app from the Floorp browser instead of being able to open it from my applications menu.
Screenshots
Browser Version
11.10.0
Operating System
Garuda Linux (Arch based)
Additional Context
If the video did not attach correctly, let me know and I can send it another way.