Bug 439945 - I would love these Netbeans Clipboard behaviors on Klipper
Summary: I would love these Netbeans Clipboard behaviors on Klipper
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (other bugs)
Version First Reported In: 5.18.5
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-16 12:31 UTC by nulll
Modified: 2022-02-17 10:00 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nulll 2021-07-16 12:31:28 UTC
It would be great for Klipper to have some of the functionalities / behaviors of the Netbeans Clipboard window.

I have created a couple of videos to better explain what I mean.

1. with Netbeans when I select an entry, it is automatically pasted. With Klipper when I select an entry, I must paste it manually (Ctrl + V).
I fill this as an extra-step that coul'd be removed... 

https://drive.google.com/file/d/1ZbH_rjSfpvr8P7vaJK8E-wnwz7SyceKT/view?usp=sharing

2. with Netbeans I can select an entry selecting his index number (1,2,3,4...)

https://drive.google.com/file/d/1mkJiQvIGvlzgfJzatKlAhGmXseHL_omh/view?usp=sharing

3.in Netbeans the clipboard window opens where the keyboard caret is, in Klipper the window opens wehre the mouse cursor is, I find this "unexpected". 

https://drive.google.com/file/d/1XZtjFm-P_NcIfHr0bMIpSIjjzqCQOs10/view?usp=sharing

Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.8.0-59-generic
Comment 1 Alex 2022-02-17 09:39:16 UTC
As a netbeans user I agree with these suggestions!

They would be very useful.
Comment 2 David Edmundson 2022-02-17 09:57:50 UTC
Please don't put multiple things in a bug report. 

1. with Netbeans when I select an entry, it is automatically pasted. 

We can't reliably do this on X11. The client requests the clipboard contents. We cannot reliably tell the client to request things.

>3.in Netbeans the clipboard window opens where the keyboard caret is,

We don't know where the keyboard caret is because it's in another process.

---

There is a caveat to all of these. Under wayland, klipper can use the virtual keyboard interface to potentially get this information.
This is something we will revisit later.
Comment 3 Alex 2022-02-17 10:00:39 UTC
> We can't reliably do this on X11. The client requests the clipboard contents. We cannot reliably tell the client to request things.

Does wayland help in this context?