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

weired console message with simple application

    XMLWordPrintable

Details

    • macOS
    • 2ad7e98e3 (dev), 1e1c68017 (dev), 80402b89d (6.8), 115b711e6 (6.7), d2730bc30 (6.8), 2b021b2f9 (dev), f450586fc (tqtc/lts-6.5), 8e703f6e2 (6.8), 03d07d83c (dev), aa2de1cc9 (6.7), b6d28c46e (6.7), 7c7146787 (6.8), df7a0051c (tqtc/lts-6.5), bc5f1cdcf (6.7)

    Description

      A simple following example produces strange console message:

      qt.pointer.dispatch: skipping QEventPoint(id=1 ts=0 pos=0,0 scn=282.967,161.171 gbl=282.967,161.171 Released ellipse=(1x1 ∡ 0) vel=0,0 press=-282.967,-161.171 last=-282.967,-161.171 Δ 282.967,161.171) : no target window 

      Just build and run following code to see this on Mac M2

       

      #include <QtWidgets>
      
      class myWidget : public QWidget
      {
      public:
          myWidget(QWidget *parent=nullptr) :
              QWidget::QWidget(parent) {}
          virtual ~myWidget() {}
      private:
          void mouseMoveEvent(QMouseEvent *) {}
      };
      
      int main(int argc, char *argv[])
      {
          QApplication app(argc, argv);
          QMainWindow w;
          auto m = new QMdiArea;
          myWidget *widget = new myWidget;
          widget->setMinimumSize(QSize(400,300));
          m->addSubWindow(widget);
          w.setCentralWidget(m);
          w.show();
          app.exec();
      }
       

       

       

       

      Attachments

        For Gerrit Dashboard: QTBUG-125589
        # Subject Branch Project Status CR V

        Activity

          People

            vhilshei Volker Hilsheimer
            irfan.omair@digia.com Irfan Omair
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes