I was about to report this until I saw this, so since they are aware, I will just add my confirmation here. @chris-maunder, Let me know if you need anything to debug this.
G arDian
Posts
-
Missing bookmark for articles -
Article Images Now ShowingOf course, that makes perfect sense, but I just wanted to make sure they were aware just in case - since they were live for a bit, albeit not super long.
-
Article Images Now ShowingHappy to help, hope they can figure it out. Just for the record, I just clicked on the link you provided and the images (most of what I can see on a cursory look) are showing up, so might have been a glitch in the system or a temporary thing but hopefully they can check to confirm.
-
Article Images Now ShowingAnother one just encountered here: AWS Serverless API using .NET Core 2.0 [^] where all of them are broken image placeholders.
-
Article Images Now Showing@chris-maunder I was just reading this article How I Hacked Bitcoin Mining Pool [^] and I noticed that none of the images show up. I tried to view them individually and still shows nothing. I was wondering if this is a poster mistake or is it perhaps a site bug? Can you please check to see if you can replicate this observation please. Thank you.
-
"articles" menu is unusableNo problem my friend, you have done well, you have stuck with it (which I appreciate greatly) and kudos to you for working it out.
-
Bookmark Button MissingMy pleasure, I love the site and you are working hard on it, the least I can do for the service provided is to give back what I can.
-
Bookmark Button MissingQuote:
Another day, another update. Can you let me know the current state for you now?
The never ending curse of an admin developer ;) I went to the latest articles page and clicked on the first one I saw and the only error I see is:
TypeError: can't redefine non-configurable property "retrievalService" Software-Project-Development-and-Decision-Making:13:5
But it is not affecting the bookmark button or anything anymore, and I didn't expect this would be a blocking error where it would affect ancillary objects and seems whatever resolved the button issue wasn't related to this and is working fine now. I cannot detect anything obvious to me that this particular error would affect but if I do figure out what this error "actually" breaks on the page, I will share it with you ASAP. But the original issue of "missing button" resolved and as already stated, I check the dropdown "articles menu" each day I visit and the issue with the menu is gone too, so technically both of the original issues reported are now resolved in effect.
Quote:
1. The bookmark icon. I have a mode I can enable that will set the bookmark state based on whether the item is currently bookmarked. This adds extra load and we've been battling some nasty load issues these past 2 weeks so I've deliberately kept it turned off. We can re-enable it soon I hope.
Understood :thumbsup: makes perfect sense, just wanted to let you know in case you didn't now, clearly you do, so apologies.
Quote:
2. The paste thing. Ah Firefox. The original incarnation of this feature was very complicated specifically to work around firefox paste permissions. The code, if I remember rightly, was simplified as these issues were addressed by Firefox. If we'd kept the complicated horrible code we would have nicely avoided the issue you mentioned. C'est la vie...
Hindsight, thou art a heartless bitch :laugh: I hear ya, no worries, once I figured out what was breaking it, just a matter of letting you know. I was actually going to suggest making a more agnostic code, which clearly you had done before, so it is all good, if you choose to try again, let me know and I will gladly test it for you, if not then I will adapt when necessary to be able to use the current implementation.
-
Bookmark Button MissingI don't know why that would be, given that nothing is being blocked or showing as failing load, so it should not be causing me any specific errors. In fact while posting this, I am checking the console and there are no errors at all and all resources by the site are showing 200 (successfully loaded). The error mentioned above seems to stem from this resource: https://cdn2.developermedia.com/a.min.js As for the last error I posted for you, it was on this page: https://www.codeproject.com/Articles/109639/nVLC [^] and this is happening on Firefox 56 as of posting the issue. I can check on other browsers and versions if it will help, let me know. Let me know if I can provide anything else. BTW, as stated before, currently the articles menu issue that we had before is functioning properly, so kudos there. Might I ask one other thing, why is it that something that is bookmarked and shows up under my bookmarks, will not display as bookmarked already when visiting the page again, as you can see, it still shows the bookmark icon not that it is already bookmarked, can you look into that.
With regards to the paste options not showing up on this box while post, including "uploading" pictures, I believe I might have figured out the cause of that, so I will share it with you in case you encounter issues about it in the future, you can suggest checking this. If you have
dom.event.clipboardevents.enabled;false
on Firefox, it will cause that issue given that you are relying on clipboard events to perform those tasks. I confirmed that setting it to TRUE will resolve that particular issue. So that one is on me, sorry I didn't catch that before mentioning it.
-
Bookmark Button MissingI don't know what to tell you there as to why it worked afterwards, I didn't know you pushed an update ;) but I can tell you that when I refresh the page this item still shows up in the console:
TypeError: can't redefine non-configurable property "retrievalService" nVLC:13:5
Otherwise, the rest of them don't seem to be there anymore (on Firefox at least) I have not checked on Edge. BTW, do you happen to know why the various options that used to pop up when you pasted into the box here no longer shows up? It was a handy way to format accordingly based on what you were pasting. Just wondering :thumbsup:
-
Bookmark Button MissingI just wanted to share with you an update. Without any changes to my setup or taking any special steps, the problem seems to have resolved during checking this morning. The errors I shared with you still show up in the console but the bookmark button is back and only a follow button, not both. Hope it stays that way but wanted to share that with you in case it helps.
-
Bookmark Button MissingHere is some additional information gathered by running on Edge which resulted in some interesting findings. 1. Visit that link while NOT LOGGED IN and I see this:
As you can see, holy hell, there is the bookmark button and no follow/unfollow in sight; which makes no sense, given that if you are not logged in, where will it be bookmarking this? Now that brings us to what you see in the console:
HTML1512: Unmatched end tag. Using-SQLite-in-Csharp-VB-Net (1059,159)
(4) HTML1500: Tag cannot be self-closing. Use an explicit closing tag. Using-SQLite-in-Csharp-VB-Net (1420,17)
2. Visit that link while LOGGED IN and I see this:
As you can see, we have a follow (the unfollow shows up and then goes away) and the rest are there too. But this happens ONLY on Edge for me right now, not on Firefox. But you then again you have a ton of stuff suddenly in the console:
HTML1512: Unmatched end tag. Using-SQLite-in-Csharp-VB-Net (1038,159)
(4) HTML1500: Tag cannot be self-closing. Use an explicit closing tag. Using-SQLite-in-Csharp-VB-Net (1399,17)
HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET - https://www.codeproject.com/script/ResearchLibrary/Logos/LibraryItemThumbnail\_261\_100x130.png
SCRIPT5078: SCRIPT5078: Cannot redefine non-configurable property 'retrievalService' Using-SQLite-in-Csharp-VB-Net (13,5)Now if I try to click the bookmark button, the spinner shows up and spin for eternity with absolutely nothing happening, as you see here:
Hopefully this will help you because clearly there are some coding irregularities and/or issues with how you are handling authenticated users and services. Now if it is working for Richard and not me, then perhaps how the users are "classified" is part of the problem and the hierarchy or levels are not working consistently, I don't know, just thinking out loud but it IS happening, it IS NOT working and I will provide whatever you need but before w
-
Bookmark Button MissingChris Maunder wrote:
You see a follow *and* and unfollow button?
Yes, just like you see in the picture. There are no scripts blocked and only these two errors in the console:
TypeError: $(...).doubleTapToGo is not a function article.min.js:1:16968
TypeError: can't redefine non-configurable property "retrievalService" Using-SQLite-in-Csharp-VB-Net:13:5And this is the DOM content for the buttons:
Follow Unfollow [  ](/Articles/1210189/Using-SQLite-in-Csharp-VB-Net?display=Print)
As you can see the empty bookmark SPAN and the print are not consistent and the way they are created is not being affected by a script being blocked, but possibly the error above could explain why it is breaking and not finishing, that's possible.
-
Bookmark Button MissingAs of checking just now, no they are not. Do you have a screenshot to show they are there or are just assuming? The only thing there are now Follow/Unfollow buttons (which are new to me) and the print button, nothing else. The DOM clearly shows that bookmark should be there but is only an empty SPAN element.
-
Bookmark Button Missing@chris-maunder I cam across something last night and this morning I tried again while at work and it is still happening so I wanted to share with you and see if you can figure out on your end what's happening. As the title says, the bookmark button is missing but let me elaborate a bit more on what I mean. I suspect the addition of the "award badge" is somehow breaking responsiveness of the page and might be neutering the button somehow but I won't assume. Let's just use the link in question, so we have a POC to work with. Using SQLite in C#/VB.Net [^] As you can see here, the bookmark button is missing. I am giving you multiple widths to help visualize the responsive part I mentioned. First (1600x)
Notice on the right, you have the printer button, no bookmark and the award badge below it. Second (~<800x)
Notice, still no bookmark and now the award badge is gone (and you have a horizontal scrollbar introduced). Third (~>800x)
Notice, the badge comes into view with the horizontal scrollbars and still no bookmark. At approximately 896px width, the scrollbar disappears and the badge is fully visible. So I decided to do an inspect element and see what it has in the DOM, code wise. It looks like the bookmark "element" is there but not quite properly constructed
I may very well be wrong about this, but my initial thought is that somehow the responsive coding for the page is being broken by the presence of the badge, and it is somehow causing the bookmark element to not be properly showing up. My anecdotal evidence for this is that when looking at an article without the badge, the bookmark button shows up fine and works as intended. NOTE: I just tested this and now it doesn't show up on ANY article, including any of the ones already on my bookmark list or p
-
"articles" menu is unusableHopefully something will come of it, but as of testing just now (while on the forum) this error still shows up, although the extended information is not there as before:
TypeError: $(...).doubleTapToGo is not a function forum.min.js:1:15356
And on the main page, the same error (without the previous extended information) appears as well:
TypeError: $(...).doubleTapToGo is not a function standard.min.js:1:15356
And in both cases, the flyout no longer obscures the main drop down like before, so some progress there, but the flyout menu's width is cropped as you saw in the last picture, although you can traverse it just fine by hovering over each item. Let me know if and/or when you are ready for me to test it again, want to make sure you've had time to do whatever you need on your end. But this is where we stand at the moment of writing this.
-
"articles" menu is unusableAs of testing right now, still the same behavior as last reported:
Although the "doubleTapToGo" probably doesn't apply to my setup and is probably geared more towards touch screen (just an assumption) it could be that if the script breaks at that point, it is not properly loading the rest of it (so behaving in a blocking manner) which at this point ironically makes the menu show in the proper position, as last reported, even if a bit broken in display. EDIT: I noticed something that I wanted to share. It seems that the scripts are running under different names "standard." and "forum." which means that you may not have made the changes to both, just one. Since it happens on the forum page (aka using the forum.min.js) but not on the main page (aka using the standard.min.js) - meaning if I try it on the main page, the error observed no longer shows up, and the menu no longer obscures the main menu, but does show up broken as shown before. But on the forum page, it still shows the error in the console and the menu behavior is the same as the other, no change there. Hope that clarification helps
-
"articles" menu is unusableThis may or may not be something but you might want to look into it and rule it out. I was running the debugger and setup breakpoints to catch the behavior as we go and came across this, thought I share.
TypeError: $(...).doubleTapToGo is not a function standard.min.js:1:15328
NavBarMenu/this.InitMenu https://codeproject.global.ssl.fastly.net/script/JS/standard.min.js:1:15328With the breakpoint at line 179 (aka ctl00_TopNavBar_MapFlyout) the menu positioning works as intended (yay) BUT as you can see, the display is offset and overlapping and a little messed up:
Just a quick share, onward I go...
-
"articles" menu is unusableQuote:
Is the menu still showing problems (maybe a Ctrl+F5?). I've traced the issue, thanks to your incredibly helpful video, to the "open" class not being applied to the menu when you hover. Two things can stop this: the jQuery hover plugin not firing (if the user was using a touch interface or keyboard navigation) or if the browser thinks your system is a touchscreen (in which case our code failed to handle hover events - a mistake on our part).
Unfortunately, no it has not. I have done a hard reload, even disabled cache to make sure of it. You are welcome, glad it helped, I figured better to see it live than pictures to ensure we can observe the behavior best, glad it was helpful. I wish I knew why it is not triggering but I have ruled out touchscreen as the issue as this particular system is NOT touchscreen at all, which means there is no reason for the browser or anything to assume it. I even explicitly disabled OSK to ensure there is no trace of any misunderstanding by the browser. Alas, it still occurs. Honestly I can't even offer a reason at this point, all I can do is provide you everything I can to help in diagnosing it.
Quote:
In either case I've changed the CSS so the menu should be positioned correctly. Should be, being the operative word. The hover stuff is there solely to allow us to keep the menu open for a few hundred milliseconds after the mouse exits the menu in order to make it less hair-trigger if you accidentally move your mouse out of the chapters menu while scrolling.
Despite the change to trigger timer and the fact that there is no option to NOT hover over that item (it is not accidental, you have no choice but to hover over it as you try and reach other menu items) since it is the first item, it still entraps it. Unless the hover is longer so that the mouse can be moved very quickly to "beat" the trigger timer, it still entraps as before. I will try and modify the behavior as much as I can on the client-side using GM to try and see if I can "force" a delay on my end or alternatively temporarily neuter it (aka "defer" the behavior) so it allows hover past that item and I will share whatever "fix" or "hack" I can achieve with you to see if it can be translated to a server-side (aka your code) to mimic it or not. I'll keep you posted on that effort.
Quote:
If it's still not working then I'll start on plan C. Or D. Not sure where
-
"articles" menu is unusableI am glad to help. :-O No, I am not using a touchscreen, a mouse, same as in the video (in fact that is the very system on which it happens and the very browser it happens in). Using touchscreen on Android tablet and phone, no issue, since there is no "hover" in that interface, you click, it opens, you select what you want. But on the Windows desktop using a mouse when you move it down (aka hover) to select something, gets snared by that flyout as you saw. Let me know anything else I can provide to help. I am happy to give you whatever you need to figure this out.