[Wayland] Clipboard sequence number is still changed multiple times if the clipboard data is set by us
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: edgar, Unassigned)
References
(Blocks 2 open bugs)
Details
I found bug 1935188 isn't enough to fix bug 1987113.
It is because when setting the clipboard data, we clear the clipboard data first which also generate a clipboard change event.
So it ends up having two change event fired, but bug 1935188 only ignore the first one.
| Reporter | ||
Comment 1•9 months ago
|
||
(ni? myself to see if I can work out a solution based on bug 1935188)
| Reporter | ||
Updated•9 months ago
|
| Reporter | ||
Updated•9 months ago
|
Comment 2•9 months ago
|
||
Thanks for report this. Please NI me if you need any help here, love to see it fixed.
| Reporter | ||
Comment 3•6 days ago
|
||
(In reply to Edgar Chen [:edgar] from comment #0)
It is because when setting the clipboard data, we clear the clipboard data first which also generate a clipboard change event.
So it ends up having two change event fired, but bug 1935188 only ignore the first one.
My previous comment isn't exactly correct.
After some more investigation, it seems like Wayland have a different "clipboard owner" concept, the clipboard owner change callback is also invoke when application lose the system focus. I don't have idea how to improve clipboard sequence number on Wayland at the moment.
Updated•6 days ago
|
Description
•