<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>493386</bug_id>
          
          <creation_ts>2024-09-19 22:57:55 +0000</creation_ts>
          <short_desc>clipboard history window leaks input to previously focused application</short_desc>
          <delta_ts>2024-10-04 23:36:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Clipboard widget &amp; pop-up</component>
          <version>6.1.5</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>484992</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Gabriel Barros">descartavel1</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2357504</commentid>
    <comment_count>0</comment_count>
    <who name="Gabriel Barros">descartavel1</who>
    <bug_when>2024-09-19 22:57:55 +0000</bug_when>
    <thetext>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&apos;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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2357539</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-09-20 01:52:27 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 489325 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2362920</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-10-04 23:36:28 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 484992 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>