Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Don't hide when the main window is closed #481

Merged
merged 1 commit into from
Jan 14, 2016
Merged

Don't hide when the main window is closed #481

merged 1 commit into from
Jan 14, 2016

Conversation

s4y
Copy link
Contributor

@s4y s4y commented Jan 14, 2016

This is one of the first things I noticed when I started using Radiant. I've never seen an OS X app hide itself when you close its main window, and the behavior was pretty surprising! I hope to make more substantial contributions in the future 🎶.

In general, OS X apps don't do this.
@jacobwgillespie
Copy link
Member

Awesome, thanks!

jacobwgillespie added a commit that referenced this pull request Jan 14, 2016
Don't hide when the main window is closed
@jacobwgillespie jacobwgillespie merged commit a429608 into radiant-player:master Jan 14, 2016
@chrismou
Copy link
Member

I don't see a difference. Out of interest, what has this changed?

@s4y s4y deleted the sidney/patch-no-hide branch January 15, 2016 18:14
@s4y
Copy link
Contributor Author

s4y commented Jan 15, 2016

Before this patch, closing the main window "hid" Radiant as if you'd pressed command+H. The two main effects of hiding are…

  1. Radiant stops being the "active" application. Whichever app was previously active takes menu bar and keyboard focus.
  2. Any other windows (like the Preferences window, if it's open) become invisible until you switch back to Radiant.

It's interesting behavior, since a lot of the time when you close the main window you probably want to use another application, but it's pretty nonstandard and was confusing to me since I use the keyboard a lot (and would expect to be able to give keyboard input to Radiant after closing the main window or to switch to a specific app with command+tab).

Hope that made sense! Let me know if it didn't.

@chrismou
Copy link
Member

Ah OK I get it. Good spot, I'd never even noticed that before :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants