<?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>416510</bug_id>
          
          <creation_ts>2020-01-20 21:40:34 +0000</creation_ts>
          <short_desc>Klipper applet closes itself when I click on a history item while the system tray popup is pinned open</short_desc>
          <delta_ts>2020-06-13 02:01:26 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>klipper</product>
          <component>plasma-widget</component>
          <version>5.18.5</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>usability</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="popov895">popov895</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>mattparry.nz</cc>
    
    <cc>nate</cc>
    
    <cc>popov895</cc>
          
          <cf_commitlink>https://commits.kde.org/plasma-workspace/175424169d18766565a9b105b76136c4113515e1</cf_commitlink>
          <cf_versionfixedin>5.19.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1904172</commentid>
    <comment_count>0</comment_count>
    <who name="popov895">popov895</who>
    <bug_when>2020-01-20 21:40:34 +0000</bug_when>
    <thetext>SUMMARY

When I pin a Klipper widget and then click on a history item, the Klipper widget closes.

STEPS TO REPRODUCE
1. Add some items to the Klipper
2. Open Llipper widget
3. Check &quot;Keep Open&quot; button in the top right corner
4. Press any item in the Klipper widget

OBSERVED RESULT

The Klipper widget closes.

EXPECTED RESULT

The Klipper widget remains opened.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: KDE Neon 5.17
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.13.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1904394</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-01-21 18:11:19 +0000</bug_when>
    <thetext>Confirmed. I think this is intentional, but clearly when you pin open the system tray popup, you&apos;re announcing your desire to have it stay open, and it&apos;s not respecting that desire. I wonder if this is fixable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1907765</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-02-05 19:58:12 +0000</bug_when>
    <thetext>*** Bug 417068 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1918720</commentid>
    <comment_count>3</comment_count>
    <who name="popov895">popov895</who>
    <bug_when>2020-03-28 21:59:12 +0000</bug_when>
    <thetext>Can anybody suggest me how to check if the plasmoid is pinned or not?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1918888</commentid>
    <comment_count>4</comment_count>
    <who name="popov895">popov895</who>
    <bug_when>2020-03-29 19:17:20 +0000</bug_when>
    <thetext>Submitted a patch: https://phabricator.kde.org/D28408</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1919174</commentid>
    <comment_count>5</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-03-31 15:30:08 +0000</bug_when>
    <thetext>Git commit 175424169d18766565a9b105b76136c4113515e1 by Nate Graham, on behalf of Eugene Popov.
Committed on 31/03/2020 at 15:30.
Pushed by ngraham into branch &apos;master&apos;.

[applets/clipboard]: Fix applet closing itself when clicking on a history item while the tray popup is pinned open

Summary:
When I pin a Klipper widget and then click on a history item, the Klipper widget closes.

To fix this bug, we need to check if Klipped is pinned, but to be able to do this, we also need to &quot;forward&quot; the pinned state from the SystemTray applet to the Klipper applet.
FIXED-IN: 5.19.0

Reviewers: ngraham, #plasma

Reviewed By: ngraham

Subscribers: davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D28408

M  +2    -1    applets/clipboard/contents/ui/ClipboardItemDelegate.qml
M  +4    -0    applets/systemtray/package/contents/ui/main.qml

https://commits.kde.org/plasma-workspace/175424169d18766565a9b105b76136c4113515e1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936464</commentid>
    <comment_count>6</comment_count>
    <who name="popov895">popov895</who>
    <bug_when>2020-06-12 15:51:00 +0000</bug_when>
    <thetext>Can be reproduced on Plasma 5.18.5 LTS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936615</commentid>
    <comment_count>7</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-06-13 02:01:26 +0000</bug_when>
    <thetext>It&apos;s fixed in 5.19</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>