Bug 499117 - With "Save clipboard across desktop sessions" disabled, deleting entries from clipboard not working
Summary: With "Save clipboard across desktop sessions" disabled, deleting entries from...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (other bugs)
Version First Reported In: 6.2.91
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-25 01:32 UTC by zorn7
Modified: 2025-01-31 06:29 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zorn7 2025-01-25 01:32:25 UTC
SUMMARY
Also option "Journal size" also not working as entries can not be deleted

STEPS TO REPRODUCE
1. Copy something to clipboard
2. Open clipboard popup and try to delete some entry

OBSERVED RESULT
Entry not deleted and in journalctl following error appears
```
plasmashell[2570]: org.kde.klipper: A transaction didn't start: "Driver not loaded Driver not loaded"
plasmashell[2570]: qt.sql.qsqlquery: QSqlQuery::exec: database not open
```
Also on copy there is error
```
plasmashell[2570]: qt.sql.qsqlquery: QSqlQuery::prepare: database not open
```
You can run `journalctl -f` and try to copy something from there

EXPECTED RESULT
Clipboard entries should be deleted when you delete it

ADDITIONAL INFORMATION
Probably this bug https://bugs.kde.org/show_bug.cgi?id=498666 also have same roots
Comment 1 Marco Martin 2025-01-27 15:32:01 UTC
cannot reproduce
Comment 2 Nate Graham 2025-01-28 00:53:34 UTC
Also cannot reproduce, including after restarting plasmashell.
Comment 3 John Kizer 2025-01-28 06:11:25 UTC
Hi - just in case it's relevant, which Kubuntu version is the base system on which you've built Plasma 6.2.91?

This seems potentially related to https://bugs.kde.org/show_bug.cgi?id=498864 ?
Comment 4 zorn7 2025-01-30 04:41:57 UTC
I'm not build it, just use plucky repo
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu Plucky Puffin (development branch)
Release:        25.04
Codename:       plucky
Comment 5 John Kizer 2025-01-30 19:50:01 UTC
Thanks - and is it that there's no visual response at all to clicking the delete button, or that it appears to delete in that moment but then reappears when reopening the Clipboard widget later? (If you're able to capture a screencast, that could be helpful)
Comment 6 zorn7 2025-01-30 22:11:51 UTC
Well, I start to record screencast with disabled option (I enable it before to mitigate this bug) and BOOM, all works fine :)
Seems was fixed with some update.
Comment 7 John Kizer 2025-01-31 06:29:25 UTC
(In reply to zorn7 from comment #6)
> Well, I start to record screencast with disabled option (I enable it before
> to mitigate this bug) and BOOM, all works fine :)
> Seems was fixed with some update.

Maybe some other tester found and fixed it already - or gremlins! Either way glad it's working for you now, and thanks for testing!