Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Unknown user Input Type: xxx
QtWS25 Last Chance

Unknown user Input Type: xxx

Scheduled Pinned Locked Moved Unsolved General and Desktop
qchart
3 Posts 2 Posters 623 Views
  • 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.
  • I Offline
    I Offline
    igmiss
    wrote on 1 Dec 2023, 09:08 last edited by
    #1

    Hi
    I'm working on a dynamic Line Chart which updates frequently when data comes in. There are some auxiliary Graphic Items on the chart, and I override some of those mouse events so the users can zoom in/out and drag the graph. My problem is the program often crash with "Unknown user Input Type: xxx". xxx is a number with no obvious relationship with mouse inputs. Anyone has any thoughts?

    J 1 Reply Last reply 1 Dec 2023, 09:31
    0
    • I igmiss
      1 Dec 2023, 09:08

      Hi
      I'm working on a dynamic Line Chart which updates frequently when data comes in. There are some auxiliary Graphic Items on the chart, and I override some of those mouse events so the users can zoom in/out and drag the graph. My problem is the program often crash with "Unknown user Input Type: xxx". xxx is a number with no obvious relationship with mouse inputs. Anyone has any thoughts?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 1 Dec 2023, 09:31 last edited by
      #2

      @igmiss Did you run through debugger to get stack trace after crash?

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

      I 1 Reply Last reply 5 Dec 2023, 02:48
      1
      • J jsulm
        1 Dec 2023, 09:31

        @igmiss Did you run through debugger to get stack trace after crash?

        I Offline
        I Offline
        igmiss
        wrote on 5 Dec 2023, 02:48 last edited by
        #3

        @jsulm No I didn't. However, the problem never appeared after I added "chartview->setViewportUpdateMode(QChartView::FullViewportUpdate)". I just assume it's solved...

        1 Reply Last reply
        0

        1/3

        1 Dec 2023, 09:08

        • Login

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