Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search
 

DisgustipatedinCA

(12,530 posts)
Wed Aug 21, 2013, 04:22 PM Aug 2013

Curious about grayed-out text in some replies

I'm sure this question has been asked, but I could not find the answer. Does anyone know why I occasionally see the text I'm typing in light gray instead of black? This just happened as I was replying to a thread. I've seen it before, but it just happens occasionally, and I cannot understand the rhyme or reason. My post still gets posted--no problems there. I'm just curious as to why this happens. Thank you.

11 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Curious about grayed-out text in some replies (Original Post) DisgustipatedinCA Aug 2013 OP
That's happened to be too, and I have no idea why. arcane1 Aug 2013 #1
It is helpful....it lets me know others are wondering about this too. DisgustipatedinCA Aug 2013 #2
I use Firefox, how about you? arcane1 Aug 2013 #4
Good point. Yes, I'm using Firefox at work. DisgustipatedinCA Aug 2013 #5
It happens to me occasionally as well. I don't know why and it cbayer Aug 2013 #3
I get that sometimes, usually when I'm entering the title petronius Aug 2013 #6
That explains it jarien21 Aug 2013 #7
Message auto-removed Name removed Aug 2013 #8
I have had this happen to me multiple times. ManiacJoe Aug 2013 #9
I believe I may have figured this out. Make7 Sep 2013 #10
I've been paying attention since this thread started, and I've had it happen petronius Sep 2013 #11
 

DisgustipatedinCA

(12,530 posts)
2. It is helpful....it lets me know others are wondering about this too.
Wed Aug 21, 2013, 04:38 PM
Aug 2013

And of course, it lets me know it's also happening to other people.

thanks for the reply.

 

DisgustipatedinCA

(12,530 posts)
5. Good point. Yes, I'm using Firefox at work.
Wed Aug 21, 2013, 05:04 PM
Aug 2013

I use Chrome at home (and on phone & tablet)...but now I can't remember if this has happened on a non-Firefox browser. Hmmmm...

petronius

(26,597 posts)
6. I get that sometimes, usually when I'm entering the title
Wed Aug 21, 2013, 07:24 PM
Aug 2013

I assumed it was FireFox thing. It also sometimes seems to go all black text while I'm typing, but drop to gray when I pause (and it's not the screen brightness changing). Glad you asked - I'll be watching this thread for an answer...

Response to DisgustipatedinCA (Original post)

ManiacJoe

(10,136 posts)
9. I have had this happen to me multiple times.
Tue Aug 27, 2013, 04:17 PM
Aug 2013

Each time I started typing in the subject line before the entire page was displayed (slow DU servers). Based on this, my best guess for the cause is that the full content of HTML, CSS, and javascript has not been fully downloaded and processed causing minor weirdness.

Make7

(8,543 posts)
10. I believe I may have figured this out.
Fri Sep 13, 2013, 07:00 AM
Sep 2013

In the LBN forum they have an extra script (textfield-replace.js) on the post pages where your text is entered. This is for the text entry when starting a thread - the prompts in the text fields are colored gray and then change to black when you enter your own text.

Although that script should probably only load on the page to start a thread, it also loads when posting a reply (most likely since the query portion of their respective URL's start with the same text: ?com=post&forum=1014). Usually it doesn't affect anything because the script has loaded and is running before you can start entering in any text - however, since the script doesn't run until the page fully loads, if there is something causing the page load to be slower than usual (e.g. a large image, slow connection, etc.), it is possible to begin entering text while some elements on the page are still loading - which will cause the text to be changed to gray when the textfield-replace.js script starts running after the page finishes loading.

The few obvious solutions are: only have the script load on the page to start threads by doing a more accurate server side URL match or changing the script to run when the DOM has loaded instead of waiting for a complete page load or inserting the script on the page after the input form so it executes right after the text field elements are loaded. Since the script is only needed when starting a thread, the first solution seems logical enough - although changing when the script starts running is probably not a bad idea in any case.

Has anyone ever seen this problem in a forum other than LBN? If so, my theory is probably incorrect - [font style="color:#777;"]although I can recreate the issue consistently for reply titles in LBN[/font] - so there is an issue there regardless.

petronius

(26,597 posts)
11. I've been paying attention since this thread started, and I've had it happen
Wed Sep 18, 2013, 11:40 AM
Sep 2013

twice in LBN and never elsewhere...

Latest Discussions»Help & Search»DU Community Help»Curious about grayed-out ...