Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 736
    • Issues 736
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 205
    • Merge requests 205
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Merge requests
  • !8560

Merged
Created Oct 24, 2021 by Jaswant Panchumarti@jspanchuContributor

Handle timers and multiple interactors in ProcessEvents

  • Overview 17
  • Commits 1
  • Pipelines 4
  • Changes 1

This fixes vtk x11 ProcessEvents inconsistent behavior and allows those who write custom event loops to leverage timer support in VTK (JoystickCamera, etc)

  1. Simply move out the event loop code into ProcessEvents, so that it works just like one iteration of StartEventLoop.
  2. Use ProcessEvents in StartEventLoop.

I've tested that this change does not break previously fixed Regression on multiple render windows with VTK9 on a Linux system (CentOS 8, X.Org version: 1.12.2)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-x11-process-events-timer