tieto / sipe

A third-party Pidgin plugin for Microsoft Lync/OCS - clone of upstream http://repo.or.cz/w/siplcs.git
GNU General Public License v2.0
129 stars 24 forks source link

Incorrect line breaks in message window when copy/paste #8

Open xnandersson opened 9 years ago

xnandersson commented 9 years ago

Got this message below from one of our users. Not sure if it is in SIPE or Pidgin:

Hi,

I'm not sure if this has been asked before, it's a bit hard to search in the mailing archives for these common words, sorry in that case.

When people using Lync send me multi line messages copied from something, for example notepad or putty, the line breaks doesn't show in my Pidgin window. Everything is displayed on a single line. Converting line breaks to different types in Notepad++ before copying doesn't change the behavior. If they use shift+enter to manually insert a line break it works however, I guess Lync treat pasted line breaks different than typed.

Does anyone know of any fix/workaround for this?

xhaakon commented 9 years ago

This is not reproducible for me with the latest Sipe and Pidgin 3. Could you please retest?

eosceke commented 8 years ago

Since Pidgin 3 isn't stable yet and no set date for when it will be, could you please try to reproduce with 2.10 instead?

I'm using: pidgin 1:2.10.9-0ubuntu3.2 pidgin-sipe 1.20.0-3718~f871bad-trusty

Zlopez commented 6 years ago

This issue is still happening on Fedora 28. pidgin-2.13.0-1.fc28.x86_64 pidgin-sipe-1.23.2-1.fc28.x86_64

Message sent from Skype for Bussiness that contains multiline text which is copied from outside source is shown as oneline text on pidgin.

risbeove commented 6 years ago

This is a problem in Ubuntu 18.04: pidgin 1:2.12.0-1ubuntu4 pidgin-sipe 1.23.2+sipe-0+201805091316~ubuntu18.04.1

aswild commented 5 years ago

Same issue on Arch Linux.

pidgin 2.13.0-5, pidgin-sipe 1.23.3-1

aswild commented 5 years ago

This issue seems pretty dead, but if you're someone like me who stumbled here after hours of googling this issue with no fix in sight, you can try my super janky hacky patch which fixes it well enough for me https://gist.github.com/aswild/0b3b36acb8cf24637fd386239aa31a70

(note: really this is a pidgin issue because it doesn't render <p> tags properly, but it was way easier for me to pre-process the HTML from the sipe plugin than dig into pidgin's rendering engine)

xambroz commented 5 years ago

Same issue Fedora 29 - pidgin-2.13.0-6.fc29.x86_64, pidgin-sipe-1.24.0-3.fc29.x86_64

xambroz commented 5 years ago

Reported back upstream - https://developer.pidgin.im/ticket/17391#ticket

ivellioscolin commented 4 years ago

I fixed on pidgin side. PR already merged in bitbucket as PR#678. However not clear when next 2.x.y version will be released.