Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-6296

Qt Cocoa Applications won't quit correctly on Log Out or Shutdown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • 4.5.3, 4.6.0
    • GUI: Window management
    • None
    • Mac OS X Cocoa
    • 12308db7663679e42c87aa72c564ec3f9f1a457f

    Description

      Start for example the Browser.app Demo compiled with Qt/Cocoa.
      Select Apple Menu/Log out or Apple Menu/Shutdown

      This will give you a messagebox saying "The application XYZ canceled logout".

      This does not happen with Qt/Carbon.

      I suspect that

      • (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender
        {
        /* ... */
        return NSTerminateCancel;
        }

      has something to do with this?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            freling Fabien Freling (closed Nokia identity) (Inactive)
            njeisecke Nils Jeisecke
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes