Click here to Skip to main content
15,891,529 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Obscure paths to serious bugs Pin
Greg Utas11-Aug-21 6:35
professionalGreg Utas11-Aug-21 6:35 
GeneralRe: Obscure paths to serious bugs Pin
PIEBALDconsult10-Aug-21 11:28
mvePIEBALDconsult10-Aug-21 11:28 
GeneralRe: Obscure paths to serious bugs Pin
charlieg11-Aug-21 7:59
charlieg11-Aug-21 7:59 
GeneralRe: Obscure paths to serious bugs Pin
User 991608010-Aug-21 11:32
professionalUser 991608010-Aug-21 11:32 
GeneralRe: Obscure paths to serious bugs Pin
Alois Kraus10-Aug-21 11:39
Alois Kraus10-Aug-21 11:39 
GeneralRe: Obscure paths to serious bugs Pin
theoldfool10-Aug-21 12:13
professionaltheoldfool10-Aug-21 12:13 
GeneralRe: Obscure paths to serious bugs Pin
englebart10-Aug-21 14:10
professionalenglebart10-Aug-21 14:10 
GeneralRe: Obscure paths to serious bugs Pin
Ron Anders10-Aug-21 15:22
Ron Anders10-Aug-21 15:22 
I had a UI bug for what, like a month?

a P.O. html table where the rightmost column is to be a font-awesome printer
to print a bar code for the item on that row but only if the received column is non-zero otherwise gray out the printer icon Easy peasy right?

The code that is responsible loops through the rows and if Received is > 0 set the opacity of the printer icon to .2 or 1.

But it wouldn't work. the opacity would set for the first row but not the subsequent ones and not because of any fault in the loop but the javascript wouldn't set the opacity to 1 for rows it tried to on.

I tried everything I could think of to try and get the code to show me what
could be wrong but no.

Then I hit upon a so reply to a person who was having trouble with their htmlcollection as I was and the reply said the the getElementByClassName()
would return a live collection and that the op should try querySelectorAll()

I've used both arbitrarily without care as to why but yeah that fixed it.
I would still have been yet taunting me from the issue list had I not seen that. It sucked to look at it and here it was "So, not fixed yet huh Ron..."

It felt so good to set the bug as fixed.

I saw someone's sig I think it was here that said,
"It's easy once you know how".

Yeah.

Onward and upward.

GeneralRe: Obscure paths to serious bugs Pin
Duncan Edwards Jones10-Aug-21 22:31
professionalDuncan Edwards Jones10-Aug-21 22:31 
GeneralRe: Obscure paths to serious bugs Pin
Member 916705710-Aug-21 23:14
Member 916705710-Aug-21 23:14 
GeneralRe: Obscure paths to serious bugs Pin
Slow Eddie11-Aug-21 2:04
professionalSlow Eddie11-Aug-21 2:04 
GeneralRe: Obscure paths to serious bugs Pin
Ed Attfield11-Aug-21 3:06
Ed Attfield11-Aug-21 3:06 
GeneralRe: Obscure paths to serious bugs Pin
MarkTJohnson11-Aug-21 2:40
professionalMarkTJohnson11-Aug-21 2:40 
GeneralRe: Obscure paths to serious bugs Pin
Rich Shealer11-Aug-21 3:06
Rich Shealer11-Aug-21 3:06 
GeneralRe: Obscure paths to serious bugs Pin
davecasdf11-Aug-21 3:06
davecasdf11-Aug-21 3:06 
GeneralRe: Obscure paths to serious bugs Pin
obermd11-Aug-21 3:20
obermd11-Aug-21 3:20 
GeneralRe: Obscure paths to serious bugs Pin
MarkTJohnson11-Aug-21 4:37
professionalMarkTJohnson11-Aug-21 4:37 
GeneralRe: Obscure paths to serious bugs Pin
Matthew Dennis11-Aug-21 7:07
sysadminMatthew Dennis11-Aug-21 7:07 
GeneralThought of the Day Pin
OriginalGriff10-Aug-21 4:30
mveOriginalGriff10-Aug-21 4:30 
GeneralRe: Thought of the Day Pin
obermd10-Aug-21 4:33
obermd10-Aug-21 4:33 
GeneralRe: Thought of the Day Pin
AndyChisholm11-Aug-21 5:16
AndyChisholm11-Aug-21 5:16 
GeneralRe: Thought of the Day Pin
Mike Hankey10-Aug-21 4:40
mveMike Hankey10-Aug-21 4:40 
GeneralRe: Thought of the Day Pin
Cp-Coder10-Aug-21 6:12
Cp-Coder10-Aug-21 6:12 
GeneralRe: Thought of the Day Pin
Mike Hankey10-Aug-21 6:18
mveMike Hankey10-Aug-21 6:18 
GeneralRe: Thought of the Day Pin
W Balboos, GHB10-Aug-21 7:59
W Balboos, GHB10-Aug-21 7:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.