Shopify / tophat

Easily install and test mobile applications with a single click.
MIT License
622 stars 15 forks source link

Setting doesn't appear at the foreground (macOS 14) #9

Closed ilPikachu closed 1 month ago

ilPikachu commented 2 months ago

Description

Settings only appear once when it's first clicked. When settings is already in the background, clicking on settings will show nothing; it should bring it back to the foreground.

Steps to reproduce

  1. Launch Tophat
  2. Click on Settings for the first time
  3. Settings appears
  4. Put Tophat Settings in the background
  5. Click on settings again
  6. Tophat settings does not show in the foreground

Expected behavior

Tophat settings should show in the foreground when clicked

When settings is already in the background, clicking on settings should bring it back to foreground.

Screenshots

https://github.com/user-attachments/assets/98e7278b-dbe0-41e3-b2ee-3e90c3a515b6

System

Other details

ilPikachu commented 2 months ago

It looks like someone else has faced the same issue in macOS 14+: https://github.com/orchetect/MacControlCenterUI/issues/10 https://www.reddit.com/r/SwiftUI/comments/16ibgy3/settingslink_on_macos_14_why_it_sucks_and_how_i/

And he made this library to solve it: https://github.com/orchetect/SettingsAccess