[Script] WME Fix UI Memorial Edition - v1.97.257 (20251107)

If you’re seeing horizontal and/or vertical scrollbars around the main part of the WME window (as opposed to within the sidepanel or anywhere else you’d expect to see them), then this is usually an indication that something is pushing part of the window contents further off to one side than the page design can cope with, and your browser is then left with no option but to provide scrollbars in order to give you access to the bits that’ve fallen off the edge of the intended view…

Now, given how much stuff FUME does to manipulate the WME UI - moving stuff around, changing sizes etc. - it’s a reasonable assumption that FUME is the guilty party here.

However, it’s worth remembering that other scripts may also add their own UI elements, which FUME will then do its best to accommodate. But there are limits to this - I can’t test with every single combination of scripts or screensizes, so I just have to work on the presumption that most people will be using a combination that is close to the norm in terms of screen size and additional UI changes, and tailor FUME’s modifications accordingly.

So, having already taken the first step to troubleshooting - i.e. disabling FUME and seeing if the problem goes away - the next step you need to take is to try disabling everything else except FUME, and then see if the problem is still present. If it is, then we know the problem is definitely within FUME itself, and definitely related to how it’s interacting with the native WME UI. THIS is the sort of problem I definitely want to know about, because it’ll potentially affect everyone.

If however you can’t reproduce the problem with just FUME, the next next step would be to start re-enabling other scripts and seeing when the problem returns - at that point you’ll know that it’s the interaction between what FUME is doing generally to the UI, and what the most recently re-enabled other script is also doing to the UI for its own needs, and I can try to reproduce the problem here by installing that script if it’s not one I’ve already got.

A further wrinkle with UI-based stuff is in how your host OS handles screen rendering - this is particularly relevant if you’re using a high DPI screen (e.g. 3K or above) and have then enabled OS-level scaling either to reduce your effective desktop resolution, or to increase the size of UI elements. In these cases, the interaction between the native resolution of the display and the effective post-scaling resolution can cause the browser to get confused over how large or small things actually need to be, such that you end up seeing display oddities that aren’t present on systems where the display hardware is natively limited to the effective resolution you’re using - e.g. running your desktop at 1920x1080 can give a different effect to running your desktop at 3840x2160 with 200% scaling, even though effectively the latter is also 1920x1080… So knowing what your physical and effective desktop resolutions are is also useful when trying to resolve problems like this, and it’s worth experimenting with those settings yourself to see if reducing the resolution at the OS level and letting your display scale up to fit, rather than keeping the resolution higher at the OS level and then using OS-level scaling, makes a difference.

All other scripts are disabled. TB extension also disabled. I’m running on a cheap, 3 year old Dell XPS Windows 10 laptop with 13" display (1920x1080).

There are no scroll bars, just the oversize image that I pan using two fingers on the touchpad. To make this more confusing, some editing action seems to trigger the image size change. Today, I am unable to reproduce it, but will grab screenshots if it happens again.

Chuck

That sounds rather weird, especially the lack of any scrollbars, so I’d be very interested in seeing any screen grabs you’re able to capture next time it happens.

In the meantime, you can also try playing with the various options that move parts of the UI around, as well as the UI compression and contrast options, to see if you’re able to narrow down the problem to only occurring with a certain setting enabled or not.

Apologies if this sounds like I’m getting you to do a load of work, but unfortunately sometimes with bugs like this that I can’t replicate here, I need all the help I can get from the people it is affecting. And even then there are no guarantees I’ll be able to fix it, but if I don’t even understand what the bug is it how it might be occurring then there’s definitely no chance of a fix…

With only FUME enabled I am unable to add far lanes to any segment. Here is a PL example: https://waze.com/en-US/editor?env=usa&lat=39.87062&lon=-75.64811&s=4776392915902&zoomLevel=20&segments=76355710

Notice that the far lanes icon to click is greyed out. When I click it, far lanes is not added. This happens with any segment, including ones not included in a junction box.

Disable “Disable Far Turn button” option in FUME, it is ON by default.

Capture.PNG

Just out of curiosity, why is the Disable Far Turn button on by default? :thinking:

Because it’s essentially using the same code as the “Disable bridge button” option, which Iain decided should be disabled by default, and when I copy-pasted that code to add support for this new option I overlooked the need to change the default…

