Bug 493386 - clipboard history window leaks input to previously focused application
Summary: clipboard history window leaks input to previously focused application
Status: RESOLVED DUPLICATE of bug 484992
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (show other bugs)
Version: 6.1.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-19 22:57 UTC by Gabriel Barros
Modified: 2024-10-04 23:36 UTC (History)
1 user (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 Gabriel Barros 2024-09-19 22:57:55 UTC
SUMMARY
Often, when using the clipboard history, invoked via keyboard shortcut, the inputs it receive (and processes) will also show up on the previous selected application (now behind the clipboard history window), cause major havoc.

I've noticed this happen on QT applications (e.g. dolphin), GTK (e.g. firefox), X (e.g. xterm).

STEPS TO REPRODUCE
1. while working on an application (e.g. vim, under Xterm, under plasmasession)
2. press the klipper shortcut for history (default meta+v)
3. press up/down to select the entry and Return to select it.

OBSERVED RESULT
the up/down/Return keys where passed to the previously focused application!

EXPECTED RESULT
Nothing to have changed on the application under the history window.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 PRO 6650U with Radeon Graphics

ADDITIONAL INFORMATION
Happens on two system. One have default KDE upstream settings. Another have focus-follow-mouse (medium focus stealing prevention)

It usually happens a couple times early in the session. And the stops. Haven't noticed it return after stopping. No clue on root cause. Tried all sorts of carefully windows focus control. Clicking the clipboard history before key presses, etc. Nothing changes. But I also cannot say what triggers it to stop happening.
Comment 1 Nate Graham 2024-09-20 01:52:27 UTC

*** This bug has been marked as a duplicate of bug 489325 ***
Comment 2 Nate Graham 2024-10-04 23:36:28 UTC

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