Closed Bug 1801482 Opened 2 years ago Closed 1 year ago

[linux] The data should be still in the clipboard when you close the application.

Categories

(Thunderbird :: Mail Window Front End, defect)

Thunderbird 102
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1649579

People

(Reporter: u717404, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0

Steps to reproduce:

I copy data to the clipboard. Then I exit the application. When I want to
paste the data somewhere out of the clipboard the data is lost.

I tried thunderbird 102.5.0 on fedora 37.

Actual results:

Data is no longer in the clipboard when you close the application.
It is the problem described here:

https://wiki.ubuntu.com/ClipboardPersistence

Expected results:

The data should be still in the clipboard when you close the application.
Thunderbird seems to use GTK. Sonething from the link above could help.
They write something about GTK there.

They wrote somethong about setting set_can_store and saving clipboard contents on quit with gtk_clipboard_store.

Maybe something of that would help.

Sorry for my typos. It is the linux version of firefox. The Windows version does not have this issue.

I meant the linux version of thunderbird, sorry.

I tried to find the passage in the source code. It seems to be Java Script. Maybe it only works on windows. I don't know.
There seem to be several passages that have to do with the clipboard, no idea.

Summary: clipboard persistence, data loss on quit → [linux] The data should be still in the clipboard when you close the application.

It seems to work now. I do not know why. There were several updates and I have the fedora rpm
of that version installed now.

No, it doesn't work.

Here set_can_store is used:

https://hg.mozilla.org/mozilla-central/file/tip/widget/gtk/nsClipboard.cpp

Maybe it would be possible to use gtk_clipboard_store when the application
is closed. It might be possible with an idl-file.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1649579
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.