<html><body bgcolor="#FFFFFF"><div>On 24 Jun 2010, at 16:20, Martin Langhoff <<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>> wrote:<br> </div><div></div><blockquote type="cite"><div><span>Talking with the PerĂº team a few days ago about F11/S0.84 (both on</span><br><span>xo-1.5 and xo-1)</span><br><span></span><br><span>Teachers and testers were very confused with the 'share' option in</span><br><span>activities where sharing does nothing, or is seriously buggy. To avoid</span><br><span>confusing users, they are looking into removing the 'share' option</span><br><span>from most activities.</span><br><span></span><br><span>This is practical and executive for them short-term; of course the</span><br><span>right fix is for activities do call up the 'share' option only where</span><br><span>actual sharing code exists and is known to work...</span><br><span></span><br><span>What is the right fix? Do we want a list of activities where it should</span><br><span>be removed, and prod the maintainers, and only file bugs for those</span><br><span>that don't respond soonish?</span><br></div></blockquote><div><font class="Apple-style-span" face="'Bitstream Vera Sans Mono', Monaco, 'Courier New', Courier, monospace" size="4"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 15px; line-height: 13px; white-space: pre-wrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.289062); -webkit-composition-fill-color: rgba(175, 192, 227, 0.222656); -webkit-composition-frame-color: rgba(77, 128, 180, 0.222656);"><font class="Apple-style-span" face="Helvetica" size="5"><span class="Apple-style-span" style="border-collapse: separate; font-size: 17px; line-height: normal; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.300781); -webkit-composition-fill-color: rgba(175, 192, 227, 0.234375); -webkit-composition-frame-color: rgba(77, 128, 180, 0.234375);"><br></span></font></span></font></div><div><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace"><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469);">Making a list of the offenders and posting would be a start, but remember to state the release you are targeting/testing. <span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.28125); -webkit-composition-fill-color: rgba(175, 192, 227, 0.214844); -webkit-composition-frame-color: rgba(77, 128, 180, 0.214844); ">Here's a likely large chunk of the problem...</span></span></font></div><div><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace"><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);"><br></span></font></div><div><font class="Apple-style-span" face="'Bitstream Vera Sans Mono', Monaco, 'Courier New', Courier, monospace" size="4"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 15px; line-height: 13px; white-space: pre-wrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: 17px; line-height: normal; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">For Sugar 0.86 and above the new toolbars will disable the sharing UI with:</span></span></font></div><div><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace"><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);"><br></span></font></div><div><font class="Apple-style-span" face="'Bitstream Vera Sans Mono', Monaco, 'Courier New', Courier, monospace" size="4"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 15px; line-height: 13px; white-space: pre-wrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: 17px; line-height: normal; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">    self.max_participants = 1</span></span></font></div><div><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace"><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.289062); -webkit-composition-fill-color: rgba(175, 192, 227, 0.222656); -webkit-composition-frame-color: rgba(77, 128, 180, 0.222656);"><br></span></font></div><div><font class="Apple-style-span" face="'Bitstream Vera Sans Mono', Monaco, 'Courier New', Courier, monospace" size="4"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 15px; line-height: 13px; white-space: pre-wrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);"><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace" size="5"><span class="Apple-style-span" style="border-collapse: separate; font-size: 17px; line-height: normal; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);">For Sugar 0.82 the trick was:</span></font></span></font></div><div><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace"><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.289062); -webkit-composition-fill-color: rgba(175, 192, 227, 0.222656); -webkit-composition-frame-color: rgba(77, 128, 180, 0.222656);"><br></span></font></div><div><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace"><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.285156); -webkit-composition-fill-color: rgba(175, 192, 227, 0.21875); -webkit-composition-frame-color: rgba(77, 128, 180, 0.21875);">    activity_toolbar = toolbox.get_activity_toolbar()</span></font></div><div><font class="Apple-style-span" face="'Bitstream Vera Sans Mono', Monaco, 'Courier New', Courier, monospace" size="4"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 15px; line-height: 13px; white-space: pre-wrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);"><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace" size="5"><span class="Apple-style-span" style="border-collapse: separate; font-size: 17px; line-height: normal; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);">    activity_toolbar.share.props.visible = False</span></font></span></font></div><div><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace"><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.289062); -webkit-composition-fill-color: rgba(175, 192, 227, 0.222656); -webkit-composition-frame-color: rgba(77, 128, 180, 0.222656);"><br></span></font></div><div><font class="Apple-style-span" face="'Bitstream Vera Sans Mono', Monaco, 'Courier New', Courier, monospace" size="4"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 15px; line-height: 13px; white-space: pre-wrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);"><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace" size="5"><span class="Apple-style-span" style="border-collapse: separate; font-size: 17px; line-height: normal; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);">For Sugar 0.84 the trick seems to be:</span></font></span></font></div><div><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace"><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.289062); -webkit-composition-fill-color: rgba(175, 192, 227, 0.222656); -webkit-composition-frame-color: rgba(77, 128, 180, 0.222656);"><br></span></font></div><div><font class="Apple-style-span" face="'Bitstream Vera Sans Mono', Monaco, 'Courier New', Courier, monospace" size="4"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 15px; line-height: 13px; white-space: pre-wrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);"><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace" size="5"><span class="Apple-style-span" style="border-collapse: separate; font-size: 17px; line-height: normal; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);">    activity_toolbar = toolbox.get_activity_toolbar()</span></font></span></font></div><div><font class="Apple-style-span" face="'Bitstream Vera Sans Mono', Monaco, 'Courier New', Courier, monospace" size="4"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 15px; line-height: 13px; white-space: pre-wrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);"><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace" size="5"><span class="Apple-style-span" style="border-collapse: separate; font-size: 17px; line-height: normal; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);">    activity_toolbar.share.hide()</span></font></span></font></div><div><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace"><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.289062); -webkit-composition-fill-color: rgba(175, 192, 227, 0.222656); -webkit-composition-frame-color: rgba(77, 128, 180, 0.222656);"><br></span></font></div><div><font class="Apple-style-span" face="'Bitstream Vera Sans Mono', Monaco, 'Courier New', Courier, monospace" size="4"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 15px; line-height: 13px; white-space: pre-wrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);"><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace" size="5"><span class="Apple-style-span" style="border-collapse: separate; font-size: 17px; line-height: normal; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);">I've not noticed an elegant way to detect Sugar versions other than try: except: clauses around some newer modules, with fallback to 0.82 code. Anyone point to a specific activity doing this type of thing nicely?</span></font></span></font></div><div><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace"><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.289062); -webkit-composition-fill-color: rgba(175, 192, 227, 0.222656); -webkit-composition-frame-color: rgba(77, 128, 180, 0.222656);"><br></span></font></div><div><font class="Apple-style-span" face="'Bitstream Vera Sans Mono', Monaco, 'Courier New', Courier, monospace" size="4"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 15px; line-height: 13px; white-space: pre-wrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);"><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace" size="5"><span class="Apple-style-span" style="border-collapse: separate; font-size: 17px; line-height: normal; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);">Regards,</span></font></span></font></div><div><font class="Apple-style-span" face="'Bitstream Vera Sans Mono', Monaco, 'Courier New', Courier, monospace" size="4"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 15px; line-height: 13px; white-space: pre-wrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);"><font class="Apple-style-span" face="Helvetica, Monaco, 'Courier New', Courier, monospace" size="5"><span class="Apple-style-span" style="border-collapse: separate; font-size: 17px; line-height: normal; white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);">--Gary    </span></font></span></font><div><span class="Number"></span><font class="Apple-style-span" face="'Bitstream Vera Sans Mono', Monaco, 'Courier New', Courier, monospace" size="4"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 15px; line-height: 13px; white-space: pre-wrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562);"><br></span></font><blockquote type="cite"><div><span></span><span>(The above would be an informal copy of the "mass bug filing" protocol</span><br><span>@ Debian.)</span><br><span></span><br><span></span><br><span>m</span><br><span>-- </span><br><span> <a href="mailto:martin.langhoff@gmail.com"><a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a></a></span><br><span> <a href="mailto:martin@laptop.org">martin@laptop.org</a> -- School Server Architect</span><br><span> - ask interesting questions</span><br><span> - don't get distracted with shiny stuff  - working code first</span><br><span> - <a href="http://wiki.laptop.org/go/User:Martinlanghoff"><a href="http://wiki.laptop.org/go/User:Martinlanghoff">http://wiki.laptop.org/go/User:Martinlanghoff</a></a></span><br><span>_______________________________________________</span><br><span>Sugar-devel mailing list</span><br><span><a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a></span><br><span><a href="http://lists.sugarlabs.org/listinfo/sugar-devel">http://lists.sugarlabs.org/listinfo/sugar-devel</a></span><br></div></blockquote></div></div></body></html>