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

[830] Open Log Folder Natively #2226

Merged
merged 2 commits into from
May 13, 2024

Conversation

Rixxan
Copy link
Contributor

@Rixxan Rixxan commented May 3, 2024

Description

Currently, when choosing "Open Plugin Location" on Linux, the system calls the web-browser and instead opens the directory in the web-browser instead of the file explorer. This is sub-optimal. Instead of calling the web-browser, this PR instructs the OS to open the file or folder indicated natively.

This is done by leveraging the help_open_log_folder() function (renamed to open_folder()), and generalizing the file. The existing help_open_log_folder() is deprecated and slated for removal in 6.0.

Type of Change

  • Enhancement

How Tested

  • Tested in available Windows and Linux builds to ensure that the file does not open in a webbrowser.

Notes

Resolves #830

@Rixxan Rixxan added enhancement OS Issue New User Experience Linux Linux-specific issues. Ready for Review PRs ready for review and merge labels May 3, 2024
@Rixxan Rixxan added this to the 5.11.0 milestone May 3, 2024
@Rixxan Rixxan self-assigned this May 3, 2024
@chennin
Copy link
Contributor

chennin commented May 3, 2024

I tested this and it works on Arch Linux in Cinnamon DE 👍

Copy link
Member

@C1701D C1701D left a comment

Choose a reason for hiding this comment

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

LGTM

@Rixxan Rixxan merged commit 9b6570d into EDCD:develop May 13, 2024
2 checks passed
@Rixxan Rixxan deleted the enhancement/830/use-native-file-opener branch May 13, 2024 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Linux Linux-specific issues. New User Experience OS Issue Ready for Review PRs ready for review and merge
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

settings -> plugins -> plugin location -> browse opens a web browser on linux
3 participants