<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>54239</bug_id>
          
          <creation_ts>2025-05-12 22:44:54 +0300</creation_ts>
          <short_desc>xclip in XWayland</short_desc>
          <delta_ts>2025-06-13 16:10:01 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>xclip</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="ildar">ildar</reporter>
          <assigned_to name="arei@altlinux.org">arei</assigned_to>
          <cc>arei</cc>
    
    <cc>gorjachevas</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>264580</commentid>
    <comment_count>0</comment_count>
    <who name="ildar">ildar</who>
    <bug_when>2025-05-12 22:44:54 +0300</bug_when>
    <thetext>&gt; for i in `seq 6`; do echo &quot;whatever&quot; | xclip -in -selection primary ; pidof xclip; sleep 1; done

по документации новый экземпляр должен завершать предыдущий. Но этого не происходит, плодится 6 xclip-ов.

Среда: Hyprland. Вероятно, воспроизведётся и в других Wayland-композиторах.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>266352</commentid>
    <comment_count>1</comment_count>
    <who name="ildar">ildar</who>
    <bug_when>2025-06-03 13:54:22 +0300</bug_when>
    <thetext>Прошу команду QA проверить наличие проблемы в порядке очереди на p11, если возможно. Спасибо.

P.S. на других дистрах не воспроизводится, что-то у нас в Альте не так.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>267163</commentid>
    <comment_count>2</comment_count>
    <who name="Алексей Горячев">gorjachevas</who>
    <bug_when>2025-06-13 15:58:38 +0300</bug_when>
    <thetext>Платформы:
Alt Workstation K 11 x86-64
Alt Workstation 11 x86-64

Пакет:
xclip-0.13-alt3

Шаги воспроизведения:
1. # apt-get install xclip
2. # for i in `seq 6`; do echo &quot;whatever&quot; | xclip -in -selection primary ; pidof xclip; sleep 1; done

Ожидаемый результат:
Каждый следующий экземпляр xclip завершает предыдущий

Реальный результат:
xclip не завершает прошлые процессы и образуется 6 процессов.

Дополнительно:
Воспроизводится в Sisyphus, независимо от сессии (Wayland/X11/Gnome).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>267164</commentid>
    <comment_count>3</comment_count>
    <who name="ildar">ildar</who>
    <bug_when>2025-06-13 16:10:01 +0300</bug_when>
    <thetext>спасибо.

А тем временем, для Wayland есть банальный workaround: wl-clipboard</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>