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

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

    <bug>
          <bug_id>32252</bug_id>
          
          <creation_ts>2016-07-06 21:08:42 +0300</creation_ts>
          <short_desc>При копировании добавляются символы 0~1~ : xfce4-terminal is using an old version of vte</short_desc>
          <delta_ts>2017-01-08 05:35:08 +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>xfce4-terminal</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://unix.stackexchange.com/questions/196098/copy-paste-in-xfce4-terminal-adds-0-and-1</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>32929</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Danil Mikhaylov">danil</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>cas</cc>
    
    <cc>imz</cc>
    
    <cc>lav</cc>
    
    <cc>mike</cc>
    
    <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>157578</commentid>
    <comment_count>0</comment_count>
    <who name="Danil Mikhaylov">danil</who>
    <bug_when>2016-07-06 21:08:42 +0300</bug_when>
    <thetext>Например так:
0~/boot/grub/grub.cfg1~

При копировании
/boot/grub/grub.cfg

Описание причины:
The issue is that your terminal is in bracketed paste mode, but doesn’t seem to support it properly. The issue was fixed in VTE, but xfce4-terminal is still using an old and unmaintained version of it.

http://unix.stackexchange.com/questions/196098/copy-paste-in-xfce4-terminal-adds-0-and-1

Обход проблемы:
Ввести
printf &quot;\e[?2004l&quot;

Помогает на некотрое время.

Решение:
Пересобрать xfce4-terminal c новым VTE

Описание:
http://cirw.in/blog/bracketed-paste</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157579</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2016-07-06 21:11:20 +0300</bug_when>
    <thetext>Сейчас xfce4-terminal собран с libvte
Ср ноя 23 2011 Yuri N. Sedunov &lt;aris@altlinux.org&gt; 0.28.2-alt2

libvte.so.9()(64bit) &gt;= set:lfbSeaA8mLRZBIoTK1xcZiMa2qVnqYDFh6tKvxgk6ZwZKWG9cpAjblQOYhf5ZEHbR91eZlOKwlR9TsZ4bZK60SB7bJvm9RZjRZyjAjh8AbjCbag5x7d1w0km6 нужен для xfce4-terminal-0.6.3-alt2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157585</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2016-07-07 11:46:04 +0300</bug_when>
    <thetext>На Sisyphus.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157705</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2016-07-21 00:30:14 +0300</bug_when>
    <thetext>Схожая бага с проблемой в Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=1353216

Вообще в Debian пишут, что новая vte работает только с gtk3, поэтому сборка требует портирования xfce4 на gtk3:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790195

The bigger change for 4.14 is the port / upgrade to GTK+ 3.x.
http://blog.alteroot.org/articles/2016-04-12/road-to-xfce-4.14.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157975</commentid>
    <comment_count>4</comment_count>
    <who name="Mikhail Efremov">sem</who>
    <bug_when>2016-08-05 19:05:27 +0300</bug_when>
    <thetext>https://bugzilla.altlinux.org/show_bug.cgi?id=31856#c5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157981</commentid>
    <comment_count>5</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2016-08-07 01:57:54 +0300</bug_when>
    <thetext>(В ответ на комментарий №4)
&gt; https://bugzilla.altlinux.org/show_bug.cgi?id=31856#c5
Потестил, всё отлично. Предлагаю отправить в Сизиф, а после небольшой паузы — и в p8.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158248</commentid>
    <comment_count>6</comment_count>
    <who name="Mikhail Efremov">sem</who>
    <bug_when>2016-08-23 16:21:21 +0300</bug_when>
    <thetext>Меня смущает, что оно на gtk3, при том, что почти весь остальной Xfce на gtk2.
Я планирую откладывать сборку нового Xfce на gtk3 настолько долго, насколько это возможно.
Впрочем, в данном конкретном случае плюсы vte3 все же перевешивают минусы, видимо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158254</commentid>
    <comment_count>7</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2016-08-23 18:41:39 +0300</bug_when>
    <thetext>xfce4-terminal-0.6.90-alt1 -&gt; sisyphus:

* Fri Aug 05 2016 Mikhail Efremov &lt;sem@altlinux&gt; 0.6.90-alt1
- Enable debug (minimum level).
- Updated to 0.6.90 (closes: #31856, #32252).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>