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

macOS task switchers always show the Firefox icon #483

Open
finite-state-machine opened this issue Mar 21, 2024 · 2 comments
Open

macOS task switchers always show the Firefox icon #483

finite-state-machine opened this issue Mar 21, 2024 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@finite-state-machine
Copy link

Description

Third-party app switchers for macOS (e.g., Contexts1, AltTab2) always show the Firefox icon rather than the correct icon for the PWA (the site's favicon, shown correctly in the dock).

Steps to Reproduce

  1. Install a third-party app switcher such as Contexts1 or AltTab2
  2. Install and launch Firefox and one or more PWAs (almost any site with a favicon will do)
  3. Use the third-party switcher
  4. Observe that Firefox and all PWAs have the same icon, i.e., Firefox's logo

Presumably, since every third-party switcher I've tried has the same behaviour, this is a problem with FirefoxPWA rather than the switchers.

macOS dock (works; expected behaviour)

Screenshot 2024-03-21 at 09 23 11

The macOS ⌘+tab switcher also shows the correct icons.

Contexts

Screenshot 2024-03-21 at 09 15 25

Alt-Tab

2024-03-21 partial screenshot

Additional Information

I haven't attached logs as I judge these unlikely to help.

Affected Websites

  • all websites with a favicon (presumably)

Environment

  • Operating system: macOS 14 Sonoma
  • System architecture: Apple Silicon (M1 Max)
  • Desktop environment: macOS native
  • Installation method: homebrew
  • PWAsForFirefox extension version: 2.11.1
  • PWAsForFirefox native version: 2.11.1 (from homebrew)
  • PWAsForFirefox runtime version: unsure how to find this
  • Firefox version: 124.0

Footnotes

  1. https://contexts.co/ 2

  2. https://alt-tab-macos.netlify.app/ 2

@finite-state-machine finite-state-machine added the bug Something isn't working label Mar 21, 2024
@filips123
Copy link
Owner

Do these task switchers use some different API to get the window icons? Currently, PWAsForFirefox just creates an app bundle with the web app icon and launches Firefox from within that bundle. So, maybe there also exists another API to set the icon that task switchers use?

However, I don't know much about macOS development so I probably won't be able to fix this anytime soon.

@filips123 filips123 added the help wanted Extra attention is needed label Mar 29, 2024
@finite-state-machine
Copy link
Author

Sorry I've been quiet on this. I don't have any more information about how the app icons are retrieved, nor am I in any way a macOS developer. My next step would be to read the source for AltTab.

I've paused my use of PWAsForFirefox for the time being. I love the idea, but I found it a little unstable for day-to-day use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Status: To Do
Development

No branches or pull requests

2 participants