Skip to content
GitLab
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 830
    • Issues 830
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 232
    • Merge requests 232
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTKVTK
  • VTKVTK
  • Issues
  • #17049
Closed
Open
Issue created May 19, 2017 by Tomas Ekeberg@ekeberg

Picker coordinates scaled wrongly on Mac (OSX 10.12) with a Retina display when embedding in Qt

This is my first bug report here. I apologise if it's a duplicate, not actually a bug, not informative enough etc.

I am using the master branch in particular to avoid the bug where only the lower left quarter of the render window is used. This was, as far as I understand, fixed in the merge request !2567 (merged).

After this fix I did however note that when interacting with objects in a scene, the coordinates seems to be off by a factor of 2. For example, if I want to interact with an object in the center of the window I have to click in the top right corner. I think that this behaviour was also present before the fix although both displayed area and picked coordinates were half of what they are now.

This behaviour only occurs if I embed the scene in Qt, just like the old issue with the smaller render window.

Attached are two pieces of code. The Qt version suffers from the bug while the other version works correctly.

vtk_bug.py

vtk_bug_qt.py

Assignee
Assign to
Time tracking