<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 14, 2015 at 2:33 AM, Sam Parkinson <span dir="ltr"><<a href="mailto:sam.parkinson3@gmail.com" target="_blank">sam.parkinson3@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div bgcolor="#FFFFFF" text="#000000"><div>Hi Gonzalo,<br><br>I have a very different opinion to you.  I think the current palette system works well for our needs.  I think it has very little bugs considering it is so important, most bugs in the query you sent were not related to the actual palette system just related to palete content.<br><br></div></div></div></blockquote><div><br></div><div>That is just because you didn't needed deal with that :)</div><div>Sorry, but I spent many hours fighting with that code, and can assure you</div><div>that we don't need add more functionality, but remove it.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div bgcolor="#FFFFFF" text="#000000"><div>I also think gtk popovers are not what we need.  Gtk popovers require Gtk 3.12, and sugar seems to require compatibility with 3.6 (f18).  The gtk window based system is very flexiable;  palettes/tooltips/toolbar popovers all in 1!  I would also say we don't want the style of animation gnome has implimented.  Even if we did, we could impliment it very quickly ourselfs as we have a more abstracted animation system and their animations require no size or other tricky info.  (the biggest issue with my patch is reliabaly getting the width and height for the animation to animate to)<br></div></div></div></blockquote><div><br></div><div>Is true that popovers is not a solution today, but looks like something we can use in the future.</div><div>I want note that the popovers implementation was discussed in GUADEC 2012,</div><div>with Sugar developers erikos and manuq, who provided feedback to make them </div><div>work as our palettes. </div><div>About the animations, I wouldn't take that videos as a reference about how the animations should look.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div bgcolor="#FFFFFF" text="#000000"><div>I agree the gtk menu based system is pretty fail through.  Maybe we should look at this as a design issue not a techinical one though.  Why does it need to expand outwards with submenues?  Could it expand downwards instead (like in the gnome power/user/network palette)?<br></div></div></div></blockquote><div><br></div><div>I think the first step to simplify our palettes is remove the gtk menu based.</div><div><br></div><div>One alternative is how you say, but then we need take care of the position of the palette,</div><div>by example, palettes at the bottom of the screen, or items at the bottom in the journal,</div><div>or what happen if you have many options (like many friends in "Send to...")</div><div><br></div><div>Another alternative is just open a modal window with the options,</div><div>like "Copy to..." open a window centered at the screen, modal,</div><div>with a title and the options. Android do something similar,</div><div>and that is what is proposed in #4768</div><div>I think that would be the easier and more expandable version.</div><div><br></div><div>Gonzalo</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div bgcolor="#FFFFFF" text="#000000"><div><br>Thanks,<br>Sam<br><br>Gonzalo Odiard wrote:</div><div><div class="h5"><blockquote type="cite"><div dir="ltr">I would not invest work in improving the palette animations for the following reasons:<div><br></div><div>* Right now, we have two different palettes implementations. The old, based in Gtk.Menu,</div><div>used only when we need submenus (Journal, Clipboard) and the new.</div><div>Was proposed remove the old implementation [1] </div><div>* The palette code is a nightmare, and now Gtk have the popovers,</div><div>that provide a similar functionality [2]</div><div>* There are a lot of bugs related to palettes [3]</div><div>* Popovers will implement animations [4]</div><div>* We can remove a lot of code. Remove code is better than write code :) </div><div><br></div><div>If I had free cpu cycles, I would invest in research if is possible theme</div><div>Gtk popovers to look as our palettes, and if there are any limitation </div><div>than could be a blocker. </div><div><br></div><div>Gonzalo</div><div><br></div><div>[1] <a>http://bugs.sugarlabs.org/ticket/4768</a></div><div>[2] <a>https://developer.gnome.org/gtk3/stable/GtkPopover.html</a></div><div>[3] <a>http://bugs.sugarlabs.org/query?status=accepted&status=assigned&status=new&status=reopened&description=~palette&col=id&col=summary&col=status&col=type&col=priority&col=milestone&col=component&order=priority</a></div><div>[4] <a>https://plus.google.com/+WorldofGnomeOrg/posts/Tf3xBLZi13E?pid=6118354207602136850&oid=112026213399155142823</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 12, 2015 at 5:23 AM, James Cameron <span dir="ltr"><<a>quozl@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">G'day Sam,<br>
<br>
I'm fine with that as long as the animations can be configured off for<br>
old hardware.<br>
<br>
I think the official video was artistic work, not an implementation.<br>
<span><font color="#888888"><br>
--<br>
James Cameron<br>
<a>http://quozl.linux.org.au/</a><br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a>Sugar-devel@lists.sugarlabs.org</a><br>
<a>http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Software for children learning <br></div></div></div>
</div></blockquote></div></div><pre cols="72">Sent Using Firefox OS</pre></div>
</div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Software for children learning <br></div></div></div>
</div></div>