Lymphatus / caesium-image-compressor

Caesium is an image compression software that helps you store, send and share digital pictures, supporting JPG, PNG, WebP and TIFF formats. You can quickly reduce the file size (and resolution, if you want) by preserving the overall quality of the image.
https://saerasoft.com/caesium
GNU General Public License v3.0
3.47k stars 209 forks source link

Window not remembering its size and position in a specific condition. #191

Closed medukia closed 1 year ago

medukia commented 1 year ago

Describe the bug Window not remembering its size and position in a specific condition.

Software version 2.3.1 portable

Operating System information Windows 10 64 bit

To Reproduce Steps to reproduce the behavior:

  1. resize the window by dragging the edges for my liking
  2. just use Caesium as usual
  3. maximize the window by clicking on the icon in the upper right corner of the window
  4. close the program
  5. restart the program
  6. now, you can see the program lose its maximized state and the window gets much bigger than I set it to be (nearly same as maximized)

Expected behavior It is expected to save the size and position of the window and restore it when running the program next time.

Lymphatus commented 1 year ago

On my Windows 11 machine, when I maximize the application and then close it, it restores the maximized state, but, if I toggle the maximized state, the application bugs itself like you described. I'll manage a fix.

Lymphatus commented 1 year ago

Fixed in 2.4.0