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

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

    <bug>
          <bug_id>8782</bug_id>
          
          <creation_ts>2006-01-02 18:40:16 +0300</creation_ts>
          <short_desc>menu-method генерирует неверные пункты в меню для консольных приложений</short_desc>
          <delta_ts>2006-04-08 13:22:56 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>fluxbox</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></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Slava Semushin">php-coder</reporter>
          <assigned_to name="viy">viy</assigned_to>
          <cc>andy</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34368</commentid>
    <comment_count>0</comment_count>
    <who name="Slava Semushin">php-coder</who>
    <bug_when>2006-01-02 18:40:17 +0300</bug_when>
    <thetext>Столкнулся с проблемой при упаковке консольного приложения (который needs=text).
Оно не запускается из меню, так как menu-method для Fluxbox не корректно
софрмировал пункт меню для этой програмы:

[c0der@mycomp ~]$ grep netris .fluxbox/menu
         [exec] (Netris) {xvt  -e /usr/games/netris -T &quot;Netris&quot;}

Програма думает, что -T &quot;Netris&quot; это её аргументы и т.к. не знает о них, то и
запускаться отказывается. Вот кусок из menu-method Флакса:

 nstring(level(), &quot;   &quot;) &quot;[exec] (&quot; esc(title(), &quot;)&quot;) &quot;) {&quot; term() &quot; -T \&quot;&quot;
title() &quot;\&quot;}&quot; findIcon($icon) &quot;\n&quot;;

И теперь смотрим описание term():

function term()=\
    &quot;xvt &quot; \
        ifnempty($geometry,&quot;-geometry &quot;) $geometry \
    &quot; -e &quot; $command

В итоге получается, что я любо должен вообще убрать из менб метода возможность
задавать терминалу заголовок, либо это должно поддерживаться функцией term().
Иначе ни как нельзя, потому что:

       -e program [ arguments ... ]
               This  option  specifies the program (and its command line argu-
               ments) to be run in the xterm window.  It also sets the  window
               title  and  icon  name  to be the basename of the program being
               executed if neither -T nor -n are given on  the  command  line.
               This must be the last option on the command line.

Последняя строка в мане xterm выделена полужирным шрифтом даже.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34603</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2006-01-10 14:39:47 +0300</bug_when>
    <thetext>(In reply to comment #0) 
&gt; В итоге получается, что я любо должен вообще 
&gt; убрать из менб метода возможность задавать терминалу заголовок 
да </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34624</commentid>
    <comment_count>2</comment_count>
    <who name="Slava Semushin">php-coder</who>
    <bug_when>2006-01-11 10:17:56 +0300</bug_when>
    <thetext>(In reply to comment #1)
&gt; &gt; убрать из менб метода возможность задавать терминалу заголовок 
&gt; да 

Ok, тогда так и поступлю в новой сборке...

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37275</commentid>
    <comment_count>3</comment_count>
    <who name="Slava Semushin">php-coder</who>
    <bug_when>2006-04-08 13:16:58 +0400</bug_when>
    <thetext>REOPEN&apos;ed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37276</commentid>
    <comment_count>4</comment_count>
    <who name="Slava Semushin">php-coder</who>
    <bug_when>2006-04-08 13:19:02 +0400</bug_when>
    <thetext>- Reassign to me
- Chnage Component
- Change Summary</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37277</commentid>
    <comment_count>5</comment_count>
    <who name="Slava Semushin">php-coder</who>
    <bug_when>2006-04-08 13:21:14 +0400</bug_when>
    <thetext>- decrease Severity to major
- marked as FIXED

Fixed in fluxbox &gt;= 0.9.15</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37278</commentid>
    <comment_count>6</comment_count>
    <who name="Slava Semushin">php-coder</who>
    <bug_when>2006-04-08 13:22:19 +0400</bug_when>
    <thetext>[c0der@rock ~]$ grep netris .fluxbox/menu
         [exec] (Netris) {xvt  -e /usr/games/netris}

VERIFIED on fluxbox 0.9.15.1-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37279</commentid>
    <comment_count>7</comment_count>
    <who name="Slava Semushin">php-coder</who>
    <bug_when>2006-04-08 13:22:55 +0400</bug_when>
    <thetext>Successfully CLOSED</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>