bluescan / tacentview

An image and texture viewer for tga, png, apng, exr, dds, pvr, ktx, ktx2, astc, pkm, qoi, gif, hdr, jpg, tif, ico, webp, and bmp files. Uses Dear ImGui, OpenGL, and Tacent. Useful for game devs as it displays information like the presence of an alpha channel and querying specific pixels for their colour.
ISC License
344 stars 33 forks source link

[Suggestion] Restore Maximized/Fullscreen view states #42

Closed kutu closed 2 years ago

kutu commented 2 years ago

Currently only window size is restored.

If I maximize window, quit, open again, the size will be correct (looks like maximized), but window is not truly maximized.

I prefer to have a fullscreen view from the start, and I set q keybind for quick exit.

bluescan commented 2 years ago

Yeah. I can look at this. Currently the fullscreen setting (Alt-Enter fullscreen -- without the window title-bar) is not saved in the config at all.

Note to self: It probably makes sense to store the window geo (width/height offsets) in the global section of the config along with the fullscreen mode, Currently the win geo is stored per profile but behaves as if it's global (it would be weird if the window started snapping all over the place when changing profiles), so I think both of these should be global.

bluescan commented 2 years ago

Fixed in 0063921d5cdffd1f0782ebef14b8c15a531bd087