Style guide decision needed (was: [Kopete-devel] Bug#40938: behaviour change request)

Martijn Klingens klingens at kde.org
Sun Apr 28 12:26:05 BST 2002


On Sunday 28 April 2002 00:34, Antonio Larrosa Jiménez wrote:
> IMHO, I think that most people (in fact, I :-) ) use kopete just like any
> irc client. I have never seen any irc client where Enter didn't submit
> what you wrote, and I think that's what it should do in kopete.

And use shift-enter for newlines? Remember that MSN, ICQ, and most other 
protocols explicitly support multi-line messages. I actually use that ability 
quite a lot. In IRC that is (unfortunately, IMO) not even possible, which is 
why the enter key is available for whatever you want. Also, I think 
ctrl-enter should be a secondary key binding in single line edits, so that 
one just 'always' works, and normal enter being a convenience key in those 
cases where it doesn't conflict.

> I've used kopete some times to talk with some MSN users friends and I always
> found annoying that I had to move my hand to the mouse and click submit to
> submit the text I wrote.

Wow... That's a long time ago then :-) I hacked the ctrl-enter into the MSN 
dialog even before Kopete moved from SoruceForge to KDE CVS, so apparently 
you're a long-time user :P

> And no, nobody will find out that Ctrl-Enter submits it, at least not
> "normal users".

That's the single true argument against it for MSN users. ICQ users and KMail 
users are already used to the key, so they will find out. For MSN (which uses 
enter in MS' own client) you're right.

> Note that I'm not talking in general, but about kopete dialogs. I don't
> care about multilineedits or lineedits, but I think Enter in kopete should
> submit and if that means changing the multilineedit for a lineedit just
> for consistency with Enter behaviour, I vote for that.

You can't. You must be able to support multi-line messages!

Martijn





More information about the kde-core-devel mailing list