Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@AlbyIanna
Copy link
Contributor

@AlbyIanna AlbyIanna commented Feb 27, 2022

Motivation

On macOS, you can set a represented file for any window in your application. The represented file's icon will be shown in the title bar, and when users CMD/CTRL+Click, a popup with a path to the file will be shown.

image

Change description

Use BrowserWindow.setRepresentedFilename whenever the file selected in the editor changes.

Reviewer checklist

  • PR addresses a single concern.
  • The PR has no duplicates (please search among the Pull Requests before creating one)
  • PR title and description are properly filled.
  • Docs have been added / updated (for bug fixes / features)

@AlbyIanna AlbyIanna requested a review from fstasi February 27, 2022 09:05
@per1234 per1234 added os: macos Specific to macOS operating system topic: code Related to content of the project itself type: enhancement Proposed improvement labels Feb 27, 2022
@AlbyIanna AlbyIanna merged commit f2d492b into main Mar 1, 2022
@AlbyIanna AlbyIanna deleted the macos-represented-file branch March 1, 2022 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

os: macos Specific to macOS operating system topic: code Related to content of the project itself type: enhancement Proposed improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.