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

"Session Only Mode" does not appear to have any power loss protections.

Open JacksonBarker opened this issue 2 years ago • 0 comments

I am unable to test this hypothesis because I am using a laptop.

Describe the bug https://github.com/oae/gnome-shell-pano/commit/fbd445fef0c0eaf145d3d0ac6f6139e6547fd262 Which added session only mode, does not appear to check for an existing session cache and/or db on user login or computer startup. This may result in the clipboard persisting if the user improperly shuts-down their computer.

Expected behavior If an existing session cache and/or db is found on startup or login, it should be deleted if the user has "Session Only Mode" enabled.

To Reproduce

  • Steps to reproduce, if applicable:
  1. Enable "Session Only Mode".
  2. Populate clipboard history.
  3. Suddenly remove power (Unplug power cable).
  4. Clipboard history persists upon next startup?

JacksonBarker avatar Oct 18 '22 14:10 JacksonBarker