<div dir="ltr">Hello everyone,<br>                         I have pushed a final patch for this defect. With this PR -><div><br>1- Autocomplete list will now be able to display list of 20(max) entries which can be scrolled with both mouse pointer and Up/Down arrow keys.<br>2- URL is now placed below the Url title so that more text is visible.<br>3- The visible length of the list is of 5 entries so it won't also not superimpose over the OSK.<br><br>Please review it and let me know if any further modification are required. :) <br><br>Regards,<br>Utkarsh Tiwari</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 2, 2016 at 4:18 AM, Utkarsh Tiwari <span dir="ltr"><<a href="mailto:iamutkarshtiwari@gmail.com" target="_blank">iamutkarshtiwari@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br>         I did some modifications to the code so that the "URL" is displayed below the title. I have also add the scroll feature to the search results which could be scrolled with the mouse pointer but the problem here is that the treeview is not scrolling with the 'key_up' and 'key_down' buttons. Any hints on how to fix that?<br><br>Regards,<div>Utkarsh Tiwari</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 29, 2016 at 4:49 AM, James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Sun, Feb 28, 2016 at 08:36:26PM +0530, Utkarsh Tiwari wrote:<br>
> I would like to work on this bug -><br>
> <a href="https://bugs.sugarlabs.org/ticket/4081" rel="noreferrer" target="_blank">https://bugs.sugarlabs.org/ticket/4081</a><br>
<br>
</span>Modify ticket, in the Action box click on accept, then Submit<br>
changes.  As a result, the Bug Status should change.<br>
<br>
Later, if you stop work on the bug, set the Bug Status to something<br>
other than Assigned or Accepted.<br>
<span><br>
> I went through the webtoolbar.py code and found that it uses cairo<br>
> to draw the url suggestion dropdown list below the URL bar.<br>
<br>
</span>Please use terminology consistent with the code; this is the<br>
SearchWindow you are talking about, right?  Assuming yes.<br>
<span><br>
> Could anyone here provide some details about to integrate<br>
> gtk.scrolledwindow or hints on how to get about it ?<br>
<br>
</span>It looks like point 2 of the ticket is half done.  SearchWindow is<br>
already a Gtk.TreeView inside a Gtk.ScrolledWindow inside a<br>
Gtk.Window.  So you don't need to integrate Gtk.ScrolledWindow.<br>
<br>
Looking at point 1, "put the URL below the title", _search_create_view<br>
in webtoolbar.py uses two standard Gtk.CellRendererText to build the<br>
TreeView cells.  I agree with Manuq-three-years-ago that a custom<br>
renderer may be needed.<br>
<br>
Look at our other custom renderers, e.g. src/sugar3/graphics/icon.py<br>
and PreviewRenderer in src/jarabe/journal/iconview.py.<br>
<br>
Start Epiphany and use the feature.  Review the C code used in<br>
Epiphany.<br>
<br>
Write a custom renderer.<br>
<span><font color="#888888"><br>
--<br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>