[plasmashell] [Bug 439765] Clipboard is intermittently broken in the Wayland session when "Prevent Empty Clipboard" is enabled

2021-08-03 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=439765

Nate Graham  changed:

   What|Removed |Added

   See Also|https://bugs.kde.org/show_b |
   |ug.cgi?id=424754|

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 439765] Clipboard is intermittently broken in the Wayland session when "Prevent Empty Clipboard" is enabled

2021-08-03 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=439765

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #7 from Nate Graham  ---
I think this is the same as Bug 424754 after all.

*** This bug has been marked as a duplicate of bug 424754 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 439765] Clipboard is intermittently broken in the Wayland session when "Prevent Empty Clipboard" is enabled

2021-08-03 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=439765

Nate Graham  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=424649
Summary|Clipboard is intermittently |Clipboard is intermittently
   |broken in the Wayland   |broken in the Wayland
   |session |session when "Prevent Empty
   ||Clipboard" is enabled
 CC||n...@kde.org

--- Comment #6 from Nate Graham  ---
Cannot reproduce with current git master FWIW.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 439765] Clipboard is intermittently broken in the Wayland session

2021-07-13 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=439765

s1994...@yahoo.com.tw changed:

   What|Removed |Added

 CC||s1994...@yahoo.com.tw

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 439765] Clipboard is intermittently broken in the Wayland session

2021-07-12 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=439765

--- Comment #5 from Shmerl  ---
If it matters, my other settings from Klipper:

"Ignore selection": checked.
"Text selection only": unchecked
"Synchronize contents of the clipboard and the selection": unchecked.

Timeout for action popups: 8 seconds
Clipboard history size: 1 entry.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 439765] Clipboard is intermittently broken in the Wayland session

2021-07-12 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=439765

David Edmundson  changed:

   What|Removed |Added

 Status|NEEDSINFO   |REPORTED
 Resolution|WAITINGFORINFO  |---

--- Comment #4 from David Edmundson  ---
Even that first one looks weird:

Annotating the above in plain text. Commments are from the POV of kate.

[599702.263]  -> wl_data_device_manager@9.create_data_source(new id
wl_data_source@39)
[599702.277]  -> wl_data_source@39.offer("text/plain")
[599702.280]  -> wl_data_source@39.offer("text/plain;charset=utf-8")
[599702.284]  -> wl_data_device@10.set_selection(wl_data_source@39, 2099)


We offer a selection (39)

[599702.383] wl_data_device@10.data_offer(new id wl_data_offer@3632315184)
[599702.389] wl_data_offer@4278190082.offer("text/plain")
[599702.393] wl_data_offer@4278190082.offer("text/plain;charset=utf-8")
[599702.397] wl_data_device@10.selection(wl_data_offer@4278190082)

We are told there is a new selection available (probably our own back at us)

[599702.401]  -> wl_data_offer@4278190080.destroy()

We drop the our reference to the last offer as it's now outdated.

[599702.554] wl_data_sou...@39.send("text/plain;charset=utf-8", fd 16)
The data from 39 is requested

[599702.805] wl_data_source@39.cancelled()
Source 39 is cancelled, after a slight delay, not just kwayland server doing
something on its own.

This is the interesting part.

[599702.815]  -> wl_data_source@39.destroy()

We drop source 39 as we have been told it's cancelled


[599702.823] wl_data_device@10.selection(nil)

We are tod that the clipboard is now empty

[599702.825]  -> wl_data_offer@4278190082.destroy()

We drop the our reference to the last offer as we have been todl the clipboard
is empty

[599702.846] wl_data_device@10.data_offer(new id wl_data_offer@3633539552)
[599702.851] wl_data_offer@4278190080.offer("text/plain")
[599702.854]
wl_data_offer@4278190080.offer("application/x-kde-onlyReplaceEmpty")
[599702.857] wl_data_offer@4278190080.offer("text/plain;charset=utf-8")
[599702.863] wl_data_device@10.selection(wl_data_offer@4278190080)

We are told that klipper has the clipboard. The additional mime shows it's from
klipper

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 439765] Clipboard is intermittently broken in the Wayland session

2021-07-12 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=439765

--- Comment #3 from Shmerl  ---
I also tried experimenting with some options in Klipper settings, and noticed
that this bug doesn't happen when "Prevent empty clipboard" is unchecked. It
happens the above option is enabled.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 439765] Clipboard is intermittently broken in the Wayland session

2021-07-12 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=439765

--- Comment #2 from Shmerl  ---
Both windows are Wayland windows. Also confirmed with KWin console that no
XWayland windows are present.

Successful selection:

