Describe the bug
OpenSCAD fails to load with errors:
QWidget::setMinimumSize: (LaunchingScreen/LaunchingScreen) Negative sizes (600,-492131512) are not possible
The system has a 4k display running at 0.5 scaling to make it match a 1080p display on a second monitor.
If the display is set back to 1.0 scaling, OpenSCAD will load and run.
The scaling can then be set back to 0.5 and it operates normally.
After that, OpenSCAD will open normally even with the scaling set to 0.5
To Reproduce
set display to 0.5 and open OpenSCAD
Expected behavior
Should open normall when display scaling is < 1.0
Code reproducing the issue
If applicable, add trimmed down, self-contained code demonstrating the issue.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment and Version info (please complete the following information):
- OS: Linux Mint 22.3 - Xfce 64-bit
- System: System76 Bonobo WS bonw16
- OpenSCAD Version: 2021.01
Library & Graphics card information
QObject::startTimer: Timers can only be used with threads started with QThread
OpenSCAD Version: 2021.01
System information: Linux 6.18.7-76061807-generic #202601231045177750612324.04a891078dev-Ubuntu SMP PREEMPT_DY x86_64 Linux Mint 22.3 24 CPUs 62.23 GB RAM
User Agent: OpenSCAD/2021.01 (Linux x86_64; Linux Mint 22.3)
Compiler: GCC "13.2.0" 64bit
MinGW build: No
Debug build: No
Boost version: 1_83
Eigen version: 3.4.0
CGAL version, kernels: 5.6, Cartesian, Extended_cartesian, Epeck
OpenCSG version: OpenCSG 1.5.0
Qt version: 5.15.13
QScintilla version: 2.14.1
InputDrivers:
GLib version: 2.80.0
lodepng version: 20180910
libzip version: 1.7.3
fontconfig version: 2.15.0
freetype version: 2.13.2
harfbuzz version: 8.3.0
cairo version: 1.18.0
lib3mf version: 1.8.1
Application Path: /usr/bin
Documents Path: /home/mike/.local/share
User Documents Path: /home/mike/Documents
Resource Path: /usr/share/openscad
User Library Path: /home/mike/.local/share/OpenSCAD/libraries
User Config Path: /home/mike/.config/OpenSCAD
Backup Path: /home/mike/.local/share/OpenSCAD/backups
OPENSCADPATH:
OpenSCAD library path:
/home/mike/.local/share/OpenSCAD/libraries
/usr/share/openscad/libraries
OPENSCAD_FONT_PATH:
OpenSCAD font path:
/home/mike/.local/share/fonts
/usr/share/xfce4/fonts
/home/mike/.local/share/flatpak/exports/share/fonts
/var/lib/flatpak/exports/share/fonts
/usr/local/share/fonts
/usr/share/fonts
/home/mike/.fonts
/usr/share/texmf/fonts/opentype/public/lm
/usr/share/texmf/fonts/opentype/public/lm-math
/usr/share/texmf/fonts/opentype/public/tex-gyre-math
/usr/share/texmf/fonts/opentype/public/tex-gyre
/usr/share/fonts/X11
/usr/share/fonts/cMap
/usr/share/fonts/cmap
/usr/share/fonts/opentype
/usr/share/fonts/truetype
/usr/share/fonts/type1
/usr/share/fonts/X11/Type1
/usr/share/fonts/X11/encodings
/usr/share/fonts/X11/misc
/usr/share/fonts/X11/util
/usr/share/fonts/cmap/adobe-cns1
/usr/share/fonts/cmap/adobe-gb1
/usr/share/fonts/cmap/adobe-japan1
/usr/share/fonts/cmap/adobe-japan2
/usr/share/fonts/cmap/adobe-korea1
/usr/share/fonts/opentype/mathjax
/usr/share/fonts/opentype/noto
/usr/share/fonts/opentype/urw-base35
/usr/share/fonts/truetype/dejavu
/usr/share/fonts/truetype/droid
/usr/share/fonts/truetype/liberation
/usr/share/fonts/truetype/libreoffice
/usr/share/fonts/truetype/noto
/usr/share/fonts/truetype/ubuntu
/usr/share/fonts/type1/urw-base35
/usr/share/fonts/X11/encodings/large
GLEW version: 2.2.0
OpenGL Version: 4.6 (Compatibility Profile) Mesa 25.2.8-0ubuntu0.24.04.1
GL Renderer: Mesa Intel(R) Graphics (ARL)
GL Vendor: Intel
RGBA(8888), depth(24), stencil(8)
GL_ARB_framebuffer_object: yes
GL_EXT_framebuffer_object: yes
GL_EXT_packed_depth_stencil: yes
GL context creator: GLX
PNG generator: lodepng
GLX version: 1.4
OS info: Linux 6.18.7-76061807-generic #202601231045177750612324.04a891078dev-Ubuntu SMP PREEMPT_DY
Machine: x86_64
Additional context
Describe the bug
OpenSCAD fails to load with errors:
QWidget::setMinimumSize: (LaunchingScreen/LaunchingScreen) Negative sizes (600,-492131512) are not possible
The system has a 4k display running at 0.5 scaling to make it match a 1080p display on a second monitor.
If the display is set back to 1.0 scaling, OpenSCAD will load and run.
The scaling can then be set back to 0.5 and it operates normally.
After that, OpenSCAD will open normally even with the scaling set to 0.5
To Reproduce
set display to 0.5 and open OpenSCAD
Expected behavior
Should open normall when display scaling is < 1.0
Code reproducing the issue
If applicable, add trimmed down, self-contained code demonstrating the issue.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment and Version info (please complete the following information):
Library & Graphics card information
QObject::startTimer: Timers can only be used with threads started with QThread
OpenSCAD Version: 2021.01
System information: Linux 6.18.7-76061807-generic #202601231045
177750612324.04a891078dev-Ubuntu SMP PREEMPT_DY x86_64 Linux Mint 22.3 24 CPUs 62.23 GB RAMUser Agent: OpenSCAD/2021.01 (Linux x86_64; Linux Mint 22.3)
Compiler: GCC "13.2.0" 64bit
MinGW build: No
Debug build: No
Boost version: 1_83
Eigen version: 3.4.0
CGAL version, kernels: 5.6, Cartesian, Extended_cartesian, Epeck
OpenCSG version: OpenCSG 1.5.0
Qt version: 5.15.13
QScintilla version: 2.14.1
InputDrivers:
GLib version: 2.80.0
lodepng version: 20180910
libzip version: 1.7.3
fontconfig version: 2.15.0
freetype version: 2.13.2
harfbuzz version: 8.3.0
cairo version: 1.18.0
lib3mf version: 1.8.1
Application Path: /usr/bin
Documents Path: /home/mike/.local/share
User Documents Path: /home/mike/Documents
Resource Path: /usr/share/openscad
User Library Path: /home/mike/.local/share/OpenSCAD/libraries
User Config Path: /home/mike/.config/OpenSCAD
Backup Path: /home/mike/.local/share/OpenSCAD/backups
OPENSCADPATH:
OpenSCAD library path:
/home/mike/.local/share/OpenSCAD/libraries
/usr/share/openscad/libraries
OPENSCAD_FONT_PATH:
OpenSCAD font path:
/home/mike/.local/share/fonts
/usr/share/xfce4/fonts
/home/mike/.local/share/flatpak/exports/share/fonts
/var/lib/flatpak/exports/share/fonts
/usr/local/share/fonts
/usr/share/fonts
/home/mike/.fonts
/usr/share/texmf/fonts/opentype/public/lm
/usr/share/texmf/fonts/opentype/public/lm-math
/usr/share/texmf/fonts/opentype/public/tex-gyre-math
/usr/share/texmf/fonts/opentype/public/tex-gyre
/usr/share/fonts/X11
/usr/share/fonts/cMap
/usr/share/fonts/cmap
/usr/share/fonts/opentype
/usr/share/fonts/truetype
/usr/share/fonts/type1
/usr/share/fonts/X11/Type1
/usr/share/fonts/X11/encodings
/usr/share/fonts/X11/misc
/usr/share/fonts/X11/util
/usr/share/fonts/cmap/adobe-cns1
/usr/share/fonts/cmap/adobe-gb1
/usr/share/fonts/cmap/adobe-japan1
/usr/share/fonts/cmap/adobe-japan2
/usr/share/fonts/cmap/adobe-korea1
/usr/share/fonts/opentype/mathjax
/usr/share/fonts/opentype/noto
/usr/share/fonts/opentype/urw-base35
/usr/share/fonts/truetype/dejavu
/usr/share/fonts/truetype/droid
/usr/share/fonts/truetype/liberation
/usr/share/fonts/truetype/libreoffice
/usr/share/fonts/truetype/noto
/usr/share/fonts/truetype/ubuntu
/usr/share/fonts/type1/urw-base35
/usr/share/fonts/X11/encodings/large
GLEW version: 2.2.0
OpenGL Version: 4.6 (Compatibility Profile) Mesa 25.2.8-0ubuntu0.24.04.1
GL Renderer: Mesa Intel(R) Graphics (ARL)
GL Vendor: Intel
RGBA(8888), depth(24), stencil(8)
GL_ARB_framebuffer_object: yes
GL_EXT_framebuffer_object: yes
GL_EXT_packed_depth_stencil: yes
GL context creator: GLX
PNG generator: lodepng
GLX version: 1.4
OS info: Linux 6.18.7-76061807-generic #202601231045
177750612324.04a891078dev-Ubuntu SMP PREEMPT_DYMachine: x86_64
Additional context