Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. German
  4. IOS 11.1 und QMessageBox

IOS 11.1 und QMessageBox

Scheduled Pinned Locked Moved Unsolved German
11 Posts 3 Posters 3.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • GerhardG Offline
    GerhardG Offline
    Gerhard
    wrote on last edited by
    #2

    Sorry, hatte ganz vergessen : Qt 5.9.2

    Gerhard

    jsulmJ 1 Reply Last reply
    0
    • GerhardG Gerhard

      Sorry, hatte ganz vergessen : Qt 5.9.2

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #3

      @Gerhard Wie startest du denn die Boxen?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • GerhardG Offline
        GerhardG Offline
        Gerhard
        wrote on last edited by
        #4

        Hallo,

        mit msgbox.exec().

        Gerhard

        jsulmJ 1 Reply Last reply
        0
        • GerhardG Gerhard

          Hallo,

          mit msgbox.exec().

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #5

          @Gerhard Und was machen diese MessageBoxen?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • GerhardG Offline
            GerhardG Offline
            Gerhard
            wrote on last edited by
            #6

            Hallo,

            die geben eine Text aus und stellen entsprechende Buttons (OK, Cancel, Ja,Nein, ....) dar.
            Ab IOS Version 11.1 regieren die Buttons jedoch nicht mehr und die MessageBox schließ nicht mehr.

            Gruß

            Gerhard

            Gerhard

            1 Reply Last reply
            0
            • GerhardG Offline
              GerhardG Offline
              Gerhard
              wrote on last edited by
              #7

              QMessageBox msgBox(this);
              msgBox.setText(tr("Beenden ?");
              msgBox.setIcon(QMessageBox::Question);
              msgBox.setStandardButtons(QMessageBox::Yes, QMessageBox:No);

              result = msgBox.exec();

              Gerhard

              1 Reply Last reply
              0
              • M Offline
                M Offline
                maitai_vw
                wrote on last edited by maitai_vw
                #8

                Hello,
                I am having exactly the same problem. Some (not all) QMessageBox are not responding anymore under iOS 11. The very same program works fine under iOS 10 or 9. The problem exists with the static form of QMessageBox or if I create a QMessageBox object and call exec.

                For instance:
                QMessageBox::StandardButton reply = MSGBOX_CLASS::information (this,
                tr("test"),
                "test",
                QMessageBox::Ok | QMessageBox::Cancel);

                never returns whatever button I touch. "this" is a QMainWindow, but same problem if I put 0 instead.

                jsulmJ 1 Reply Last reply
                0
                • M Offline
                  M Offline
                  maitai_vw
                  wrote on last edited by
                  #9

                  Found a workaround for my case(s):
                  These QMessageBoxes are always triggered from a QAction (either menu/menubar or toolbar).
                  I changed the connectionType of the connect to slot for all these actions to Qt::QueuedConnection and the problem is gone.
                  I will report a Qt bug.

                  1 Reply Last reply
                  0
                  • M maitai_vw

                    Hello,
                    I am having exactly the same problem. Some (not all) QMessageBox are not responding anymore under iOS 11. The very same program works fine under iOS 10 or 9. The problem exists with the static form of QMessageBox or if I create a QMessageBox object and call exec.

                    For instance:
                    QMessageBox::StandardButton reply = MSGBOX_CLASS::information (this,
                    tr("test"),
                    "test",
                    QMessageBox::Ok | QMessageBox::Cancel);

                    never returns whatever button I touch. "this" is a QMainWindow, but same problem if I put 0 instead.

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    @maitai_vw You should check the Qt bug-tracker: https://bugreports.qt.io/secure/Dashboard.jspa
                    If there is no bug reported for this you can file a new one.

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      maitai_vw
                      wrote on last edited by
                      #11

                      @jsulm already dit that https://bugreports.qt.io/browse/QTBUG-64577
                      Let's see if this is going to be fixed, I am not optimistic.

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved