MacGapProject / MacGap1

Desktop WebKit wrapper for HTML/CSS/JS applications.
Other
3.55k stars 209 forks source link

Unable to restore closed window. #9

Closed furtive closed 12 years ago

furtive commented 12 years ago

Closing the window (e.g. Command + W) puts the user in a position where it's impossible to bring the window back up (e.g. by click on the app icon in the Doc).

maccman commented 12 years ago

@liamks any clues on how to fix this?

liamks commented 12 years ago

@maccman I'm just working on the ability to add new windows. Once this is done, I'm guessing we can just create a new window when the user clicks on the app icon. I'll look into it.

maccman commented 12 years ago

@liamks Sure, I'm thinking we can just show the original window.

liamks commented 12 years ago

@maccman I think you might be right, see: http://www.cocoabuilder.com/archive/cocoa/178121-close-button-vs-command.html

furtive commented 12 years ago

Yeah, experience from other apps is that it simply shows the original window, in that state is maintained.

liamks commented 12 years ago

Fixed, see pull-request - aka issue 10.

liamks commented 12 years ago

@maccman I think this can be closed now.

maccman commented 12 years ago

Yup.