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

ignore close event bug on OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • 5.1.0 Beta 1
    • 5.0.2
    • GUI: Window management
    • None
    • Mac OS X 10.7
    • macOS
    • c90d9b697f6ef549d33047332a9c44b40ded63f5

    Description

      On Mac OS X, when the close button of a QMainWindow is triggered, and the close event ignored ("Do you want to close ?" > Cancel -> event>ignore), the QMainWindow gets hidden anyway, whereas is should still be shown.
      The bug doesn't happen with Command+Q shortcut, or Qt 4.8, or on Windows operating system.
      It is specific to the close button on Mac OS X with Qt 5.0.2.
      Other reports of this bug can be seen here: http://stackoverflow.com/questions/14649606/window-is-hidden-even-though-qcloseevent-is-ignored

      Attachments

        1. WindowCloseIgnore.zip
          2 kB
          Jonathan Courtois

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            divide Robin Lobel
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: