Bug 374324 - Klipper loses clipboard buffer when Firefox closes
Summary: Klipper loses clipboard buffer when Firefox closes
Status: RESOLVED FIXED
Alias: None
Product: klipper
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 5.8.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Flöser
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-30 10:48 UTC by Sebastian Kügler
Modified: 2021-04-01 21:04 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Kügler 2016-12-30 10:48:53 UTC
When trying to copy/paste a piece of text from Firefox, it works only as long as Firefox is open.

To reproduce:
- Open Firefox
- Select a piece of text
- Copy a bit of text
- Close Firefox
- Paste into KWrite (for example): no text is pasted

The pasted text is still displayed in the klipper plasmoid, but selecting it doesn't bring it into the buffer.

This is a regression, as it worked previously.

I can reproduce this on on Maui Linux 2.1, but not on my Debian system with git master build.
Comment 1 Martin Flöser 2016-12-30 11:35:11 UTC
This is a common problem of browsers. They explicitly clear the 
clipboard before closing. Why? Don't ask me.

Overall I don't think there is much we can do about it. I hope that the 
option "Prevent empty clipboard" protects against it.
Comment 2 Sebastian Kügler 2016-12-30 12:47:34 UTC
That option is set, so it doesn't seem to fix it.

Note that it worked at some point in Maui, and it also just works on my Debian unstable system (both Firefox 50).
Comment 3 Martin Flöser 2016-12-30 13:59:59 UTC
Am 2016-12-30 13:47, schrieb Sebastian Kügler:
> COMMENT # 2 [1] ON BUG 374324 [2] FROM SEBASTIAN KÜGLER
> 
> That option is set, so it doesn't seem to fix it.
> 
> Note that it worked at some point in Maui, and it also just works on
> my Debian
> unstable system (both Firefox 50).

Klipper hasn't seen any changes - especially not on. If there are 
differences it can only be in Qt or the applications involved.

Firefox being the same version might be quite different considering the 
amount of patching going in both in Debian and Ubuntu.
Comment 4 Sebastian Kügler 2016-12-30 14:30:15 UTC
That, or it's the KDE integration, which isn't on my Debian system, but is installed on Maui.
Comment 5 Marco Martin 2016-12-30 16:10:16 UTC
i can't reproduce on my system as well.
in the past i had an empty string occasionally added as the last entry of klipper (breaking pasting) due to probably things like that, but it's a while it doesn't happen anymore
Comment 6 Nate Graham 2021-04-01 21:04:08 UTC
Yeah this got fixed a while ago.