Ah, that explains it. :smiley: Thanks.

1.49.257 changes:

  • Tweaks to the topbar compression
  • Fixed the default setting for the “Hide Far Turns” option

https://greasyfork.org/en/scripts/435828-wme-fix-ui-memorial-edition

With “Disable map blocking during save” enabled/ticked I’m not able to pan around the map while WME saves.

Also, does “Expand External Provider details for places” expand for results populating when you type or only for ones selected?

ext.png

With the option selected, do you see WME dimming the map view just after Save is clicked, or does it remain visibly unchanged? If it’s still dimming, then the option isn’t kicking in for some reason, but if it’s not dimming then you definitely ought to be able to pan/zoom/etc.

It should operate as you type, although I’ve just noticed that if you type something, then delete some of it (and by “some” here I mean a random number of characters which, once reached, triggers the problem), and then start typing again, it disables the details expansion until you come completely out of the list and start all over again. Not sure what’s going on there…

It dims. Here is a screen capture:

Try it without any other scripts/add-ons running just to rule out some unwanted interaction with something outside of my control. If you can still reproduce it with FUME as the only thing running besides WME itself, see if there are any userscript errors in the developer console.

1.50.257 changes:

  • Moves the “Search this area” box behind the drop-down menus

This is currently implemented as a permanently active fix, as I can’t think of any good reason why anyone would still want that box getting in the way of them being able to properly use the drop-down menus. But hey, we’re all different, so if someone really does miss having their menu usage interfered with like this, then let me know so I can turn it into a selectable option instead…

https://greasyfork.org/en/scripts/435828-wme-fix-ui-memorial-edition

With all other scripts/extensions disabled, this is what shows in the console:

fume.png

