[Kss-devel] Inline editing and related issues

Simone Deponti shywolf9982 at gmail.com
Mon Apr 2 00:41:33 CEST 2007


Hello list,

I'll do a quick recheck of the status of inline editing. Actually it 
works properly with correct key bindings (enter -> submit, esc -> 
cancels) on:

 * Internet Explorer 6
 * Firefox 2.0
 * Safari

Actually, this is done in a pretty brutal and suboptimal way, in my own 
opinion.
We previously had the issue that we couldn't prevent the default behavior 
of Safari when the user hits enter, and for what I've been able to see, 
it happens that in Safari, we have a default event for keyUp, keyPress 
and keyDown.
Also, seems like that the default behavior for the events listed above is 
*NOT* submitting the form, but rather issuing a "submit button click 
event".

I'm not entirely sure it is actually like that, I didn't do a deep 
research into the stuff and I might have had hallucinations or maybe I 
assumed too much alcohol or who knows, but basically we wanted to make it 
"just work (tm)" so it's all good.

I however think we should review it somehow, and there are some steps I 
think we should take (and that I'll probably take personally, but that 
depends a lot on how much time I have).
I think we should:

* Research if other frameworks/applications/whatever encountered this 
issue already and how they take care of it.
* See if the WebKit guys knows anything about it (it's an opensource 
project after all).
* See if we should improve our javascript accordingly to the previous 
points.

Ok, I think that's all for it. If anybody has suggestions or whatever, 
I'd be really glad to hear them.

Cheers

Simone



More information about the Kss-devel mailing list