minimize-restore-maximize of browser window forces WebPlanner to redraw with original URL

Andrew Heard shared this problem 20 days ago
Known

I was in the progress of planning a route in Czechia; I maximized then later restored the window, and instead the map showed my local location in Australia. I don't know exactly how to reproduce it, because a simple superficial cycle through minimize-restore-maximize doesn't force it.


PS. it is caused by/ related to Microsoft PowerToys "FancyZones" app - when the browser window is moved between zones - eg. <Win>+Right or <Win>+Left something forces the browser/ webpage to refresh in a strange way. I can zoom out & "make my way back" to the route, which clearly is tedious. It would be useful if from the Plan tab you could click on a waypoint or on the elevation chart & have the map panned back into view.


current URL

https://web.locusmap.app/en/plan?route=AABHHAEAAxMA2hWzAuEZZ________4AAAAANANotfALilKv_______-AAAAADQDbMOQC5mkpAAH_____gAACAA0GAAMAAAAAAAMAAAAAAAAAkwAHAAt6LWljbzAyLnBuZwAdMjAyNjA4MTcgUm96bWJlcmsgbmFkIFZsdGF2b3UAGy9hbmRyb2lkLWJhc2UvUmVzaWRlbmNlLnBuZwAJTG9Ub3VyaW5nAA1hbGxvd19mZXJyaWVzAAVzcGVlZAANYWxsb3dfdHVubmVscwAAAAEDAAQAAAAFAUAPHHFqpmcHAAYAAAAAAAIAAA&lat=-42.8605120&lng=147.2948810&z=17&map=hikeBikeVector


original (bookmark) URL

https://web.locusmap.app/en/plan?lat=-42.8872057&lng=147.3266276&z=15&map=hikeBike

Replies (2)

photo
1

I must admit the post title "minimize-restore-maximize" is misleading, once I better understood the issue. Clicking any combination of those buttons doesn't cause the redraw. But I don't know what the FancyZones app does differently. I just need to make sure I don't use those special shortcut keys when changing the window size when using the WebPlanner.

This comment is in trash! Restore
photo
1

Hi Andrew,

it was quite difficult to simulate the issue but finally we managed to do so. The URL somehow gets the Australian location pinned at its end:

53728eaf02bcc356ef82872d9523ae848cef18fce3c5811c914f94b816a1790c

When this happens again, delete this part of the URL. We'll try to find out how to prevent this behavior in the future.

This comment is in trash! Restore
photo
1

well spotted Michal - the end of the URL was "off the screen" so I didn't notice

a "side suggestion" which would be useful in its own right - each point in the left side panel (3 below from the URL) - make them a link so clicking pans the map to that point

77f59047e221f7fff9976761533bbdd419486a690ed8d4d571c98c274ec716af

This comment is in trash! Restore
photo
Leave a Comment
 
Attach a file