enthought / mayavi

3D visualization of scientific data in Python
http://docs.enthought.com/mayavi/mayavi/
Other
1.28k stars 282 forks source link

VTK rendering area does not scale with Qt Window change when using QT_SCALE_FACTOR for 4k displays #1277

Open chrisgmorton opened 9 months ago

chrisgmorton commented 9 months ago

Linux Ubuntu 20.04 (GCC 9.4.0) Python 3.11.4, VTK 9.3.0rc1, Qt 5.15.2, PySide2 5.15.10 (modified to support Python 3.11) Mayavi is head of master as is pyface (of main), traits (of main), traitsui (of main)

For 4k displays using:

export QT_ENABLE_HIGHDPI_SCALING=1 #(QT_AUTO_SCREEN_SCALE_FACTOR in Qt 5.12)
export QT_SCALE_FACTOR=1.3
lorenz

This is a regression, but it is unclear whether this is caused by Qt, VTK, or Mayavi/Pyface/Traits/TraitsUI changes.