Open droghio opened 1 year ago
Also attempted to use the Java3D_1.5.2 version with the following flatpak command:
flatpak run --user --command="/app/lib/sweethome3d/SweetHome3D-Java3D-1_5_2" --env="MESA_GL_VERSION_OVERRIDE=1.4" com.sweethome3d.Sweethome3d
This disabled HiDPI scaling but reproduced the same issue.
Was able to get the non-flatpak version running by using my local OpenJDK 11 install. Might be the bundled Java 8 runtime is partially incompatible?
Summary
Thanks for maintaining the flatpak! Interesting bug and possible edge case related to https://github.com/flathub/com.sweethome3d.Sweethome3d/issues/30
When installing the 7.1 flatpak, and attempting to import furniture the import itself appears to load the file correctly, but pressing "Next" crashes the application reliably. Tried a few versions of the flatpak and got the same behavior for both the 7.0.2 and 6.6 releases.
Background
From the stack trace I included below to related to the
getIconImage
call. What is interesting is I have another computer running the same OS (Rocky Linux 9.1) able to use the flatpak without issue.Only edge cases I can think of is my laptop has a high DPI screen (4k) where my desktop has a 2K monitor, and my desktop is using a Nvidia GPU and drivers where my laptop (which has the problem) only has integrated graphics.
Steps to Reproduce
This immediately crashes the application.
Experiments
Tried version 6.6, 7.0.2 of the flatpak and was able to reproduce. Interestingly also downloaded the 7.1 release from sourceforge and also was able to reproduce outside of the flatpak so chances are this isn't specific to the flatpak itself so please let me know if this is better reported upstream.
Device
Dell XPS 13 9310 Rocky OS 9.1 Flatpak 1.12.7 Sweethome 3D 7.1
Stack Trace
hs_err_pid112513.log