Le mercredi 14 novembre 2007, Will Stephenson a écrit :
> The following eleventh hour patch adds a much-requested feature: a way for
> protocols to give a hint to Kopete which form a chat should take.  This
> allows Kopete to give a chatwindow a size and members list visibility
> appropriate to the chat.
>
> We've previously told users who requested this feature that it was not
> possible for consistency's sake,

Personally, I always had the opinion that the chatwindow should look 
differently for normal chat and group chat.


> but I feel that this has handicapped our 
> use of chatrooms/IRC in kopete.  This patch aims to solve this dilemma(!)
> elegantly.
>
> * Form is an attribute of Kopete::ChatSession
> * 2 forms of chat: Small and Chatroom
> * this affects the initial format of the chatwindow
> * subsequently, following the window's initial form, user changes to the
> window layout are persisted separately so that Small windows and Chatroom
> windows layout and members list visibility are sticky

Great !

Jabber has also another type of message, which are e-mail like messages.
They are not used in practice from what I saw. Probably because they are not 
practical anyway.
Currently, this is done with the KopeteEmailWindow, and there was 
KopeteMessage::setRequestedPlugin wich do the job,  but i find that api bad.
(And the KopeteEmailWindow is probably broken as well)

In MSN you can invite contact to a simple conversation in order to transform 
it in a chatroom.  So it should be possible to change the appearance during 
the window lifetime.
Or do we consider that MSN rooms are not "true" chatroom?

> Additionally, the features allows (optionally) an compact variant of the
> chat view style to be selected dependent on chat session form.  This is
> implemented by munging the relative path to the variant css.
> FunkyStyle.css -> FunkyStyle_compact.css.  The rationale for this is that a
> large style with avatars is not appropriate to a high traffic channel. 
> This allows a compact variant to the main style, but that keeps has
> consistent theming, and works within the Adium chat spec

More than a Variant,  I think it make sens to have completely different style.


>
> Notes on the patch:
> * alternate chat view styles are not implemented - the methods are there,
> but the path munging, compact variant css file detection does not happen.
> the munge is a no-op
> * UI for enabling the compact variant is missing and would go in the
> ChatWindow->style widget
> * Everything defaults to the current Small behaviour! Even if applied as
> is, the patch is fail-safe!
> * ...Except testbed, for testing and demonstration.  This requests Chatroom
> style windows.
>
> I'd like to get this in and tested so that in KDE 4.1 we can have rockin'
> IRC and AIM chatroom support, and to support Groupwise chatrooms, that I
> will be completing for 4.1.
And Jabber MUC

>
> Will (who finds there is nothing like a deadline for a burst of
> productivity)


Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to