Windows users don't get the native file chooser

Issue #14 new
Arthur Nieuwland repo owner created an issue

Blackbody uses FileChooserNative to allow Windows users to open thermograms using a file chooser they recognize. In the 0.1.0 Windows release available for download, this is correctly used.

Since then Blackbody has seen some development and now when building from HEAD, no Blackbody loads the GTK file chooser on Windows instead of the native one. The code still specifies to use file chooser native however.

After comparing the two builds and placing both the old and new binaries in the respective release directories, the most impactful difference turned out to be how the UI resources were loaded. The old binary loaded resources/eu.nimmerfort.blackbody.ui directly by itself, while the new binary loaded it from the compiled blackbody.gresource.

The fix is to either compile blackbody.gresource with a Windows binary, maybe, or to go back to loading UI files directly.

Comments (2)

  1. Log in to comment