Obscure canvas rendering issue

Hello, I have created a webpage with a canvas element that allows the user to draw an irregular path by pressing down the mouse, similar to the free drawing of a paint … (read more)

Hello,

I have created a webpage with a canvas element that allows the user to draw an irregular path by pressing down the mouse, similar to the free drawing of a paint application. The issue is that the very first time that the user presses the mouse, the line stops abruptly, while the next times the lines are drawn correctly. The events seem to fire correctly and the page works fine at Chromium, so it seems to be a Firefox issue. You can find the html page below. I am curious, what could be the problem?

<!DOCTYPE html>
<html lang="el">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Canvas</title>
  <style>
    #canvas {
      background-color: whitesmoke;
      border: solid 2px brown;
    }
  </style>
</head>

<body>
  <canvas id="canvas"></canvas>

  <script>
    function startDrawing(e) {
      isDrawing = true;
      context.beginPath();
      context.moveTo(e.offsetX, e.offsetY);
    }

    function draw(e) {
      if (isDrawing) {
        context.lineTo(e.offsetX, e.offsetY);
        context.stroke();
      }
    }

    function stopDrawing(e) {
      console.log("stopped drawing")
      isDrawing = false;
    }

    const canvas = document.getElementById('canvas');
    const context = canvas.getContext('2d');
    var isDrawing = false;
    canvas.width = 1000;
    canvas.height = 1000;
    context.strokeStyle = "#913d88";
    context.lineWidth = 2;
    canvas.onmousedown = startDrawing;
    canvas.onmouseup = stopDrawing;
    canvas.onmousemove = draw;
  </script>
</body>

</html>

Asked by ngiatsog 2 days ago

Last reply by jscher2000 - Support Volunteer 1 day ago

firefox ate my history

after downloading and installing v.126 of firefox, my history has disappeared. the browser is not generating new history from web site visits. the history is fixed perman… (read more)

after downloading and installing v.126 of firefox, my history has disappeared. the browser is not generating new history from web site visits. the history is fixed permanently on a single web address. this is the web address of a site that is in my toolbar. this site cannot be deleted from the history. this site cannot be deleted through the preferences menu. the same site shows in the history file as the only site visited in the past several months, even though i have not visited that site in the past several months. the browser does not show my browsing history. the browser does not create a browsing history. my history function is permanently broken.

help?

Asked by drollere 2 days ago

Last reply by jscher2000 - Support Volunteer 1 day ago

Firefox’s Enhanced Tracking Protection (Strict Mode) is known to cause issues on x.com

https://x.com/ (Formaly Twitter) Firefox’s Enhanced Tracking Protection (Strict Mode) is known to cause issues on x.com Not only me: https://www.reddit.com/r/firefox/co… (read more)

https://x.com/ (Formaly Twitter) Firefox’s Enhanced Tracking Protection (Strict Mode) is known to cause issues on x.com


Not only me: https://www.reddit.com/r/firefox/comments/1ctx1bm/twitter_not_working_on_private_browsing/ https://connect.mozilla.org/t5/discussions/firefox-s-enhanced-tracking-protection-strict-mode-is-known-to/td-p/57432 https://lemmy.world/post/15496431

https://news.ycombinator.com/item?id=40386418 Dunno if entirely accurate but regarding the Firefox error: “Twitter switched their top level domain to X, but didn't change any of their other domains, so they're still pulling assets from Twimg. Which makes Firefox (correctly) block the page if you have Tracking Protect enabled because it sees X trying to involve 3rd parties.“ Slow clap.

Asked by hokagegaara 1 week ago

Last reply by Paul 1 day ago

Bookmark Toolbar

Can I have more than one bookmark toolbar at the top of the screen? I am a teacher and I have at least 12 maths bookmarks I would like to display as well as my standard /… (read more)

Can I have more than one bookmark toolbar at the top of the screen? I am a teacher and I have at least 12 maths bookmarks I would like to display as well as my standard / personal bookmarks.

Asked by FieldEagle 1 day ago

Last reply by Paul 1 day ago

Firefox automatically download files .docx from facebook page as pdf

Hello, I have problem with firefox. When I try download from facebook page files .docx, .xlsx (Microsoft Office) Firefox automatically download it as PDF and file is brok… (read more)

Hello, I have problem with firefox. When I try download from facebook page files .docx, .xlsx (Microsoft Office) Firefox automatically download it as PDF and file is broken. I don't know how to repair this. Please help, it is very frustrating.

