Bug 370732 - klipper faulty behaviour when launched twice (erratic interaction with clipboard/input)
Summary: klipper faulty behaviour when launched twice (erratic interaction with clipbo...
Status: RESOLVED WORKSFORME
Alias: None
Product: klipper
Classification: Applications
Component: plasma-widget (show other bugs)
Version: 5.8.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Flöser
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-14 08:07 UTC by Cyril Chaboisseau
Modified: 2021-05-01 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cyril Chaboisseau 2016-10-14 08:07:09 UTC
I've been struggling with a strange/erratic behaviour when inputing data in a program (in this case, it was grisbi but it could be with other programs as well) to finally discover it was klipper's interaction that causes some buggy interaction with the clipboard

in grisbi, one as to enter values in successive input fields and the symptom I had was that every time I had drop-down lists with a pre-selected value, this value that normally stays selected/highlighted just got unselected after a very short time (usually tenths of a seconds)
that particular behaviour was very disturbing to effectively use that particular software

and after digging a bit, I discovered that 2 instances of klipper was launched (and both appeared in the system tray with few differences between the two)

one was launched through the plasmashell program (I found it with lsof that relate the pid to the klipper.mo file)
and the other one was launch with the klipper binary (/usr/bin/klipper)

and both instances show different menus: for instance, only the latter (the real klipper process) can be stopped with the "Quit" through the menu

so, once I managed to stop the klipper program, everything was back to normal

it seems to me that the clipboard interaction is so buggy when those 2 klipper are launch, that it would be important to avoid such situation, maybe by forbidding /usr/bin/klipper altogether, or at least to test when launch that another instance is not already interacting with the clipboard

Reproducible: Always

Steps to Reproduce:
1. check that klipper is already launched through plasmashell (lsof | grep klipper)
2. launch /usr/bin/klipper (it should not be running)
3. use a software that interacts heavily with clipboard and proposes a pre-selected drop-down list (in my example, grisbi is a very good candidate, but I could not find another one)

Actual Results:  
pre-selected fields just got unselected very quickly, making it hard to type another value, thus, by typing something else it gets appends at the end of the existing 

Expected Results:  
the normal behaviour would be that it stays selected, hence allowing easy replacement of the value
Comment 1 Nate Graham 2021-04-01 20:17:23 UTC
Is this still reproducible in Plasma 5.21?
Comment 2 Bug Janitor Service 2021-04-16 04:33:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2021-05-01 04:33:38 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!