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

Debug break at abort() during QTextEdit layout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.12.0, 5.13.0 Alpha 1
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
      None
    • Environment:
      Window 7, 10; Qt 5.12.x; MinGW 7.3.0 64-bit; Debug build run in debugger
    • Platform/s:
      Windows
    • Commits:
      94d79ba3b5d61692e3d32962a7937068f62262df

      Description

      // Settings:
      // - Qt 5.12.0.
      // - MinGW 7.3.0 64-bit.
      // - Debug with GDB option 'Stop when abort() is called'.
      //
      // Observation:
      // Setting QTextEdit as QMainWindow central widget
      // causes anomalous debugger break at QWidgetAnimator::abort()
      // when window is shown and/or layout is recalculated.
      // Behavior different than all earlier Qt versions.

      #include <QApplication>
      #include <QMainWindow>
      #include <QTextEdit>

      class MyWin : public QMainWindow

      { public: MyWin(); }

      ;

      MyWin::MyWin() : QMainWindow()

      { setCentralWidget( new QTextEdit ); }

      int main( int argc, char *argv[] )

      { QApplication app( argc, argv ); MyWin W; W.show(); return app.exec(); }

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              hjk hjk
              Reporter:
              billkarsh Bill Karsh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes