Skip to content

Using profile causes links to be opened in the background #501

@ulasozguler

Description

@ulasozguler

Describe the bug
If profile key is used in config, clicking a link opens it in the background instead of switching to browser.

Your configuration

export default {
  defaultBrowser: {
    name: "Brave Browser",
    profile: "Ulas",
  },
}

To Reproduce
Steps to reproduce the behavior:

  1. Use shared config in ~/.finicky.js
  2. Click any link
  3. Observe it being opened in the background
  4. Remove profile key from config and try again to observer "switch focus to browser" behaviour

Logs

[2025-12-02T10:18:36.635Z] [INFO ] URL received | url: http://ulas.la/
[2025-12-02T10:18:36.637Z] [DEBUG] Setting opener | name: Ferdium | bundleId: org.ferdium.ferdium-app | path: /Applications/Ferdium.app
[2025-12-02T10:18:36.649Z] [DEBUG] Final browser options | name: Brave Browser | openInBackground: null | profile: Ulas | args:  | appType: appName
[2025-12-02T10:18:36.649Z] [INFO ] Starting browser | name: Brave Browser | url: http://ulas.la/
[2025-12-02T10:18:36.649Z] [DEBUG] Browser found in browsers.json | identifier: Brave Browser | type: Chromium
[2025-12-02T10:18:36.653Z] [INFO ] Found profile by name | name: Ulas | path: Profile 1
[2025-12-02T10:18:36.655Z] [DEBUG] Run command | command: open -a 'Brave Browser' -n --args '--profile-directory=Profile 1' http://ulas.la/
[2025-12-02T10:18:36.716Z] [DEBUG] Time taken evaluating URL and opening browser | duration: 80.70ms
[2025-12-02T10:18:38.874Z] [DEBUG] Showing window

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions