Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(linux): Correctly open files linked from help page #9601

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

ermshiperete
Copy link
Contributor

This works around the issue where browsers installed as snap package can't access files under $HOME/.local. Instead we now only open external links with the browser. Local non-html files we open with the default app, and links to local html file we open in webview (like we did previously with welcome.htm files).

Fixes #9600.

User Testing

TEST_LOCALLINK: follow the test steps in #9600 and verify that the "Font license" and "Font documentation" files are displayed.

This works around the issue where browsers installed as snap package
can't access files under `$HOME/.local`. Instead we now only open
external links with the browser. Local non-html files we open with
the default app, and links to local html file we open in webview
(like we did previously with `welcome.htm` files).

Fixes #9600.
@keymanapp-test-bot keymanapp-test-bot bot added has-user-test user-test-required User tests have not been completed labels Sep 20, 2023
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Sep 20, 2023

User Test Results

Test specification and instructions

  • TEST_LOCALLINK (PASSED): 1. Installed Keyman 17.0.177-alpha-local (package version 17.0.177-1~PR-9601-1275.1+jammy1) in Ubuntu 22.04 OS. 2. Now, I am able to see the help page open while clicking the Font License and Font documentation links in the Hebrew Layout window. 3. Able to see the same result in Ubuntu 23.04 Linux OS. Seems to be fixed and working fine with this latest build. Thanks. (notes)

Test Artifacts

@bharanidharanj
Copy link

Test Results

  • TEST_LOCALLINK (PASSED): 1. Installed Keyman 17.0.177-alpha-local (package version 17.0.177-1~PR-9601-1275.1+jammy1) in Ubuntu 22.04 OS. 2. Now, I am able to see the help page open while clicking the Font License and Font documentation links in the Hebrew Layout window. 3. Able to see the same result in Ubuntu 23.04 Linux OS. Seems to be fixed and working fine with this latest build. Thanks.

..in Ubuntu 22.04 Jammy Linux

..in Ubuntu 23.04 Lunar Linux

@keymanapp-test-bot keymanapp-test-bot bot removed the user-test-required User tests have not been completed label Sep 20, 2023
Copy link
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ermshiperete ermshiperete merged commit b7314f1 into master Sep 21, 2023
3 checks passed
@ermshiperete ermshiperete deleted the fix/linux/9600_snapFirefox branch September 21, 2023 07:09
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.178-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(linux): Font License, Font documentation links are not working in Ubuntu 22.04 and Lunar 23.04 Linux OS
4 participants