geigi/cozy

Resizing window is laggy

Closed this issue · 1 comments

Bug description

Resizing Cozy's main window is laggy, as it constantly calls _on_window_size_allocate (even worse: it is called once for both horizontal and vertical size change) to save the window's size and state. This results in the settings being saved, and unnecessary file write operations to ~/.var/app/com.github.geigi.cozy/config/glib-2.0/settings/keyfile

Cozy should only save this information on quit.

Steps to reproduce

Resize Cozy's main window

System Information

  • Operating System: Fedora Silverblue
  • Installation source: master branch
  • Version of cozy: 1.3.0

Was fixed by #933