I'm the author of pskreporter.info and I'm trying to work out why it doesn't 
work in seamonkey. The root cause appears to be that pointermove events are not 
being delivered to the application.

In particular, the following test demonstrates the difference between firefox 
and seamonkey

* Go to https://pskreporter.info/pskmapn?hhhh
* After the page loads, open the developer tools and set in the console 
'disable_timers = 1' and then wait a couple of seconds.
* Now press break in the source debugger. It should break on the next event
* Now move the mouse into the map area and observe that it does not break. 
* Clicking on the + or - in the top left corner will trigger a break.

In Chrome, you can figure out that it is this element that has the pointermove 
event handler: 
<div class="ol-viewport" style="position: relative; overflow: hidden; width: 
100%; height: 100%;"><div style="position: absolute; width: 100%; height: 100%; 
z-index: 0;" class="ol-unselectable ol-layers"><div class="ol-layer" 
style="position: absolute; width: 100%; height: 100%;"><canvas style="position: 
absolute; left: 0px; transform-origin: left top 0px; transform: matrix(1, 0, 0, 
1, 0, 0);" width="1848" height="360"></canvas></div></div><div style="position: 
absolute; z-index: 0; width: 100%; height: 100%; pointer-events: none;" 
class="ol-overlaycontainer"><div class="ol-overlay-container ol-selectable" 
style="position: absolute; pointer-events: auto; display: none;"><div 
id="popup"></div></div></div><div style="position: absolute; z-index: 0; width: 
100%; height: 100%; pointer-events: none;" 
class="ol-overlaycontainer-stopevent"><div style="pointer-events: auto;" 
class="ol-zoom ol-unselectable ol-control"><button class="ol-zoom-in" 
type="button" title="Zoom in">+</button><button class="ol-zoom-out" 
type="button" title="Zoom out">−</button></div><div style="pointer-events: 
auto;" class="ol-rotate ol-unselectable ol-control ol-hidden"><button 
class="ol-rotate-reset" type="button" title="Reset rotation"><span 
class="ol-compass" style="transform: rotate(0rad);">⇧</span></button></div><div 
style="pointer-events: auto;" class="ol-attribution ol-unselectable ol-control 
ol-uncollapsible"><ul><li>©&nbsp;<a 
href="https://openmaptiles.org/";>OpenMapTiles</a> ©&nbsp;<a 
href="https://www.openstreetmap.org/copyright";>OpenStreetMap 
contributors</a></li></ul><button type="button" title="Attributions"><span 
class="ol-attribution-expand">i</span></button></div></div></div>

However I can't tell where the event handler is in seamonkey. 

I'm running seamonkey 2.53.5.1 and a reasonably current firefox.  

Maybe what caused the problem was the update of openlayers to v6. I tried 
moving to the current version (6.5) but it didn't help. 

Actually, I think that that is the problem. If I use v6.1.1 of ol, then it 
works, v6.5 it doesn't. It seems that I need to spend a few hours with git 
bisect to find what changed.

I can't actually use v6.1.1 as it has issues with certain projections and it 
triggers canvas rendering bugs that I fixed in later versions.....

Philip



On Saturday, January 16, 2021 at 3:27:26 AM UTC-5, meagain wrote:
> -------- Original Message -------- 
> > On 14/01/2021 22:01, [email protected] wrote: 
> >> 
> >> ... 
> >> I installed SM v2.53.5.1 on this laptop and confirmed that the problem 
> >> with https://pskreporter.info/pskmap.html was present. I then 
> >> uninstalled that version of SM and installed v2.49.4. The problem was 
> >> still present! I repeated this several times, going back as far as 
> >> v2.30, and all of them had the same problem with this site. 
> > 
> > Your observation makes it all the more relevant to try older Firefox 
> > versions with the site. I think I tried SM 5.3.5.1 spoofing the user 
> > agent as Firefox without success, which makes it likely that some site 
> > JS is testing for a feature that isn't present in SM. As it works with 
> > the latest ESR, one could try each previous ESR until it doesn't, and 
> > that might offer a good hint as to what's missing with SM. 
> > 
> >> I am extremely embarrassed to have made this error in diagnosing the 
> >> situation and I apologize to everyone who has spent time looking into it. 
> > > ... 
> > 
> > Very generously put, but who could cast the first stone? 
> > 
> > /df 
> >
> The site passes the W3C Validator, which always makes me happy :-) 
> WAG: Could the site be oriented to touch screen use?
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to