[597918.013] zwp_primary_selection_device_v1@12.data_offer(new id
zwp_primary_selection_offer_v1@3633541696)
[599702.263]  -> wl_data_device_manager@9.create_data_source(new id
wl_data_source@39)
[599702.277]  -> wl_data_source@39.offer("text/plain")
[599702.280]  -> wl_data_source@39.offer("text/plain;charset=utf-8")
[599702.284]  -> wl_data_device@10.set_selection(wl_data_source@39, 2099)
[599702.383] wl_data_device@10.data_offer(new id wl_data_offer@3632315184)
[599702.389] wl_data_offer@4278190082.offer("text/plain")
[599702.393] wl_data_offer@4278190082.offer("text/plain;charset=utf-8")
[599702.397] wl_data_device@10.selection(wl_data_offer@4278190082)
[599702.401]  -> wl_data_offer@4278190080.destroy()
[599702.554] wl_data_sou...@39.send("text/plain;charset=utf-8", fd 16)
[599702.805] wl_data_source@39.cancelled()
[599702.815]  -> wl_data_source@39.destroy()
[599702.823] wl_data_device@10.selection(nil)
[599702.825]  -> wl_data_offer@4278190082.destroy()
[599702.846] wl_data_device@10.data_offer(new id wl_data_offer@3633539552)
[599702.851] wl_data_offer@4278190080.offer("text/plain")
[599702.854]
wl_data_offer@4278190080.offer("application/x-kde-onlyReplaceEmpty")
[599702.857] wl_data_offer@4278190080.offer("text/plain;charset=utf-8")
[599702.863] wl_data_device@10.selection(wl_data_offer@4278190080)
[605543.702]  -> wl_data_offer@4278190080.destroy()

Bad selection:

[733959.295] zwp_primary_selection_device_v1@12.data_offer(new id
zwp_primary_selection_offer_v1@3633571472)
[734759.439]  -> wl_data_device_manager@9.create_data_source(new id
wl_data_source@47)
[734759.449]  -> wl_data_source@47.offer("text/plain")
[734759.452]  -> wl_data_source@47.offer("text/plain;charset=utf-8")
[734759.457]  -> wl_data_device@10.set_selection(wl_data_source@47, 2797)
[734759.565] wl_data_device@10.data_offer(new id wl_data_offer@3633449056)
[734759.572] wl_data_offer@4278190082.offer("text/plain")
[734759.577] wl_data_offer@4278190082.offer("text/plain;charset=utf-8")
[734759.579] wl_data_device@10.selection(wl_data_offer@4278190082)
[734759.583]  -> wl_data_offer@4278190081.destroy()
[734760.041] wl_data_source@47.cancelled()
[734760.059]  -> wl_data_source@47.destroy()
[734760.066] wl_data_device@10.selection(nil)
[734760.069]  -> wl_data_offer@4278190082.destroy()
[734760.260] wl_data_device@10.data_offer(new id wl_data_offer@3633496752)
[734760.264] wl_data_offer@4278190082.offer("text/plain")
[734760.268]
wl_data_offer@4278190082.offer("application/x-kde-onlyReplaceEmpty")
[734760.270] wl_data_offer@4278190082.offer("text/plain;charset=utf-8")
[734760.273] wl_data_device@10.selection(wl_data_offer@4278190082)
[736764.890]  -> wl_data_offer@4278190082.destroy()
[737620.024] wl_data_device@10.data_offer(new id wl_data_offer@3633571472)
[737620.029] wl_data_offer@4278190080.offer("text/plain")
[737620.033]
wl_data_offer@4278190080.offer("application/x-kde-onlyReplaceEmpty")
[737620.035] wl_data_offer@4278190080.offer("text/plain;charset=utf-8")
[737620.037] wl_data_device@10.selection(wl_data_offer@4278190080)
[737620.041] zwp_primary_selection_device_v1@12.data_offer(new id
zwp_primary_selection_offer_v1@3633458032)
[738569.965]  -> wl_data_offer@4278190080.destroy()

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 439765] Clipboard is intermittently broken in the Wayland session

2021-07-12 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=439765

David Edmundson  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #1 from David Edmundson  ---
Please can you confirm that kate and konsole are both running in wayland mode.
One fast way is to run "xprop" and hover the two windows. If you get a +
cursor, it's X.

Please also attach 

WAYLAND_DEBUG=1 kate |& grep data

and try and isolate what happens when it fails to copy

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 439765] Clipboard is intermittently broken in the Wayland session

2021-07-12 Thread Andrey
https://bugs.kde.org/show_bug.cgi?id=439765

Andrey  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=424754

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 439765] Clipboard is intermittently broken in the Wayland session

2021-07-12 Thread Andrey
https://bugs.kde.org/show_bug.cgi?id=439765

Andrey  changed:

   What|Removed |Added

 CC||butir...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 439765] Clipboard is intermittently broken in the Wayland session

2021-07-12 Thread Kiril Vladimirov
https://bugs.kde.org/show_bug.cgi?id=439765

Kiril Vladimirov  changed:

   What|Removed |Added

 CC||ki...@vladimiroff.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 439765] Clipboard is intermittently broken in the Wayland session

2021-07-12 Thread Dennis Schridde
https://bugs.kde.org/show_bug.cgi?id=439765

Dennis Schridde  changed:

   What|Removed |Added

 CC||devuran...@gmx.net

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 439765] Clipboard is intermittently broken in the Wayland session

2021-07-11 Thread Alex
https://bugs.kde.org/show_bug.cgi?id=439765

Alex  changed:

   What|Removed |Added

 CC||alex...@protonmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.