[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-06-05 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=468422

Nate Graham  changed:

   What|Removed |Added

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

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-05-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=468422

--- Comment #13 from Nate Graham  ---
If you're experiencing the same issue in another app, it could very well be an
issue in that app. Every clipboard-based issue needs to be separately
investigated, since it could be an issue in the source app, the target app, the
Plasma clipboard, KWin (on Wayland) or the X server (on X11). Please submit a
new bug report for it. Thanks!

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-05-26 Thread Lyubomir
https://bugs.kde.org/show_bug.cgi?id=468422

Lyubomir  changed:

   What|Removed |Added

 CC||liubomi...@gmail.com

--- Comment #12 from Lyubomir  ---
@Nate is this supposed to be fixed in 5.27.5? I have the same issue but with
Authy on a newly installed OpenSUSE Tumbleweed..

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-05-08 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=468422

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In|6.0 |5.27.5

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-05-08 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=468422

Nate Graham  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/plasma-workspace/commit/ |ma/plasma-workspace/commit/
   |c6d52910ebc1fb1abd89d286aec |16d7f44deac7621318be63438d0
   |9c24ca102db77   |f8b8923d165df

--- Comment #11 from Nate Graham  ---
Git commit 16d7f44deac7621318be63438d0f8b8923d165df by Nate Graham, on behalf
of Tobias Fella.
Committed on 08/05/2023 at 16:00.
Pushed by ngraham into branch 'Plasma/5.27'.

Fix Klipper empty prevention on wayland

When an application terminates, we receive a signal for the Selection and
restore it. While restoring it,
we also receive a signal for the Clipboard, but don't handle it since we're
currently locked due to the Selection.

This patch fixes that by creating separate locks for Selection and Clipboard.
(cherry picked from commit c6d52910ebc1fb1abd89d286aec9c24ca102db77)

M  +13   -10   klipper/klipper.cpp
M  +3-2klipper/klipper.h

https://invent.kde.org/plasma/plasma-workspace/commit/16d7f44deac7621318be63438d0f8b8923d165df

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-05-08 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=468422

--- Comment #10 from Nate Graham  ---
Yes, I'm doing the cherry-pick right now.

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-05-08 Thread postix
https://bugs.kde.org/show_bug.cgi?id=468422

--- Comment #9 from postix  ---
... and thanks Tobias!

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-05-08 Thread postix
https://bugs.kde.org/show_bug.cgi?id=468422

--- Comment #8 from postix  ---
@Nate, in the MR it says Milestone 5.27, not 6 :)

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-05-08 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=468422

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||6.0

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-05-08 Thread Tobias Fella
https://bugs.kde.org/show_bug.cgi?id=468422

Tobias Fella  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/plas
   ||ma/plasma-workspace/commit/
   ||c6d52910ebc1fb1abd89d286aec
   ||9c24ca102db77
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #7 from Tobias Fella  ---
Git commit c6d52910ebc1fb1abd89d286aec9c24ca102db77 by Tobias Fella.
Committed on 08/05/2023 at 14:48.
Pushed by tfella into branch 'master'.

Fix Klipper empty prevention on wayland

When an application terminates, we receive a signal for the Selection and
restore it. While restoring it,
we also receive a signal for the Clipboard, but don't handle it since we're
currently locked due to the Selection.

This patch fixes that by creating separate locks for Selection and Clipboard.

M  +13   -10   klipper/klipper.cpp
M  +3-2klipper/klipper.h

https://invent.kde.org/plasma/plasma-workspace/commit/c6d52910ebc1fb1abd89d286aec9c24ca102db77

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-05-08 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=468422

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

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

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-05-03 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=468422

whyhow3@gmail.com changed:

   What|Removed |Added

 CC||whyhow3@gmail.com

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

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

Nate Graham  changed:

   What|Removed |Added

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

--- Comment #5 from Nate Graham  ---
On Fedora 37 with Plasma 5.27.4 on Wayland, I can reproduce with those steps
and that file. In fact I can reproduce it with text in any PDF I open in
Okular.

When this happens, if I click on the history item in the Clipboard popup for
the text, I can then paste it. But until I do that, I cannot paste it, despite
it appearing as the first entry in the Clipboard popup.

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-04-12 Thread postix
https://bugs.kde.org/show_bug.cgi?id=468422

postix  changed:

   What|Removed |Added

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

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-04-12 Thread postix
https://bugs.kde.org/show_bug.cgi?id=468422

--- Comment #4 from postix  ---
Created attachment 158041
  --> https://bugs.kde.org/attachment.cgi?id=158041=edit
Screen recording

1) After copying _and_ Okular is still running, it shows 

```
Mime/type
text/plain   $copiedtext
text/... $copiedtext
```

2) After then exiting Okular, the clipboard content in the kwin debug console
vanishes _often / randomly_. Please see the screen recording.

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-04-12 Thread postix
https://bugs.kde.org/show_bug.cgi?id=468422

