cozy icon indicating copy to clipboard operation
cozy copied to clipboard

Resizing window is laggy

Open rdbende opened this issue 2 years ago • 0 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

rdbende avatar Jan 06 '24 13:01 rdbende