gnome-shell-pano icon indicating copy to clipboard operation
gnome-shell-pano copied to clipboard

Slowdown due to large size of `pano.db`

Open pcbowers opened this issue 3 years ago • 0 comments

Describe the bug After using pano for several months, the pano.db reached a size of 500MB. Whenever I copied something to my clipboard, My whole computer would freeze for a bit. I checked my history size and it was set to 60 entries, but changing this did nothing. An uninstall and reinstall also did not fix the issue. Eventually, I checked the pano.db file location and noticed that it was incredibly large, especially considering my history size should have only been 60 records maximum. Deleting the database (which forced pano to recreate a new one) fixed the issue.

Expected behavior The history size would be respected and pano.db would only contain the number of records specified by the history size.

Screenshots N/A

To Reproduce

  • GNOME Shell version: 42
  • Distro: Ubuntu 22.04
  • Steps to Reproduce:
  1. Create a pano.db with a size of 500MB
  2. Try copying something
  3. See mouse lag for a bit during process

Log data Since this is a slow down rather than an actual crash, nothing of importance is being logged.

pcbowers avatar Feb 14 '23 21:02 pcbowers