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

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>1223</bug_id>
          
          <creation_ts>2011-07-07 01:39:42 +0000</creation_ts>
          <short_desc>[HOB] Stop vs. Force Stop needs more visual guidance</short_desc>
          <delta_ts>2011-08-01 23:11:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Hob</product>
          <component>hob</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Joshua Lock - Disabled">josh</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>liping.ke</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14583</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-07-07 01:39:42 +0000</bug_when>
    <thetext>Tree/Branch: Poky/Master
Commit: d4132fa12885fc050313a5c9aa6903e4fa92c94f

If I choose some packages or images in hob and start building, then click &quot;Stop
Build&quot;, there will be 3 options for me - &quot;Cancel&quot;, &quot;Stop&quot; and &quot;Force Stop&quot;. If
I choose &quot;Force Stop&quot; and select back to build something other again. It will show nothing and no any build happen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14596</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-07 10:22:08 +0000</bug_when>
    <thetext>I am familiar with this issue however I&apos;m not certain what to do about it. The force stop option could be removed or the dialog message could be enhanced to be more informative as to what the two options will do.

Any thoughts?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14597</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-07 10:24:27 +0000</bug_when>
    <thetext>For more information - force stop is the equivalent of hitting Ctrl-C at the console (knotty) UI until the build stops. Which can also result in an unusable build directory.

Unless anyone objects I will remove the Force Stop option. It seems right that the UI will protect the user from being unable to use it next run.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14600</commentid>
    <comment_count>3</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-07-07 10:34:22 +0000</bug_when>
    <thetext>I think that&apos;s a much clearer approach by removing the &quot;force stop&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14602</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-07 10:49:20 +0000</bug_when>
    <thetext>Be aware that this means the build won&apos;t actually be stopped until all of the running tasks have ended. If that&apos;s a long task like packaging the kernel you may be waiting some time. This is what I added the Force Stop option in the first place.

We could possibly add a two phased Stop -&gt; (optional) Force Stop for the impatient but I suppose we&apos;d want to add large warnings if we did that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14805</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-19 16:11:07 +0000</bug_when>
    <thetext>I&apos;ve developed a patch which leaves both Stop and Force Stop but explains them both and their ramifications.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14850</commentid>
    <comment_count>6</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-21 14:23:01 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=accd46c65f7eb51b96adb495efe9bcdbaacd4948</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15141</commentid>
    <comment_count>7</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-08-01 23:11:37 +0000</bug_when>
    <thetext>verify the bug with commit 46cf540e63a848512617b20fd8492f81bfb2f704, it&apos;s fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>