Fiirefox not working smoothly with various sites. Chrome worked

Trying to us kp.org and Firefox would not recognize the selections made. At times Firefox would not let me make or retain the selection made. Switched to Chrome and sit… (read more)

Trying to us kp.org and Firefox would not recognize the selections made. At times Firefox would not let me make or retain the selection made. Switched to Chrome and site worked smoothly.

Asked by steve624 1 day ago

Firefox freezes and crashes

For several months I have been experiencing very frequent tab crashes and overall freezes in Firefox. I have tried removing all extensions and starting in safe mode, but … (read more)

For several months I have been experiencing very frequent tab crashes and overall freezes in Firefox. I have tried removing all extensions and starting in safe mode, but nothing has solved it. I have reinstalled Firefox and updated all of my drivers. There doesn't seem to be any pattern to what causes the crashes and freezes. They can happen any time and on any website. They happen around 5 times an hour. I do not know how to troubleshoot any further.

Asked by Eric Y 1 day ago

SharePoint

I have two separate client that can not use Firefox to get to SharePoint, they put in their login and then are just looped back or it says they don't have an account. Bot… (read more)

I have two separate client that can not use Firefox to get to SharePoint, they put in their login and then are just looped back or it says they don't have an account. Both can access from Chrome and Edge, I have reinstalled fresh on both clients and the issue still happens in Safe Mode. I have already contacted Microsoft who states because it works in Chrome and Edge the issue is going to be Firefox.

Asked by jschultz6 1 day ago

When turning on Laptop - message appears

There is problem going on when I turn my laptop in the morning. It has appeared three times now. The message say " Open or Fresh Firefox" The first time I did a Fresh, t… (read more)

There is problem going on when I turn my laptop in the morning. It has appeared three times now. The message say " Open or Fresh Firefox" The first time I did a Fresh, the second one I clicked "Open". I later get an update and I didn't do the update then the next morning I cannot login into my laptop. I kept getting codes to enter my password. Finally, a security screen appeared and I was able to login. This morning when turning on my laptop I see the same message appear again. I did the refresh Firefox. I had to go back and reset all my personal setting.

Also, I am letting you know that I am being monitor and I am having other problems with my email and iPhone. Question: Who is monitoring the monitor?

Asked by Yolanda 1 day ago

Random Certificate warnings

Hi, for about 14 days I get random certificate warnings - even on well known websites. They vary from SSL_ERROR_BAD_CERT_DOMAIN to SEC_ERROR_UNKNOWN_ISSUER... even on web… (read more)

Hi, for about 14 days I get random certificate warnings - even on well known websites. They vary from SSL_ERROR_BAD_CERT_DOMAIN to SEC_ERROR_UNKNOWN_ISSUER... even on websites like x.com or LinkedIn. At the same time I got a new router from my ISP. But I am not sure, if this is connected somehow or if I got a Man-in-the-Middle or a virus. Malwarebytes & Co don´t find anything. I have resetted Firefox, too. But nothing helps. I get these errors in Chrome, too, sometimes. But not as often. Any ideas anybody? TIA!!!

Asked by Edith Mayerhofer 1 day ago

  • Solved

Secure Connection Failed

I am getting "Secure Connection Failed", Ive seen literally hundereds of same error also exist here. Like most of default solution (which is below) did not work for me. M… (read more)

I am getting "Secure Connection Failed", Ive seen literally hundereds of same error also exist here. Like most of default solution (which is below) did not work for me. My laptops time is correct, And I highly doubt reddit and most of internet has issue with its security certificates. And other browser works just fine. So What is my solution other than immigrating to new browser?

https://support.mozilla.org/en-US/kb/secure-connection-failed-firefox-did-not-connect?as=u&utm_source=inproduct

Asked by sinan50563 5 days ago

Answered by jscher2000 - Support Volunteer 3 days ago

  • Solved

When first started, Firefox takes way too long to load any website

I'm hoping someone can help with a conundrum. A few years ago, whenever I first started Firefox--whether I had just started up my computer or had exited Firefox and open… (read more)

I'm hoping someone can help with a conundrum.

A few years ago, whenever I first started Firefox--whether I had just started up my computer or had exited Firefox and opened it back up--it would take several minutes for Firefox to load any website (Google, Amazon, weather.com--anything). Once the first site loaded, it would load subsequent sites normally. Interestingly, it was only my default profile that was affected; if I used another profile or created a new one, websites would load within seconds of my starting Firefox.

