Re: [Sugar-devel] [Announcing] unstable 0.103.2 release and API, UI and String freeze.

2015-01-19 Thread James Cameron
On Mon, Jan 19, 2015 at 09:19:23AM +, Sam P. wrote:
 Hi James,
 On Sat Jan 17 2015 at 2:51:29 pm James Cameron [1]qu...@laptop.org wrote:
 [...]
 Tested on Fedora 20 on XO-4.
 
 The autocomplete of activity name in search entry (2ac6c3c) does work,
 though it can be disconcerting.  Perhaps it should mark the completion
 as selected text, so that further typing will erase it.  Be a slow
 typer and type C l o c k and you get Clockock.
 
 Hum, how slow is a slow typer?  I need to be typing at about 2 chars
 per second, but what is it like on the XO4?

Children with developmental disabilities or in the early stage of
keyboard learning will type slowly enough to trigger this problem.  It
can be easily reproduced on an XO-4 by typing one key every two
seconds.  I'm happy for this to be the test case descriptor.

 I don't think that selecting the text is the right approach.  If I
 am a slow typer, I would appreciate the computer autocompleting me
 :)

I disagree.  I think selecting the completion is the right approach.
It is how Firefox handles the issue.

That way, when the user does not observe the completion, any further
typing will immediately erase the completion.

Perhaps you haven't understood what I mean.  Imagine this:

- empty field,

- press 'c', the 'c' appears,

- after one second delay, autocomplete is ambiguous (clock, chat,
  record, physics, stopwatch, calculate), so nothing further happens,

- press 'l', the 'l' appears,

- after one second delay, autocomplete is unambiguous, so 'ock' is
  added to the text, and 'ock' is to be highlighted as selected text,

- press 'o', the selected 'ock' is erased, and the 'o' appears,

- after one second delay, autocomplete is unambiguous, so 'ck' is
  added to the text, and 'ck' is highlighted as selected text,

At the moment, without a fix, 'Clocko' is in the field.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release JAMTank-3

2015-01-19 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4364

Sugar Platform:
0.82 - 0.102

Download Now:
http://activities.sugarlabs.org/downloads/file/29072/jamtank-3.xo

Release notes:



Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Announcing] unstable 0.103.2 release and API, UI and String freeze.

2015-01-19 Thread Sam P.
Hi James,

On Sat Jan 17 2015 at 2:51:29 pm James Cameron qu...@laptop.org wrote:

 [...]

 Tested on Fedora 20 on XO-4.

 The autocomplete of activity name in search entry (2ac6c3c) does work,
 though it can be disconcerting.  Perhaps it should mark the completion
 as selected text, so that further typing will erase it.  Be a slow
 typer and type C l o c k and you get Clockock.


Hum, how slow is a slow typer?  I need to be typing at about 2 chars per
second, but what is it like on the XO4?

I don't think that selecting the text is the right approach.  If I am a
slow typer, I would appreciate the computer autocompleting me :)



 Busy cursor during activity launch doesn't appear to work.  There was
 no attempt to flush the display.  No idea if there was a ticket for
 this, it isn't mentioned in the commit:

 https://github.com/sugarlabs/sugar/commit/6c8141ba9994d8ec1f5e29d5ec7e39
 34091636ee

 Can be fixed by using the technique in the following commit:

 https://github.com/sugarlabs/sugar/commit/726aaeeff70848b7f31c7ae6e4392a
 4d49f2d7d1

 I'm not touching it for a few days in case GCI team want to take it
 on.


Good catch!  I have made a patch
https://github.com/sugarlabs/sugar/pull/475

Thanks,
Sam
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] sugar and python-dateutil in Fedora 22

2015-01-19 Thread Peter Robinson
On Mon, Jan 19, 2015 at 3:15 AM, James Cameron qu...@laptop.org wrote:
 On Mon, Jan 19, 2015 at 02:43:10AM +, Peter Robinson wrote:
 The sugar toolkit (for both gtk2 and gtk3) uses python-dateutil and
 they're rebasing it from 1.5 to 2.x, would it be possible for someone
 to review to see if there's any changes needed in the code please?

 Checked on Fedora 20, no issues seen.

 Method #1, install package python-dateutil-2.2-1.fc22.noarch.rpm,
 restart Sugar, test Sugar desktop functions, test my settings, test
 journal, test several activities.

 Method #2, static analysis; the only use in sugar-toolkit-gtk{,3} is
 in a private function _extract_modification_time in
 src/sugar3/activity/i18n.py which is for PO file revision date
 parsing, and there's no caller of the function in sugar,
 sugar-toolkit-gtk3, or the activity set in my builds, or any of the
 .py files in /usr/lib/.  (It might be removed as unused?)

 Method #3, manual checking of the feature used by the function, with
 two of the revision dates in the Record activity PO files, against 2.x;

Hi James, thanks for the update. So if I read the above correctly
there's only one function that uses it in the toolkits, it works fine
with the new version, but there doesn't appear to be any Activity that
actually uses the function?

Peter
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] sugar and python-dateutil in Fedora 22

2015-01-19 Thread James Cameron
On Mon, Jan 19, 2015 at 10:00:57AM +, Peter Robinson wrote:
 On Mon, Jan 19, 2015 at 3:15 AM, James Cameron qu...@laptop.org wrote:
  On Mon, Jan 19, 2015 at 02:43:10AM +, Peter Robinson wrote:
  The sugar toolkit (for both gtk2 and gtk3) uses python-dateutil and
  they're rebasing it from 1.5 to 2.x, would it be possible for someone
  to review to see if there's any changes needed in the code please?
 
  Checked on Fedora 20, no issues seen.
 
  Method #1, install package python-dateutil-2.2-1.fc22.noarch.rpm,
  restart Sugar, test Sugar desktop functions, test my settings, test
  journal, test several activities.
 
  Method #2, static analysis; the only use in sugar-toolkit-gtk{,3} is
  in a private function _extract_modification_time in
  src/sugar3/activity/i18n.py which is for PO file revision date
  parsing, and there's no caller of the function in sugar,
  sugar-toolkit-gtk3, or the activity set in my builds, or any of the
  .py files in /usr/lib/.  (It might be removed as unused?)
 
  Method #3, manual checking of the feature used by the function, with
  two of the revision dates in the Record activity PO files, against 2.x;
 
 Hi James, thanks for the update. So if I read the above correctly
 there's only one function that uses it in the toolkits, it works fine
 with the new version, but there doesn't appear to be any Activity that
 actually uses the function?

Yes.

Didn't look in Sugar Labs infrastructure.

Didn't look in all Activities.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release IRC-11

2015-01-19 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4029

Sugar Platform:
0.82 - 0.102

Download Now:
http://activities.sugarlabs.org/downloads/file/29071/irc-11.xo

Release notes:
* Added summary, repository fields to activity.info, by ignacio
* Add connect/disconnect button by gtrinidad
* Ping notifications when the window is not opened. + Audio notifications by 
ignacio
* Use xo colors, and black and white for tabs by ignacio
* Set locale for default room in IRC by ignacio
* Autopep8 to all code, by ignacio
* Use json instead of simplejson, by godiard
* Gtk3 port by aneesh, godiard
* Edited the activity icon. Fixed #4126 by ignacio


Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel