<br><br><div class="gmail_quote">On Wed, Jan 26, 2011 at 6:55 PM, Barth Netterfield <span dir="ltr">&lt;<a href="mailto:netterfield@astro.utoronto.ca">netterfield@astro.utoronto.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><div class="gmail_quote"><div class="im">On Wed, Jan 26, 2011 at 6:12 PM, Nicolas Brisset <span dir="ltr">&lt;<a href="mailto:nicolas.brisset@free.fr" target="_blank">nicolas.brisset@free.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As a matter of fact, that would even solve one of the roadmap entries: &quot;empty labels not taken into account in plot dialog (needs one space)&quot;</blockquote></div><div class="im"><div><br></div></div><div>I think this problem is something else: IIRC the dialog foolishly uses an empty label to mean &#39;auto label&#39; so you can&#39;t actually ever have an empty lable... or something totally lame like that.</div>
<div class="im">
<div><br></div></div></div></blockquote><div><br></div><div>OK.  I looked into this.  The problem is with how the plot dialog decides if a line-edit is &#39;dirty&#39; and so should be applied, or not (eg,  Checkboxes are tristate, etc.).  If its not dirty, it isn&#39;t applied.  This comes up because of edit-multiple.   The current code uses empty to mean &#39;doesn&#39;t need to be applied&#39;.  Which is terrible if what you wanted to do was empty a label.</div>
<div><br></div><div>Clearly, if you are not in edit-multiple mode, it should be applied always.</div><div><br></div><div>If you are in edit multiple mode, you might or might not want to apply the label, (depending on if you have changed it or not) and you want some visual feedback that you have changed it.</div>
<div>proposals for edit multiple mode:</div><div><br></div><div>  -any change makes it dirty.  Make the label bold once you have made the change as visual feedback (or make it grey until modified).</div><div>  -preload the linedit with &quot;&lt;No Change&gt;&quot;.  If the user changes it, apply it.  Otherwise, don&#39;t.</div>
<div>  -add a &#39;use&#39; checkbox when in edit multiple mode.  It is automatically set if you modify the line edit, but can be unset if you change your mind</div><div>  -something else.</div><div><br></div><div><br></div>
<div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"></div>-- <br><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse;color:rgb(136, 136, 136)">C. Barth Netterfield<br>
University of Toronto<br>416-845-0946</span><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse;color:rgb(136, 136, 136)"><br></span></div><br>