[plasmashell] [Bug 442521] buffer activated through Klipper's list can't be pasted to any panel's field

2022-04-13 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=442521

Nate Graham  changed:

   What|Removed |Added

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

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

[plasmashell] [Bug 442521] buffer activated through Klipper's list can't be pasted to any panel's field

2022-05-17 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=442521

--- Comment #6 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/kguiaddons/-/merge_requests/55

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

[plasmashell] [Bug 442521] buffer activated through Klipper's list can't be pasted to any panel's field

2022-05-17 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=442521

--- Comment #7 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1609

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

[plasmashell] [Bug 442521] buffer activated through Klipper's list can't be pasted to any panel's field

2021-10-30 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=442521

Patrick Silva  changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com

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

[plasmashell] [Bug 442521] buffer activated through Klipper's list can't be pasted to any panel's field

2022-12-07 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=442521

--- Comment #8 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/kguiaddons/-/merge_requests/80

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

[plasmashell] [Bug 442521] buffer activated through Klipper's list can't be pasted to any panel's field

2022-12-08 Thread David Redondo
https://bugs.kde.org/show_bug.cgi?id=442521

David Redondo  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/fram
   ||eworks/kguiaddons/commit/39
   ||84732e007e71632a525d89227fd
   ||fe94fa037ad
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #9 from David Redondo  ---
Git commit 3984732e007e71632a525d89227fdfe94fa037ad by David Redondo.
Committed on 08/12/2022 at 09:54.
Pushed by davidre into branch 'master'.

waylandclipboard: Update QClipboard when gaining focus

A process that owns the clipboard via KSystemClipboard (wlr-data-control)
and tries to read the clipboard via QClipboard  will deadlock itself and
eventually times out because the read is done blocking and the send event
is only received afterwards by WaylandClipboard.
When Qt knows it owns the keyboard it can get the data directly, so the
idea is to set QClipboard if possible. However this can be done only
when the Application has focus. Unfortunately inside Qt window system events
are delieverd asnycronously while QClipboard uses signal to indicate changes,
this makes QGuiApplication::focusWindowChanged not useable here because it
happens to late - after the QClipboard signal. For this reason we bind
to the wl_seat and track focus ourselves.
QClipboard takes ownership of QMimeData that is passed into it and so does
KSystemClipboard and ultimately DataControlSource which now uses unique_ptr
to signify this and make it clear that ownership is transferred when the
QClipboard is set.
Related: bug 454379

M  +5-0src/CMakeLists.txt
M  +106  -4src/systemclipboard/waylandclipboard.cpp
M  +3-0src/systemclipboard/waylandclipboard_p.h

https://invent.kde.org/frameworks/kguiaddons/commit/3984732e007e71632a525d89227fdfe94fa037ad

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

[plasmashell] [Bug 442521] buffer activated through Klipper's list can't be pasted to any panel's field

2022-12-08 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=442521

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||5.27

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

[plasmashell] [Bug 442521] buffer activated through Klipper's list can't be pasted to any panel's field

2022-12-08 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=442521

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In|5.27|5.102

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

[plasmashell] [Bug 442521] buffer activated through Klipper's list can't be pasted to any panel's field

2021-09-16 Thread Andrey
https://bugs.kde.org/show_bug.cgi?id=442521

Andrey  changed:

   What|Removed |Added

   Keywords||wayland

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

[plasmashell] [Bug 442521] buffer activated through Klipper's list can't be pasted to any panel's field

2021-09-16 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=442521

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk

--- Comment #1 from David Edmundson  ---
This is a tough one, Qt (in Qt code) blocks when it reads clipboard data, so we
block when trying to read data from ourselves.

Any use of threads to write the data won't help as it's too late, we're blocked
before we can get notified to send anything.

Potentially we can update the regular clipboard from inside system clipboard,
then Qt will think it owns the data and not try and fetch it remotely.

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

[plasmashell] [Bug 442521] buffer activated through Klipper's list can't be pasted to any panel's field

2021-09-16 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=442521

--- Comment #2 from David Edmundson  ---
We also have this problem the other way round, if you copy something within
plasma it won't get into the system clipboard.

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

[plasmashell] [Bug 442521] buffer activated through Klipper's list can't be pasted to any panel's field

2021-09-16 Thread Andrey
https://bugs.kde.org/show_bug.cgi?id=442521

--- Comment #3 from Andrey  ---
(In reply to David Edmundson from comment #2)
> We also have this problem the other way round, if you copy something within
> plasma it won't get into the system clipboard.

BTW, that way we get empty items in Klipper

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

[plasmashell] [Bug 442521] buffer activated through Klipper's list can't be pasted to any panel's field

2021-09-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=442521

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

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

[plasmashell] [Bug 442521] buffer activated through Klipper's list can't be pasted to any panel's field

2021-09-29 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=442521

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #4 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1086

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

[plasmashell] [Bug 442521] buffer activated through Klipper's list can't be pasted to any panel's field

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

David Edmundson  changed:

   What|Removed |Added

 CC||oii...@yahoo.com

--- Comment #5 from David Edmundson  ---
*** Bug 446835 has been marked as a duplicate of this bug. ***

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