Undesired spark behaviour (linux/kde)

Hi,

during the chat I need to switch to another window time to time. When I click middle mouse button (it is used to paste selection buffer), the last spark input or output is being pasted. So, spark overwrites selection buffer contents with spark’s input or output in chat window. It is highly desireable to eliminate this annoying behaviour.

This feature can be found in any version up to 2.6.0-beta1.

Addition: this feature is not active when you receive a message while working in another window. It is showing just when spark window is active.

One more undesired behaviour - when I paste the link with middle button, it opens in x-www-browser. Please stop it.