--- Comment #3 from postix  ---
(In reply to David Edmundson from comment #1)
> Can you confirm what the kwin debug console shows for the current clipboard
> during this

Never mind the last comment, I got you wrong; will check
> qdbus org.kde.KWin /KWin org.kde.KWin.showDebugConsole
now.

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-04-12 Thread postix
https://bugs.kde.org/show_bug.cgi?id=468422

--- Comment #2 from postix  ---
(In reply to David Edmundson from comment #1)
> Can you confirm what the kwin debug console shows for the current clipboard
> during this

kwin debug output shows the following. I could not find the keyword `clipboard`
in log

```
18:33:57 dolphin[2965]: QString::arg: 2 argument(s) missing in org.kde.okular
18:33:57 systemd[1975]: Started Okular - Dokumentenbetrachter.
18:33:57 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_DOWN → DEBOUNCE_EVENT_RELEASE →
DEBOUNCE_STATE_IS_UP_DETECTING_SPURIOUS
18:33:57 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_UP_DETECTING_SPURIOUS → DEBOUNCE_EVENT_TIMEOUT_SHORT →
DEBOUNCE_STATE_IS_UP_WAITING
18:33:57 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_UP_WAITING → DEBOUNCE_EVENT_TIMEOUT → DEBOUNCE_STATE_IS_UP
18:33:57 kwin_wayland[2056]: kwin_core: Provided presentation timestamp is
invalid: 335489 (current: 335490)
18:33:57 kwin_wayland[2056]: kwin_core: Provided presentation timestamp is
invalid: 335639 (current: 335640)
18:33:58 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - wheel state
WHEEL_STATE_NONE → WHEEL_EVENT_SCROLL → WHEEL_STATE_ACCUMULATING_SCROLL
18:33:58 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - wheel state
WHEEL_STATE_ACCUMULATING_SCROLL → WHEEL_EVENT_SCROLL_DIR_CHANGED →
WHEEL_STATE_NONE
18:33:58 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - wheel state
WHEEL_STATE_NONE → WHEEL_EVENT_SCROLL → WHEEL_STATE_ACCUMULATING_SCROLL
18:33:58 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - wheel state
WHEEL_STATE_ACCUMULATING_SCROLL → WHEEL_EVENT_SCROLL_ACCUMULATED →
WHEEL_STATE_SCROLLING
18:33:59 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - wheel state
WHEEL_STATE_SCROLLING → WHEEL_EVENT_SCROLL_TIMEOUT → WHEEL_STATE_NONE
18:34:00 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_UP → DEBOUNCE_EVENT_PRESS → DEBOUNCE_STATE_IS_DOWN_WAITING
18:34:00 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_DOWN_WAITING → DEBOUNCE_EVENT_TIMEOUT →
DEBOUNCE_STATE_IS_DOWN
18:34:00 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_DOWN → DEBOUNCE_EVENT_RELEASE →
DEBOUNCE_STATE_IS_UP_DETECTING_SPURIOUS
18:34:00 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_UP_DETECTING_SPURIOUS → DEBOUNCE_EVENT_TIMEOUT_SHORT →
DEBOUNCE_STATE_IS_UP_WAITING
18:34:00 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_UP_WAITING → DEBOUNCE_EVENT_TIMEOUT → DEBOUNCE_STATE_IS_UP
18:34:01 kwin_wayland[2056]: kwin_core: Provided presentation timestamp is
invalid: 339906 (current: 339907)
18:34:02 systemd[1975]:
app-org.kde.okular-4d4969472ff24f1b926beee0ba401dc1.scope: Consumed 1.681s CPU
time.
18:34:02 kwin_wayland[2056]: kwin_core: Provided presentation timestamp is
invalid: 340406 (current: 340407)
18:34:02 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_UP → DEBOUNCE_EVENT_PRESS → DEBOUNCE_STATE_IS_DOWN_WAITING
18:34:02 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_DOWN_WAITING → DEBOUNCE_EVENT_TIMEOUT →
DEBOUNCE_STATE_IS_DOWN
18:34:03 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_DOWN → DEBOUNCE_EVENT_RELEASE →
DEBOUNCE_STATE_IS_UP_DETECTING_SPURIOUS
18:34:03 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_UP_DETECTING_SPURIOUS → DEBOUNCE_EVENT_TIMEOUT_SHORT →
DEBOUNCE_STATE_IS_UP_WAITING
18:34:03 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_UP_WAITING → DEBOUNCE_EVENT_TIMEOUT → DEBOUNCE_STATE_IS_UP
18:34:03 kwin_wayland[2056]: kwin_core: Provided presentation timestamp is
invalid: 341122 (current: 341123)
18:34:03 kwin_wayland[2056]: kwin_core: Provided presentation timestamp is
invalid: 341139 (current: 341140)
18:34:04 kwin_wayland[2056]: kwin_core: Provided presentation timestamp is
invalid: 342639 (current: 342640)
18:34:05 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_UP → DEBOUNCE_EVENT_PRESS → DEBOUNCE_STATE_IS_DOWN_WAITING
18:34:05 kwin_wayland[2056]: kwin_core: Provided presentation timestamp is
invalid: 343256 (current: 343257)
18:34:05 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_DOWN_WAITING → DEBOUNCE_EVENT_TIMEOUT →
DEBOUNCE_STATE_IS_DOWN
18:34:05 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_DOWN → DEBOUNCE_EVENT_RELEASE →
DEBOUNCE_STATE_IS_UP_DETECTING_SPURIOUS
18:34:05 kwin_wayland[2056]: kwin_libinput: Libinput: event0  - debounce state:
DEBOUNCE_STATE_IS_UP_DETECTING_SPURIOUS → DEBOUNCE_EVENT_TIMEOUT_SHORT 

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-04-12 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=468422

David Edmundson  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 CC||k...@davidedmundson.co.uk
 Status|REPORTED|NEEDSINFO

--- Comment #1 from David Edmundson  ---
Can you confirm what the kwin debug console shows for the current clipboard
during this

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

[plasmashell] [Bug 468422] Copied text from PDFs in Okular show up in clipboard but cannot be directly pasted after closing Okular

2023-04-12 Thread postix
https://bugs.kde.org/show_bug.cgi?id=468422

postix  changed:

   What|Removed |Added

Summary|Copied text from PDFs in|Copied text from PDFs in
   |Okular show up in clipboard |Okular show up in clipboard
   |but cannot be directly  |but cannot be directly
   |pasted  |pasted after closing Okular

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