dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
68
share rss forum feed


HiVolt
Premium
join:2000-12-28
Toronto, ON
kudos:19
Reviews:
·TekSavvy DSL
·TekSavvy Cable

[bug] quote in quick reply anomaly

Click for full size
Since the sitewide upgrades, I've had a strange bug pop up every now and again...

Seems if its a lenghty thread, sometimes when i click reply, then click quote highlighted (without highlighting) as I want to quote the entire post, it will quote the text from the post just above it.

I have to go back in the browser, reload the post, find the post again, hit reply and then the quote works...

I'm using latest version of FF and it happens on my home and work machines.

Any idea what could be causing it?

Oh, and is there a preference somewhere that makes it possible to go back to the old style of replies? I am not a fan of this new system...
--



justin
..needs sleep
Australian
join:1999-05-28
New York, NY
kudos:15

The browser must be incorrectly reporting that there is some text selected from the post above, I have never seen that happen though in Chrome. If it happens again just highlight a tiny bit of the post you're replying to and press the button. If that fixes it, then firefox may have an issue with reporting what is selected when nothing is selected.



HiVolt
Premium
join:2000-12-28
Toronto, ON
kudos:19

There's never anything highlighted... I wonder if it could be related to adblock. Im going to disabled it on DSLR since it doesnt have ads for regular users...
--



justin
..needs sleep
Australian
join:1999-05-28
New York, NY
kudos:15

I have firefox so if you have a reproducible case for example a topic a reply and a button push then I can see what is up. But only if it happens often or always.



HiVolt
Premium
join:2000-12-28
Toronto, ON
kudos:19
Reviews:
·TekSavvy DSL
·TekSavvy Cable

Click for full size
said by justin:

I have firefox so if you have a reproducible case for example a topic a reply and a button push then I can see what is up. But only if it happens often or always.

It just happened again in this very thread trying to reply to you. adblock was turned off prior to that so it isnt that.

I clicked the "more" button to bring up the traditional reply screen, and hit quote highlighted and it quoted it correctly.
--



justin
..needs sleep
Australian
join:1999-05-28
New York, NY
kudos:15

I loaded up firefox 23 and hit Reply then Quote highlighted on every post in this topic, all behaved as I'd expect them to.

If I move even a one character highlight, to any post, the quote moves to be that entire post.

You didn't mention whether if you highlight a single character from the post itself (rather than reloading the page), quote highlighted immediately works correctly?



HiVolt
Premium
join:2000-12-28
Toronto, ON
kudos:19
Reviews:
·TekSavvy DSL
·TekSavvy Cable

You know, I think I narrowed it down...

Even if you so much as click (not highlight) anywhere in the post you don't want quoted, then hit reply to the post you want, it will quote that other post. Even if you click in the area where there isn't any text, like if you click next to the space left or right to the attachment in this very thread.

Is this by design?
--



Oregonian
Premium
join:2000-12-21
West Linn, OR

said by HiVolt:

You know, I think I narrowed it down...

Even if you so much as click (not highlight) anywhere in the post you don't want quoted, then hit reply to the post you want, it will quote that other post. Even if you click in the area where there isn't any text, like if you click next to the space left or right to the attachment in this very thread.

Is this by design?

I was able to reproduce this behavior exactly as described. Using Chrome Version 30.0.1599.66.


justin
..needs sleep
Australian
join:1999-05-28
New York, NY
kudos:15
reply to HiVolt

no it isn't by design, the browser reports the current "selection" I'm not sure why it would report a selection when there isn't one.

Typing this in my chrome, if I click (not select) somewhere in the post below, then move back to click the button, it will still work. So it is some kind of browser grey area.

I can work around it maybe by testing the length of the selection if it is 0 bytes then ignoring it I'll have to look at that.



justin
..needs sleep
Australian
join:1999-05-28
New York, NY
kudos:15
reply to HiVolt

I changed the js to ignore anything from the browser that doesn't also come with a 2+ length selection of html.



HiVolt
Premium
join:2000-12-28
Toronto, ON
kudos:19
Reviews:
·TekSavvy DSL
·TekSavvy Cable

said by justin:

I changed the js to ignore anything from the browser that doesn't also come with a 2+ length selection of html.

Thanks Justin, that looks like it did the trick!
--