You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Paul Connolley (JIRA)" <ji...@apache.org> on 2017/01/10 12:34:58 UTC

[jira] [Created] (CB-12339) On OS X platform, closing the main window leaves the app open but you can't restore the main view

Paul Connolley created CB-12339:
-----------------------------------

             Summary: On OS X platform, closing the main window leaves the app open but you can't restore the main view
                 Key: CB-12339
                 URL: https://issues.apache.org/jira/browse/CB-12339
             Project: Apache Cordova
          Issue Type: Bug
          Components: OSX
    Affects Versions: 6.4.0
         Environment: macOS Sierra
            Reporter: Paul Connolley
            Assignee: Tobias Bocanegra
            Priority: Minor


(I do apologise if this is covered in the documentation but I couldn't find any mention of it anywhere. Also, this is my first ticket here so I apologise if I'm putting this in the wrong place!)

1. I created a new Cordova app and added the osx platform (cordova platform add osx) and then ran `cordova run osx`.
2. The app built with no problems and launched the app.
3. I then clicked the 'close' button on the app and it closed the main window
4. Then I clicked the app icon in the dock - expecting it to restore the main window - but nothing happened.

This seems a little odd but I'd have expected either:

* The app to close when clicking the close button; or
* The window to be restored after clicking the dock icon

Ideally, it'd be lovely if there was a way to decide which of the above behaviours was available. At the least, I'd probably expect one of these as a default.

Any help would be appreciated here. If I'm being dim and it's in the documentation, my apologies!




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org