I finally broke down and created a new default profile, imported my history/bookmarks/etc., reinstalled extensions, adjusted settings, etc. The new profile behaved nicely, loading the first website within a few seconds of Firefox starting. But over time, the load time has gradually increased to the point where it is now behaving just like the old profile: I load Firefox, I try to go to any website, and it takes several minutes for it to load.

Any ideas what's happening/what's the problem? Hoping someone out there has some wisdom and can help troubleshoot. Thanks!

Asked by pizzilla 3 days ago

Answered by TyDraniu 2 days ago

Issue with Opening Website in Mozilla Firefox Community

Dear Mozilla Firefox Community, I hope this message finds you well. I am reaching out to report an issue regarding the accessibility of a website through Mozilla Firefox… (read more)

Dear Mozilla Firefox Community,

I hope this message finds you well. I am reaching out to report an issue regarding the accessibility of a website through Mozilla Firefox.

The website in question, https://carrecoverydxb.com/, is currently inaccessible when attempting to load it using Mozilla Firefox. Despite multiple attempts, the site fails to open, displaying an error message indicating an inability to establish a connection.

I have tested the website on other browsers and devices, and it appears to load without any issues. However, this problem seems specific to Mozilla Firefox.

As a member of the Mozilla Firefox community, I am seeking assistance in resolving this issue. I believe it is essential to ensure that all websites are accessible through Mozilla Firefox to provide users with a seamless browsing experience.

Could you please investigate this matter and provide any guidance or solutions to address the problem? Your prompt attention to this issue would be greatly appreciated.

Thank you for your time and assistance.

Best Regards, Umlex matlex

Asked by Umlex Matlex 1 day ago

After resume from suspend graphics are broken (Linux, Nvidia)

This has been a problem for a while, currently on Firefox 126.0 and Nvidia 550.78. I can work around the problem by forcing webrender to use software mode. When using HW… (read more)

This has been a problem for a while, currently on Firefox 126.0 and Nvidia 550.78. I can work around the problem by forcing webrender to use software mode.

When using HW accelerated webrender with my Nvidia graphics card everything works fine until the PC wakes from sleep, then graphics are broken and Firefox needs restarting. Most noticeable for me is when looking at Grafana graphs they will look like random lines, and my Frigate NVR snapshots only display some of the time.

Is there anywhere in Firefox that will show a log of any error messages to do with the graphics card? I would like to try and fix the problem rather than disabling HW acceleration, but with no logs to look at that is impossible. No other programs seem to have a problem with resuming from sleep, and no error messages are shown in any of the system logs.

Asked by Adam 2 weeks ago

Last reply by Adam 1 day ago

Credit card info

I went to settings and then to privacy and security and tried to find auto fill to remove credit card info. I couldn't find the setting the browser told me to find. … (read more)

I went to settings and then to privacy and security and tried to find auto fill to remove credit card info. I couldn't find the setting the browser told me to find.

Asked by Steven 3 days ago

Last reply by jonzn4SUSE 1 day ago

Google Not Responding and/or Timing Out

In early May I started having problems with Google on Firefox. Sometimes the Google home page won't load up at all. Once it does load up sometimes the searches work, so… (read more)

In early May I started having problems with Google on Firefox. Sometimes the Google home page won't load up at all. Once it does load up sometimes the searches work, sometimes the search just times out and goes back to the empty search bar, also when I click on links to websites they time out too. If I go straight to a bookmarked website, that seems to free things up and the next Google search I do will work. I've uninstalled and reinstalled Firefox but it doesn't make any difference. Google works fine on Chrome and Edge. Any advice would be gratefully received - please note I'm not technically minded! Thank you.

Asked by kallen359 1 day ago

Last reply by jonzn4SUSE 1 day ago

  • Solved

Bing Maps causes firefox to crash

When I open Firefox and call up bing maps , it starts to load the page , then Firefox crashes . Has been doing this for several firefox versions . Looking at the crash r… (read more)

When I open Firefox and call up bing maps , it starts to load the page , then Firefox crashes . Has been doing this for several firefox versions . Looking at the crash report , I always get "The debug symbols are missing for firefox. Please install firefox-dbg." but I can't find firefox-dbg to load

Asked by jones2347 6 days ago

Answered by jones2347 2 days ago