Inocrrect Line Joining

User avatar
usbpoweredfridge
Posts: 407
Joined: Fri Jan 17, 2014 11:08 pm
Contact:

Inocrrect Line Joining

Postby usbpoweredfridge » Sun Mar 08, 2015 12:19 pm

I have found a piece of text that when clipped, produces a slightly incorrect result:
http://www.qdb.us/30938

Highlight from "#30938" to "female." and clip it, and the last line (beginning "Comment") is joined to the end of the second last line.

Chris
User avatar
CintaNotes Developer
Site Admin
Posts: 4740
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Inocrrect Line Joining

Postby CintaNotes Developer » Tue Mar 10, 2015 5:29 pm

Hi Chris,
thanks for the report.

Can't reproduce in Chrome. Which browser you are using?
Alex
User avatar
usbpoweredfridge
Posts: 407
Joined: Fri Jan 17, 2014 11:08 pm
Contact:

Re: Inocrrect Line Joining

Postby usbpoweredfridge » Wed Mar 11, 2015 7:36 am

Firefox (v36.0.1). Also have clipping.format.rtf.enabled = 0

I didn't consider different browsers - tried in IE, and it works ok there, but definitely not in Firefox (don't have Chrome installed so can't test it).

Chris
User avatar
usbpoweredfridge
Posts: 407
Joined: Fri Jan 17, 2014 11:08 pm
Contact:

Re: Inocrrect Line Joining

Postby usbpoweredfridge » Wed Mar 11, 2015 11:30 am

This this one may be a regression of this older bug:
viewtopic.php?f=6&t=1878

Chris
User avatar
CintaNotes Developer
Site Admin
Posts: 4740
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Inocrrect Line Joining

Postby CintaNotes Developer » Wed Mar 11, 2015 3:29 pm

Thanks for the additional info!
Do you have clipping.trimwhitespace on?
Does the bug go away when you turn it off?
Alex
User avatar
usbpoweredfridge
Posts: 407
Joined: Fri Jan 17, 2014 11:08 pm
Contact:

Re: Inocrrect Line Joining

Postby usbpoweredfridge » Thu Mar 12, 2015 7:44 am

Yes, clipping.trimwhitespace = 1 is set, but changing it to 0 has no effect. Just to rule it out, I also set clipping.format.rtf.enabled = 0 back to the default (ie 1), but it had no effect either.
User avatar
usbpoweredfridge
Posts: 407
Joined: Fri Jan 17, 2014 11:08 pm
Contact:

Re: Inocrrect Line Joining

Postby usbpoweredfridge » Fri Mar 13, 2015 12:03 pm

I might try clipping this page again when Firefox v37.0 lands - they apparently fix a 14 year old line ending copy/paste bug in that version:
https://bugzilla.mozilla.org/show_bug.cgi?id=116083

It may - or may not - fix this specific problem I have, will have to wait and see. The issue appears to not be a CN bug at least - if I paste that text into a text editor, the same thing happens as it turns out (any page on qdb.us that uses the 'Comment' tag at the end of the quote is affected, it isn't just the single example page I posted).

Chris
User avatar
CintaNotes Developer
Site Admin
Posts: 4740
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Inocrrect Line Joining

Postby CintaNotes Developer » Sun Mar 15, 2015 4:57 pm

Chris, sorry for the delay!
I did some investigation and now I think the reason is an unfortunate HTML formatting.

First of, please observe that when you copy-paste this block from FF to Notepad, the same effect occurs.
This is due to the fact that the quote is formatted with a SPAN tag with "display:block" style.
Apparently Firefox ignores the "display" style when converting this to plain text, and joins it with the text that goes after.

Probably things will get better when CN learns to parse HTML, but for now nothing could be done here, sorry!
Alex
User avatar
usbpoweredfridge
Posts: 407
Joined: Fri Jan 17, 2014 11:08 pm
Contact:

Re: Inocrrect Line Joining

Postby usbpoweredfridge » Mon Mar 16, 2015 2:15 pm

Sure, thanks. For the moment, I will just have to be aware when I clip a note from the qdb site that includes a 'comment' line, and manually adjust it when I do (ie cursor to the 'comment' and hit Enter).

Chris
User avatar
CintaNotes Developer
Site Admin
Posts: 4740
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Inocrrect Line Joining

Postby CintaNotes Developer » Tue Mar 17, 2015 11:33 am

Yes, seems the most reasonable way out of this.
Alex
gunars
Posts: 202
Joined: Fri Nov 08, 2013 5:35 am
Contact:

Re: Inocrrect Line Joining

Postby gunars » Tue Mar 31, 2015 8:40 pm

usbpoweredfridge wrote:I might try clipping this page again when Firefox v37.0 lands - they apparently fix a 14 year old line ending copy/paste bug in that version:
https://bugzilla.mozilla.org/show_bug.cgi?id=116083

It may - or may not - fix this specific problem I have, will have to wait and see. The issue appears to not be a CN bug at least - if I paste that text into a text editor, the same thing happens as it turns out (any page on qdb.us that uses the 'Comment' tag at the end of the quote is affected, it isn't just the single example page I posted).

Chris


Firefox 37.0 showed up for me today.
User avatar
CintaNotes Developer
Site Admin
Posts: 4740
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Inocrrect Line Joining

Postby CintaNotes Developer » Wed Apr 01, 2015 10:29 am

Thanks Gunars. I wonder if the bug is indeed fixed there..
Alex
User avatar
usbpoweredfridge
Posts: 407
Joined: Fri Jan 17, 2014 11:08 pm
Contact:

Re: Inocrrect Line Joining

Postby usbpoweredfridge » Tue Apr 14, 2015 11:26 am

Sadly not - still present with v37.0.1. Oh well, at least I am now aware of the problem and can manually adjust it when I come across further text like it.

Chris
User avatar
CintaNotes Developer
Site Admin
Posts: 4740
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Inocrrect Line Joining

Postby CintaNotes Developer » Tue Apr 14, 2015 11:44 am

Ok, thanks for letting me know
Alex

Return to “Bug Reports”