[Sugar-devel] Browse: improve autocomplete list

Utkarsh Tiwari iamutkarshtiwari at gmail.com
Fri Mar 4 21:14:25 EST 2016


I am not able to register at the bug tracker. I am still getting the
"email verification" message.

email id- iamutkarshtiwari at gmail.com
username- iamutkarshtiwari

Thanks,
Utkarsh Tiwari

On 3/5/16, James Cameron <quozl at laptop.org> wrote:
> Thanks, I've updated the ticket.
>
> On Fri, Mar 04, 2016 at 07:01:07PM -0500, Walter Bender wrote:
>> I've not been able to get the user page in b.sl.o to respond in order to
>> end
>> run the problem with account verification. We have a serious maintenance
>> issue
>> with our trac instance.
>>
>> -walter
>>
>> On Fri, Mar 4, 2016 at 6:15 PM, James Cameron <[1]quozl at laptop.org>
>> wrote:
>>
>>     The ticket is still untouched.  Have access problem?
>>
>>     On Fri, Mar 04, 2016 at 04:11:15PM +0530, Utkarsh Tiwari wrote:
>>     > Hello everyone,
>>     >                          I have pushed a final patch for this
>> defect.
>>     With this
>>     > PR ->
>>     >
>>     > 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.
>>     > 2- URL is now placed below the Url title so that more text is
>> visible.
>>     > 3- The visible length of the list is of 5 entries so it won't also
>> not
>>     > superimpose over the OSK.
>>     >
>>     > Please review it and let me know if any further modification are
>>     required. :)
>>     >
>>     > Regards,
>>     > Utkarsh Tiwari
>>     >
>>     > On Wed, Mar 2, 2016 at 4:18 AM, Utkarsh Tiwari <[1][2]
>>     iamutkarshtiwari at gmail.com>
>>     > wrote:
>>     >
>>     >     Hello,
>>     >              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?
>>     >
>>     >     Regards,
>>     >     Utkarsh Tiwari
>>     >
>>     >     On Mon, Feb 29, 2016 at 4:49 AM, James Cameron <[2][3]
>>     quozl at laptop.org> wrote:
>>     >
>>     >         On Sun, Feb 28, 2016 at 08:36:26PM +0530, Utkarsh Tiwari
>> wrote:
>>     >         > I would like to work on this bug ->
>>     >         > [3][4]https://bugs.sugarlabs.org/ticket/4081
>>     >
>>     >         Modify ticket, in the Action box click on accept, then
>> Submit
>>     >         changes.  As a result, the Bug Status should change.
>>     >
>>     >         Later, if you stop work on the bug, set the Bug Status to
>>     something
>>     >         other than Assigned or Accepted.
>>     >
>>     >         > I went through the webtoolbar.py code and found that it
>> uses
>>     cairo
>>     >         > to draw the url suggestion dropdown list below the URL
>> bar.
>>     >
>>     >         Please use terminology consistent with the code; this is
>> the
>>     >         SearchWindow you are talking about, right?  Assuming yes.
>>     >
>>     >         > Could anyone here provide some details about to integrate
>>     >         > gtk.scrolledwindow or hints on how to get about it ?
>>     >
>>     >         It looks like point 2 of the ticket is half done.
>> SearchWindow
>>     is
>>     >         already a Gtk.TreeView inside a Gtk.ScrolledWindow inside a
>>     >         Gtk.Window.  So you don't need to integrate
>> Gtk.ScrolledWindow.
>>     >
>>     >         Looking at point 1, "put the URL below the title",
>>     _search_create_view
>>     >         in webtoolbar.py uses two standard Gtk.CellRendererText to
>> build
>>     the
>>     >         TreeView cells.  I agree with Manuq-three-years-ago that a
>> custom
>>     >         renderer may be needed.
>>     >
>>     >         Look at our other custom renderers, e.g.
>> src/sugar3/graphics/
>>     icon.py
>>     >         and PreviewRenderer in src/jarabe/journal/iconview.py.
>>     >
>>     >         Start Epiphany and use the feature.  Review the C code used
>> in
>>     >         Epiphany.
>>     >
>>     >         Write a custom renderer.
>>     >
>>     >         --
>>     >         James Cameron
>>     >         [4][5]http://quozl.netrek.org/
>>     >         _______________________________________________
>>     >         Sugar-devel mailing list
>>     >         [5][6]Sugar-devel at lists.sugarlabs.org
>>     >         [6][7]http://lists.sugarlabs.org/listinfo/sugar-devel
>>     >
>>     >
>>     > References:
>>     >
>>     > [1] mailto:[8]iamutkarshtiwari at gmail.com
>>     > [2] mailto:[9]quozl at laptop.org
>>     > [3] [10]https://bugs.sugarlabs.org/ticket/4081
>>     > [4] [11]http://quozl.netrek.org/
>>     > [5] mailto:[12]Sugar-devel at lists.sugarlabs.org
>>     > [6] [13]http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>     --
>>     James Cameron
>>     [14]http://quozl.netrek.org/
>>     _______________________________________________
>>     Sugar-devel mailing list
>>     [15]Sugar-devel at lists.sugarlabs.org
>>     [16]http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>> --
>> Walter Bender
>> Sugar Labs
>> [17]http://www.sugarlabs.org
>> [18]
>>
>> References:
>>
>> [1] mailto:quozl at laptop.org
>> [2] mailto:iamutkarshtiwari at gmail.com
>> [3] mailto:quozl at laptop.org
>> [4] https://bugs.sugarlabs.org/ticket/4081
>> [5] http://quozl.netrek.org/
>> [6] mailto:Sugar-devel at lists.sugarlabs.org
>> [7] http://lists.sugarlabs.org/listinfo/sugar-devel
>> [8] mailto:iamutkarshtiwari at gmail.com
>> [9] mailto:quozl at laptop.org
>> [10] https://bugs.sugarlabs.org/ticket/4081
>> [11] http://quozl.netrek.org/
>> [12] mailto:Sugar-devel at lists.sugarlabs.org
>> [13] http://lists.sugarlabs.org/listinfo/sugar-devel
>> [14] http://quozl.netrek.org/
>> [15] mailto:Sugar-devel at lists.sugarlabs.org
>> [16] http://lists.sugarlabs.org/listinfo/sugar-devel
>> [17] http://www.sugarlabs.org/
>> [18] http://www.sugarlabs.org/
>
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> --
> James Cameron
> http://quozl.netrek.org/
>


More information about the Sugar-devel mailing list