SCRIPT RUN TIME[WME Fix UI Memorial Edition]: 4704.799072265625 ms js?key=AIzaSyBWB3jiUm1dkFwvJWy4w4ZmO7KPyF4oUa0&libraries=places&v=3.52:249 Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading Cea @ js?key=AIzaSyBWB3jiUm1dkFwvJWy4w4ZmO7KPyF4oUa0&libraries=places&v=3.52:249 maps.googleapis.com/maps/api/mapsjs/gen_204?csp_test=true:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT userscript.html?name=WME-Fix-UI-Memorial-Edition.user.js&id=56380393-1bf8-4445-a292-117690d97a5d:3247 WMEFUME: Initialising... userscript.html?name=WME-Fix-UI-Memorial-Edition.user.js&id=56380393-1bf8-4445-a292-117690d97a5d:3247 WMEFUME: Creating tab... userscript.html?name=WME-Fix-UI-Memorial-Edition.user.js&id=56380393-1bf8-4445-a292-117690d97a5d:3247 WMEFUME: Tab now available... userscript.html?name=WME-Fix-UI-Memorial-Edition.user.js&id=56380393-1bf8-4445-a292-117690d97a5d:3247 WMEFUME: Initialisation complete userscript.html?name=WME-Fix-UI-Memorial-Edition.user.js&id=56380393-1bf8-4445-a292-117690d97a5d:3247 WMEFUME: Applying settings... userscript.html?name=WME-Fix-UI-Memorial-Edition.user.js&id=56380393-1bf8-4445-a292-117690d97a5d:3260 WMEFUME: Layers identified Roads: OpenLayers_Layer_XYZ_359,345 GPS: OpenLayers_Layer_XYZ_385,350 app-31694dffb39223a4.js.gz:1 W.map.closuresMarkerLayer is deprecated, please use W.map.getLayerByName("closures") instead get @ app-31694dffb39223a4.js.gz:1 userscript.html?name=WME-Fix-UI-Memorial-Edition.user.js&id=56380393-1bf8-4445-a292-117690d97a5d:3247 WMEFUME: saving options to local storage zoom-plus-mini.png:1 Failed to load resource: the server responded with a status of 404 () slider.png:1 Failed to load resource: the server responded with a status of 404 () zoom-minus-mini.png:1 Failed to load resource: the server responded with a status of 404 () third_party-83f2439a8e6dd624.js.gz:2 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/feature/6662647093133312 preventDefault @ third_party-83f2439a8e6dd624.js.gz:2 zoom-plus-mini.png:1 Failed to load resource: the server responded with a status of 404 () slider.png:1 Failed to load resource: the server responded with a status of 404 () zoom-minus-mini.png:1 Failed to load resource: the server responded with a status of 404 () zoombar.png:1 Failed to load resource: the server responded with a status of 404 () zoom-plus-mini.png:1 GET https://www.waze.com/en-US/img/zoom-plus-mini.png 404 Image (async) OpenLayers.Util.modifyAlphaImageDiv @ third_party-83f2439a8e6dd624.js.gz:2 OpenLayers.Util.createAlphaImageDiv @ third_party-83f2439a8e6dd624.js.gz:2 _addButton @ third_party-83f2439a8e6dd624.js.gz:2 draw @ third_party-83f2439a8e6dd624.js.gz:2 redraw @ third_party-83f2439a8e6dd624.js.gz:2 triggerEvent @ third_party-83f2439a8e6dd624.js.gz:2 updateSize @ third_party-83f2439a8e6dd624.js.gz:2 e.updateSize @ third_party-83f2439a8e6dd624.js.gz:2 e.updateHeight @ third_party-83f2439a8e6dd624.js.gz:2 resize @ app-31694dffb39223a4.js.gz:1 resizeFromTopLeft @ app-31694dffb39223a4.js.gz:1 (anonymous) @ app-31694dffb39223a4.js.gz:1 jl @ third_party-83f2439a8e6dd624.js.gz:2 t.unstable_runWithPriority @ third_party-83f2439a8e6dd624.js.gz:2 Vr @ third_party-83f2439a8e6dd624.js.gz:2 Pl @ third_party-83f2439a8e6dd624.js.gz:2 (anonymous) @ third_party-83f2439a8e6dd624.js.gz:2 R @ third_party-83f2439a8e6dd624.js.gz:2 b.port1.onmessage @ third_party-83f2439a8e6dd624.js.gz:2 slider.png:1 GET https://www.waze.com/en-US/img/slider.png 404 Image (async) OpenLayers.Util.modifyAlphaImageDiv @ third_party-83f2439a8e6dd624.js.gz:2 OpenLayers.Util.createAlphaImageDiv @ third_party-83f2439a8e6dd624.js.gz:2 _addZoomBar @ third_party-83f2439a8e6dd624.js.gz:2 draw @ third_party-83f2439a8e6dd624.js.gz:2 redraw @ third_party-83f2439a8e6dd624.js.gz:2 triggerEvent @ third_party-83f2439a8e6dd624.js.gz:2 updateSize @ third_party-83f2439a8e6dd624.js.gz:2 e.updateSize @ third_party-83f2439a8e6dd624.js.gz:2 e.updateHeight @ third_party-83f2439a8e6dd624.js.gz:2 resize @ app-31694dffb39223a4.js.gz:1 resizeFromTopLeft @ app-31694dffb39223a4.js.gz:1 (anonymous) @ app-31694dffb39223a4.js.gz:1 jl @ third_party-83f2439a8e6dd624.js.gz:2 t.unstable_runWithPriority @ third_party-83f2439a8e6dd624.js.gz:2 Vr @ third_party-83f2439a8e6dd624.js.gz:2 Pl @ third_party-83f2439a8e6dd624.js.gz:2 (anonymous) @ third_party-83f2439a8e6dd624.js.gz:2 R @ third_party-83f2439a8e6dd624.js.gz:2 b.port1.onmessage @ third_party-83f2439a8e6dd624.js.gz:2 zoom-minus-mini.png:1 GET https://www.waze.com/en-US/img/zoom-minus-mini.png 404 Image (async) OpenLayers.Util.modifyAlphaImageDiv @ third_party-83f2439a8e6dd624.js.gz:2 OpenLayers.Util.createAlphaImageDiv @ third_party-83f2439a8e6dd624.js.gz:2 _addButton @ third_party-83f2439a8e6dd624.js.gz:2 draw @ third_party-83f2439a8e6dd624.js.gz:2 redraw @ third_party-83f2439a8e6dd624.js.gz:2 triggerEvent @ third_party-83f2439a8e6dd624.js.gz:2 updateSize @ third_party-83f2439a8e6dd624.js.gz:2 e.updateSize @ third_party-83f2439a8e6dd624.js.gz:2 e.updateHeight @ third_party-83f2439a8e6dd624.js.gz:2 resize @ app-31694dffb39223a4.js.gz:1 resizeFromTopLeft @ app-31694dffb39223a4.js.gz:1 (anonymous) @ app-31694dffb39223a4.js.gz:1 jl @ third_party-83f2439a8e6dd624.js.gz:2 t.unstable_runWithPriority @ third_party-83f2439a8e6dd624.js.gz:2 Vr @ third_party-83f2439a8e6dd624.js.gz:2 Pl @ third_party-83f2439a8e6dd624.js.gz:2 (anonymous) @ third_party-83f2439a8e6dd624.js.gz:2 R @ third_party-83f2439a8e6dd624.js.gz:2 b.port1.onmessage @ third_party-83f2439a8e6dd624.js.gz:2 zoom-plus-mini.png:1 GET https://www.waze.com/en-US/img/zoom-plus-mini.png 404 Image (async) OpenLayers.Util.modifyAlphaImageDiv @ third_party-83f2439a8e6dd624.js.gz:2 OpenLayers.Util.createAlphaImageDiv @ third_party-83f2439a8e6dd624.js.gz:2 _addButton @ third_party-83f2439a8e6dd624.js.gz:2 draw @ third_party-83f2439a8e6dd624.js.gz:2 redraw @ third_party-83f2439a8e6dd624.js.gz:2 triggerEvent @ third_party-83f2439a8e6dd624.js.gz:2 updateSize @ third_party-83f2439a8e6dd624.js.gz:2 e.updateSize @ third_party-83f2439a8e6dd624.js.gz:2 e.updateHeight @ third_party-83f2439a8e6dd624.js.gz:2 resize @ app-31694dffb39223a4.js.gz:1 resizeFromTopLeft @ app-31694dffb39223a4.js.gz:1 (anonymous) @ app-31694dffb39223a4.js.gz:1 jl @ third_party-83f2439a8e6dd624.js.gz:2 t.unstable_runWithPriority @ third_party-83f2439a8e6dd624.js.gz:2 Vr @ third_party-83f2439a8e6dd624.js.gz:2 Pl @ third_party-83f2439a8e6dd624.js.gz:2 yl @ third_party-83f2439a8e6dd624.js.gz:2 (anonymous) @ third_party-83f2439a8e6dd624.js.gz:2 t.unstable_runWithPriority @ third_party-83f2439a8e6dd624.js.gz:2 Vr @ third_party-83f2439a8e6dd624.js.gz:2 Zr @ third_party-83f2439a8e6dd624.js.gz:2 Gr @ third_party-83f2439a8e6dd624.js.gz:2 pl @ third_party-83f2439a8e6dd624.js.gz:2 Ta @ third_party-83f2439a8e6dd624.js.gz:2 s @ app-31694dffb39223a4.js.gz:1 y @ third_party-83f2439a8e6dd624.js.gz:2 v @ third_party-83f2439a8e6dd624.js.gz:2 d @ third_party-83f2439a8e6dd624.js.gz:2 u.trigger @ third_party-83f2439a8e6dd624.js.gz:2 trigger @ app-31694dffb39223a4.js.gz:1 triggerEvent @ app-31694dffb39223a4.js.gz:1 _triggerSelectionChanged @ app-31694dffb39223a4.js.gz:1 unselectAll @ app-31694dffb39223a4.js.gz:1 _onClickOut @ app-31694dffb39223a4.js.gz:1 y @ third_party-83f2439a8e6dd624.js.gz:2 v @ third_party-83f2439a8e6dd624.js.gz:2 d @ third_party-83f2439a8e6dd624.js.gz:2 u.trigger @ third_party-83f2439a8e6dd624.js.gz:2 f @ third_party-83f2439a8e6dd624.js.gz:2 _onClickOut @ app-31694dffb39223a4.js.gz:1 _onMouseClick @ app-31694dffb39223a4.js.gz:1 triggerEvent @ third_party-83f2439a8e6dd624.js.gz:2 handleBrowserEvent @ third_party-83f2439a8e6dd624.js.gz:2 (anonymous) @ third_party-83f2439a8e6dd624.js.gz:2 slider.png:1 GET https://www.waze.com/en-US/img/slider.png 404 Image (async) OpenLayers.Util.modifyAlphaImageDiv @ third_party-83f2439a8e6dd624.js.gz:2 OpenLayers.Util.createAlphaImageDiv @ third_party-83f2439a8e6dd624.js.gz:2 _addZoomBar @ third_party-83f2439a8e6dd624.js.gz:2 draw @ third_party-83f2439a8e6dd624.js.gz:2 redraw @ third_party-83f2439a8e6dd624.js.gz:2 triggerEvent @ third_party-83f2439a8e6dd624.js.gz:2 updateSize @ third_party-83f2439a8e6dd624.js.gz:2 e.updateSize @ third_party-83f2439a8e6dd624.js.gz:2 e.updateHeight @ third_party-83f2439a8e6dd624.js.gz:2 resize @ app-31694dffb39223a4.js.gz:1 resizeFromTopLeft @ app-31694dffb39223a4.js.gz:1 (anonymous) @ app-31694dffb39223a4.js.gz:1 jl @ third_party-83f2439a8e6dd624.js.gz:2 t.unstable_runWithPriority @ third_party-83f2439a8e6dd624.js.gz:2 Vr @ third_party-83f2439a8e6dd624.js.gz:2 Pl @ third_party-83f2439a8e6dd624.js.gz:2 yl @ third_party-83f2439a8e6dd624.js.gz:2 (anonymous) @ third_party-83f2439a8e6dd624.js.gz:2 t.unstable_runWithPriority @ third_party-83f2439a8e6dd624.js.gz:2 Vr @ third_party-83f2439a8e6dd624.js.gz:2 Zr @ third_party-83f2439a8e6dd624.js.gz:2 Gr @ third_party-83f2439a8e6dd624.js.gz:2 pl @ third_party-83f2439a8e6dd624.js.gz:2 Ta @ third_party-83f2439a8e6dd624.js.gz:2 s @ app-31694dffb39223a4.js.gz:1 y @ third_party-83f2439a8e6dd624.js.gz:2 v @ third_party-83f2439a8e6dd624.js.gz:2 d @ third_party-83f2439a8e6dd624.js.gz:2 u.trigger @ third_party-83f2439a8e6dd624.js.gz:2 trigger @ app-31694dffb39223a4.js.gz:1 triggerEvent @ app-31694dffb39223a4.js.gz:1 _triggerSelectionChanged @ app-31694dffb39223a4.js.gz:1 unselectAll @ app-31694dffb39223a4.js.gz:1 _onClickOut @ app-31694dffb39223a4.js.gz:1 y @ third_party-83f2439a8e6dd624.js.gz:2 v @ third_party-83f2439a8e6dd624.js.gz:2 d @ third_party-83f2439a8e6dd624.js.gz:2 u.trigger @ third_party-83f2439a8e6dd624.js.gz:2 f @ third_party-83f2439a8e6dd624.js.gz:2 _onClickOut @ app-31694dffb39223a4.js.gz:1 _onMouseClick @ app-31694dffb39223a4.js.gz:1 triggerEvent @ third_party-83f2439a8e6dd624.js.gz:2 handleBrowserEvent @ third_party-83f2439a8e6dd624.js.gz:2 (anonymous) @ third_party-83f2439a8e6dd624.js.gz:2 zoom-minus-mini.png:1 GET https://www.waze.com/en-US/img/zoom-minus-mini.png 404

Those are the usual errors that get thrown as FUME rebuilds the zoom bar, so nothing of concern there.

Can you send over a screengrab or two showing all the FUME settings.


Disable the “Darken screen overlay when saving” option - when you save do you then get any period where the screen isn’t darkened, or does it go almost immediately into that darkened state until the save is done?

If the screen goes dark almost immediately, it means the blocking overlay that FUME can do something about is being replaced by the secondary, and usually far shorter lived, blocking overlay that FUME doesn’t do anything about.

There is a short period, after clicking save, that the screen isn’t darkened. Here is a screen capture (notice the point where the save button goes from blue to grey but the save count is still above the button):

I have the version 1.50.257 installed on Chrome. I disabled other WME extensions and other scripts under Tampermonkey, and I still see the “Search this area” box.