Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artifact on Firefox browser #236

Open
g7ruh opened this issue Feb 9, 2024 · 11 comments
Open

Artifact on Firefox browser #236

g7ruh opened this issue Feb 9, 2024 · 11 comments

Comments

@g7ruh
Copy link

g7ruh commented Feb 9, 2024

Jasper,

I have downloaded the Edge version this morning ver v0.56-83-g88236d2a.

Having disabled the tileserver plugin it all worked again (I know you said it will not work with plugins!)

On Firefox browser there is an artifact on the map display window diagonal from top left to bottom right corners.

EDIT: it appears on all map types.

image

It is mostly present at all screen resizes, sometimes (but not often) it is not present but comes back on a resize.

It happens on two different W11 computers running different screen resolutions.

On the same computers it does not appear to be present in Edge or Chromium.

I installed to test the new map and improved drawing speed when lots of vessels are present. It looks faster, but I need a few more vessels to test properly. Hope the weather is better at the weekend and there will be more pleasure vessels about for a better test.

Thanks for all the improvements you are making with AIS-catcher.

Regards
Roger

@jvde-github
Copy link
Owner

jvde-github commented Feb 9, 2024

I cannot reproduce it. Can you experiment a bit more whether it is linked to any plugins running, or a particular layer (opensea map)? Hardware acceleration might be another option to play with. The only thing I found on Google which is remotely similar is https://support.mozilla.org/en-US/questions/1370019.

There is not much that we can do otherwise. What version of Firefox are you running?

@g7ruh
Copy link
Author

g7ruh commented Feb 10, 2024

Jasper,

No plugins enabled in config file.

It happens with all maps with or without layers enabled. I have tried disabling and rebooting, opening nothing but Firefox.

It did not happen with previous versions of AIS-catcher.

It appears and goes again when resizing the browser window. Some sizes the artifact is not present.

Firefox Version 122.0.1 (64bit)

I do not think it is anything like that described in the link above.

I have never seen it before on any Firefox window.

I cannot reproduce it on a 1680x1050 monitor attached to an Intel NUC yet, likely as it is an old monitor. See below.

Turning off Use hardware acceleration in Firefox settings and restarting Firefox removed the artfact and reenabling accel and restarting Firefox, the artifact is present. This is a repeatable condition. Be a shame to have to disable Firefox performance just for AIS-catcher.

Roger

@jvde-github
Copy link
Owner

Thanks Roger. Great! So it is linked to hardware acceleration. That at least gives a clue to build on. Will investigate further.

You also see it when zoomed out?

@g7ruh
Copy link
Author

g7ruh commented Feb 10, 2024

Jasper,

If you mean the + / - on the AIS-catcher screen: yes artifact present on all zoom levels in and out

Roger

@jvde-github
Copy link
Owner

jvde-github commented Feb 10, 2024

Thanks, will possibly narrow down the search for a solution. Which might be to wait for an update of the openlayers library.

@g7ruh
Copy link
Author

g7ruh commented Feb 10, 2024

Jasper,

It seems to remain on the screen when resizing Firefox AIS-catcher page that is large. When window is smaller it is present during the shrink / enlarge but is not always present when the resize has stopped, or it is more difficult to get the artfact to display.

It is present on 3440 x 1440 HDMI, 2560 x 1440 DisplayPort and 1920 x 1080 HDMI monitors. All have the artifact when hardware accel is on.

The first one is connected to my Lenovo Thinkpad X1 yoga laptop. The LT has a 3480x2400 screen but no artifact: most likely because the LT graphics does not support hardware accel (undocked LT screen only). It is blank when I have it docked as I use the large monitor. My Firefox window is usually about half the monitor width.

Sometimes if I leave the AIS-catcher tab and select another Firefox tab, resize it a bit, return it to the aprox size it was, then back to the AIS-catcher tab the artifact has gone but will come back on resize the AIS-catcher tab.

Hope this extra info helps

Roger

@kit-powell
Copy link

Ive seen it too on Linux (Ubuntu and DragonOS) and Windows, in all browsers (Chrome, Chromium and Firefox) and not just in AIS-catcher but meshmap.net too (Meshtastic)

I suspect its a datalayer that OSM implemented....????

unnamed (1)
unnamed

@kit-powell
Copy link

Additionally they are only visible at certain scales, zoom in too much and they become invisible

It appears the pattern in the lines are the same between 2 implementations of OSM (AIS-Catcher and Meshmap.net) leading me to think it's a layer and not a hardware accel issue, the two phots above are two different application on different OSs with different browsers (though Chrome and Chromium share a lot of DNA)

my $0.02

@kit-powell
Copy link

It's also visible in openstreetmap.org (rays coming off of Cape Cod and a set of them in the N. Atlantic

IMG_4928 (1)

@g7ruh
Copy link
Author

g7ruh commented Apr 11, 2024

My artifact which triggered this issue is a diagonal line from top left of screen to bottom right and at the top right the "dots" are more spaced out as this fragment shows:

image

Could your issue be related to this:

https://community.openstreetmap.org/t/osm-standard-tile-layer-hacked/111583

if so a cache reset / clean should fix it.

Roger

@kit-powell
Copy link

That does indeed look like it, I’ll flush the cache to get ride of the poisoned layer(s)

Thanks, so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants