Flatpak fix: add browser detection and launch support#1587
Flatpak fix: add browser detection and launch support#1587brianmcgillion merged 1 commit intotiiuae:mainfrom
Conversation
839f1c4 to
5b19a4f
Compare
kajusnau
left a comment
There was a problem hiding this comment.
Some readability/usability comments.
Looks good overall, hopefully testing confirms functionality. Nice work!
|
Should we first try an xdg handler to untrusted browser VM. If that fails, then warn to install a flatpak browser? |
|
In the case of Spotify, we cannot use a browser from another VM, due to the way its login flow works: An option is installing a local browser, which would be run in normal way, out of Flakpak environment. |
5b19a4f to
cce26b5
Compare
|
Summary of changes:
|
cce26b5 to
77a808a
Compare
77a808a to
95ee3c0
Compare
- Implement browser detection (Flatpak + local) - Add clear error pop-up when no browser is installed - Support browser selection (Chrome, Chromium, etc.) - Fix unclear errors in Flatpak applications like Spotify when opening web pages Applications now either successfully launch browsers or show helpful error messages instead of failing silently. Signed-off-by: jkuro-tii <jaroslaw.kurowski@tii.ae>
95ee3c0 to
e550262
Compare
|
Tested on Darter Pro (new installation) Instructions said that a rebuild works, but also asked to do a clean installation. I installed a new image to be safe. All good.
Notes
|
Applications now either successfully launch browsers or show helpful error messages instead of failing silently.
Description of Changes
Type of Change
Related Issues / Tickets
Checklist
make-checksand it passesTesting Instructions
Applicable Targets
aarch64aarch64x86_64x86_64x86_64Installation Method
nixos-rebuild ... switchTest Steps To Verify:
Expect “Browser error” window.
Chrome should open and login should work.
“Browser error” should return.
Chromium should open and login should work.