Page 82 of 85

Re: [Script] WME Color Highlights - 2.1 Nov 2015

Posted: Sun Nov 08, 2015 11:24 am
by Twister-UK
With both the latest versions of WMECH and WMERC installed (with no other add-ons running), the Routes tab doesn't show up when two segments are selected. Problem exists both in FF and Chrome.

Unlike the above posters I don't seem to have any difficulty in selecting two segments - clicking just once on each segments causes WME to show both segments as highlighted and also brings up the "2 segments selected" note in the sidebar - so WME appears to be in the correct state for WMERC to initialise its tab.

Re: [Script] WME Color Highlights - 2.1 Nov 2015

Posted: Sun Nov 08, 2015 1:30 pm
by Twister-UK
Timbones wrote:
Twister-UK wrote:With both the latest versions of WMECH and WMERC installed (with no other add-ons running), the Routes tab doesn't show up when two segments are selected. Problem exists both in FF and Chrome.
Do you have the latest version of WMERC - v1.18? Routes has it's own tab now.
Yes - the copy in FF updated itself and I didn't have it installed in Chrome so that was a fresh install straight from the web store. WMECH was also checked to be running at the latest version in both browsers too. If I disable WMECH then the routes tab appears alongside the General/Closures tabs as expected for the 1.18 update, it's only when both scripts are running together that the tab fails to appear.

Re: [Script] WME Color Highlights - 2.1 Nov 2015

Posted: Sun Nov 08, 2015 2:45 pm
by Twister-UK
And now it's working just fine in both browsers... *sigh*, unpredictable code behaviour like this makes me pleased I'm not a script writ... oh, wait ;)

Haven't looked into the inner workings of WMERC recently, could this have been caused by some glitch on the Waze servers, or does it only start to access those once you click on the tab to generate the routes?

Re: [Script] WME Color Highlights - 2.1 Nov 2015

Posted: Mon Nov 09, 2015 1:28 am
by Twister-UK
Timbones wrote:
Olestas wrote:When I open editor with places turned on, this thing happens after I click on any place.
I fixed an issue that was occurring on Firefox (v2.2). Let me know if that fixes it.
Just in case the issue you're referring to is something else, then FYI this fix also resolves the WMECH-WMERC interaction problem I mentioned earlier - it reappeared a short while ago and I realised it was due to the order in which the two scripts were being initialised. If WMECH got initialised first, it added its selectionManager event handler to the listeners list before WMERC added its handler, and when the WMECH handler then failed due to the undeclared lastSelection variable, it prevented the WMERC handler from being called.

Re: [Script] WME Color Highlights - 2.5 Nov 2015

Posted: Sun Feb 07, 2016 10:26 pm
by Twister-UK
Seems to be an initialisation issue - I'm seeing a "WME Highlights: not logged in - will initialise later" message in the debug console maybe half the times I load a WME session (with or without any other scripts loaded), after which WMECH doesn't then appear to attempt its initialisation later on. Reloading WME until this message doesn't appear then allows WMECH to initialise OK and appear as normal in the sidebar.

Re: [Script] WME Color Highlights - 2.5 Nov 2015

Posted: Tue Feb 09, 2016 12:47 am
by Twister-UK
It's now failing the majority of the time, but only when using Firefox, with or without other scripts being enabled.

In FF, the first run of initialiseHighlights() always seems to fail on the test for window.Waze.map, but always then succeeds on the second attempt. Once past this point, there then appears to be a 50:50 chance that the "not logged in" test further down the function will then cause the function to exit early. On the same PC, Chrome never seems to need to retry this function, nor does it ever seem to get caught by the login test - WME setup times in Chrome seem to be sufficiently fast compared with Firefox that it manages to stay one step ahead of WMECH ;)

If WMECH trips over the login test, the problem is then that the login event handler added to Waze.loginManager isn't firing when WME gets around to logging me in, and so initialiseHighlights never gets called again...

Re: [Script] WME Color Highlights - 1.98 Dec 2014

Posted: Tue Apr 28, 2015 12:25 am
by uscwaller
For the 'Filter By Editor' option, it would be nice if they were sorted by either rank or alphabetically

Re: [Script] WME Color Highlights - 1.98 Dec 2014

Posted: Wed May 13, 2015 10:54 pm
by uscwaller
Another thought. Highlight Places > Locked Places (Red), would be nice to have the option to select the lock level to highlight, from either a pull down, or radio button, i.e. highlight lvl 3 and up, or 3 and lower, or just have level buttons to select like in ToolBox layer highlights.

Re: [Script] WME Color Highlights - 2.0 Sep 2015

Posted: Wed Nov 04, 2015 2:30 pm
by vaindil
Hey Timbones, thanks for this awesome addon. Any chance a highlight will be added for tunnels now that they've been pushed to prod?

Re: [Script] WME Color Highlights - 2.33 Sept 2020

Posted: Wed Aug 23, 2023 10:33 am
by VILLAformer
Since yesterday, the "No Name (Orange)" option does not work for me. I have tried to reinstall the script and leave him alone active but nothing.