[Sugar-devel] [PATCH] Use 'focus-out' event instead of 'changed' event for title entry

Simon Schampijer simon at schampijer.de
Thu Jun 16 08:27:29 EDT 2011


Hi,

the patch does fix the bug where the cursor moves to the beginning of 
the entry field while trying to edit the activity instance name [1][2].

Daniel and myself have been going through the old discussions and the 
0.84 code and came up with two possible solutions [3][4]. Both do work 
and fullfill the test cases mentioned in the d.l.o ticket [5]. Both have 
down and upsides, either adding API [4], or having to find the title 
entry in a complex loop in order to scope for the different available 
toolbar solutions (old style/new style/sub-toolbar) [3].

Sascha, would be great if you have a quick look which approach you like 
better and then we can send it for full review.

Regards,
    Simon

[1] http://dev.laptop.org/ticket/10956
[2] http://bugs.sugarlabs.org/ticket/2608
[3] http://dev.laptop.org/attachment/ticket/10956/focus_out.patch
[4] 
http://dev.laptop.org/attachment/ticket/10956/focus_out_closing_signal.patch
[5] http://dev.laptop.org/ticket/10956#comment:4


More information about the Sugar-devel mailing list