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: Standard focus-without-raise shortcut doesn't work #6879

Open
mitchellh opened this issue Mar 23, 2025 · 3 comments
Open

macOS: Standard focus-without-raise shortcut doesn't work #6879

mitchellh opened this issue Mar 23, 2025 · 3 comments
Labels
gui GUI or app issue regardless of platform (i.e. Swift, GTK) os/macos

Comments

@mitchellh
Copy link
Contributor

See #6859

Reproduction:

  1. Launch Ghostty
  2. Launch Safari
  3. Lay the windows out so they slightly overlap each other in any way you want
  4. Focus Safari
  5. Control+Option+Click Ghostty

Ghostty should focus but not bring the window to the front. But it does.

Try the reverse with Safari and notice how Safari behaves.

Note: It did work once and I don't know how, but ever since then it consistently does not work.

@mitchellh mitchellh added gui GUI or app issue regardless of platform (i.e. Swift, GTK) os/macos labels Mar 23, 2025
@liby
Copy link
Contributor

liby commented Mar 24, 2025

Unable to reproduce. Did you accidentally trigger Shift + Option + Click?

@mitchellh
Copy link
Contributor Author

Nope, I'm able to reliably reproduce it here. It looks like the issue is our context menu showing up. I think this has to do with the fact that we accept first click.

CleanShot.2025-03-24.at.09.13.48.mp4

@Kamyil
Copy link

Kamyil commented Mar 27, 2025

Yeah, something is wrong with focusing lately. It also broke trying to focus the app by assigning shortcut to Ghostty

either by Raycast
Image

or by Hammerspoon

hs.hotkey.bind({ "cmd" }, "2", function()
	hs.application.launchOrFocus("Ghostty")
end)

I have to double-press the Cmd+2 in order to focus Ghostty properly, while previously I had to only press Cmd+2 once which was instant. I noticed that it started happening after macOS 15.3.?? Sonoma update :(

Raised the discussion here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gui GUI or app issue regardless of platform (i.e. Swift, GTK) os/macos
Projects
None yet
Development

No branches or pull requests

3 participants