#1027056 xfce4-clipman: Forgets history after shutdown/reboot only if image was last item copied

Package:
xfce4-clipman-plugin
Source:
xfce4-clipman-plugin
Description:
clipboard history plugin for Xfce panel
Submitter:
Derek Griffin
Date:
2022-12-31 08:36:06 UTC
Severity:
normal
Tags:
#1027056#5
Date:
2022-12-27 11:00:12 UTC
From:
To:
Dear Maintainer,

I'm reporting this bug against xfce4-clipman but for all I know it may
be related to xfce4-clipman-plugin

Debian Stable fully updated.

Shutting down my PC while an image is the last item copied to the
clipboard causes the clipboard history to be forgoten.

If there is an image present in the clipboard history but isn't the
last item copied then after booting the history is present and
complete.

I've been unable to find anything related to this issue and haven't
been able to find or think of any potential fixes to this problem.

After boot/reboot and if an image is the last item copied before
shutdown:

/home/***/.cache/xfce4/clipman/image0.png doesn't exist
/home/***/.cache/xfce4/clipman/textsrc is empty

After boot/reboot and if an image is NOT the last item copied before
shutdown:

/home/***/.cache/xfce4/clipman/image0.png exists and is the image I
copied
/home/***/.cache/xfce4/clipman/textsrc contains the clipboard history

#1027056#10
Date:
2022-12-27 11:17:29 UTC
From:
To:
I tried several times sending this bug report with reportbug and gmail
but had trouble. In the end I sent it with my email client and
somewhere down the line I have mixed up the package names and have
submitted it against the wrong package.

I wish to re-submit this report properly (after another coffee!)

Kind regards,

Derek.

#1027056#15
Date:
2022-12-27 14:00:00 UTC
From:
To:
Hello, Derek. Thanks for reporting.

xfce4-clipman is part of the xfce4-clipman-plugin source package
anyway, so it's fine.

I'll try to reproduce this peculiar bug.

#1027056#20
Date:
2022-12-30 16:13:37 UTC
From:
To:
Control: tags -1 unreproducible

And I couldn't. I was running 2:1.6.2-1, though.

History is intact, the image is in the cache directory but doesn't
appear in the list for some reason.

#1027056#27
Date:
2022-12-31 08:34:12 UTC
From:
To:
Good morning,

thanks for investigating this. Due to the lack of info on the net I
suspected this would be the outcome.

In Aug/Sep I changed my HDD to an SSD. I ran Debian Stable on both the
old and new drives.

I copied across the entirety of my home directory including the
dotfiles so I can only assume I have some problem there. I have backups
so I can experiment.

Kind regards,

Derek.