Afficher les questions étiquetées : Afficher toutes les questions
  • Résolu

Using canvas/context to scale an image that displays ok before removes the image data, ok in Chome/Safari.

The app sizes two adjacent images to the same height. Maybe there's a better approach? This works, in that I see the original image displayed at the wrong size: //im… (lire la suite)

The app sizes two adjacent images to the same height. Maybe there's a better approach?

This works, in that I see the original image displayed at the wrong size:

   //img.src = imgsrc.src;

This sizes the image but without the data (black square for toDataURL w/ image/jpeg) in FF, but not Chrome and Safari:

   var canvas = document.createElement( 'canvas' );
   canvas.width = width;
   canvas.height = avail_height;
   var context = canvas.getContext( '2d' );
   // Tried/failed: Fill white background for JPEG export
   //context.fillStyle = '#fff';
   //context.fillRect(0, 0, canvas.width, canvas.height);
   context.drawImage( imgsrc, 0, 0, canvas.width, canvas.height);
   context.lineWidth = 150; // ??
   img.src = canvas.toDataURL('image/jpeg', 0.92);
   img.onmousedown = disableDragging; // for FF
   img.style.opacity = "1.0"

The page is the view.html one gets to via Enter on phobrain.com.

Demandé par phobrain il y a 2 mois

Réponse de Paul il y a 2 mois

  • Résolu
  • Archivé

Backup & restore information in Firefox profiles

Hi there! I'm attempting to migrate my Firefox (106.0.3) profile from the Linux Mint V20.3 on one SSD to a new installation of Linux Mint V21 on a separate SSD. I'm usi… (lire la suite)

Hi there!

I'm attempting to migrate my Firefox (106.0.3) profile from the Linux Mint V20.3 on one SSD to a new installation of Linux Mint V21 on a separate SSD. I'm using the information supplied on this page:

https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles

Step 4, under Backing up your profile says: Right-click on your profile folder (e.g. xxxxxxxx.default), and select Copy.

This folder, qspfoqtl.default, contains 1 file, named times.json, the contents of which are:

{ "created": 1618792039414, "firstUse": null }

Clearly, not my Firefox profile.

There is, however, a folder named nnob5aww.default-release that contains a bunch of directories and files (505.4MB) with names like bookmarkbackups, browser-extension-data... storage, weave.

Is this documentation incorrect as of this release of Firefox? And, should I be using the nnob5aww.default-release folder as the profile? I'm a little confused. (Most often, I'm a lot confused.) Any help would be appreciated.

Thanks in advance,

- Ralph

Demandé par Mandelbrot1 il y a 3 ans

Réponse de Mandelbrot1 il y a 3 ans

  • Résolu
  • Archivé

Firefox randomly slow at startup

Hello, For an unknown reason, my firefox sometimes is really slow to startup. It can take up to 10 minutes before the webpage start to load. My hardware is not that bad… (lire la suite)

Hello,

For an unknown reason, my firefox sometimes is really slow to startup.

It can take up to 10 minutes before the webpage start to load. My hardware is not that bad. I try to use the "performance" to capture the issue : https://share.firefox.dev/3x2rgHj I don't know if there is something to see because, the tool is also slow.

It happens on 3 different computers on linux.

I try to disable all extensions and without telemetry but nothing change. I'm reporting the problem now but it's much older

If you have a idea to fix this issue please share because it's really annoying.

Demandé par Inglebard il y a 1 an

Réponse de zeroknight il y a 1 an

  • Résolu
  • Archivé

Another program on your computer installed an add-on ... repeatedly with every restart

This issue is happening with every newly installed add-on, but not with add-ons installed on or before Aug 3, 2024. The add-ons are installed via addons.mozilla.org. To r… (lire la suite)

This issue is happening with every newly installed add-on, but not with add-ons installed on or before Aug 3, 2024. The add-ons are installed via addons.mozilla.org. To rule out the possibility that it's happening only with specific add-ons, I also installed one of the random recommendations on that page, Augmented Steam which has 54,248 users, and it happens with that one as well.

I'll click Enable, but the prompt appears every time I restart Firefox.

What I've tried (with a restart after each attempt):

  • Clear the startup cache
  • Delete extensions.json
  • Delete compatibility.ini
  • Via about:config deleted extensions.databaseSchema and extensions.getAddons.databaseSchema
  • Excluded Add-ons from syncing

I've noticed the following in extensions.json for each of the recent add-ons after restart:

  • syncGUID changes to presumably random new value
  • active changes from true to false
  • userDisabled changes from false to true
  • seen changes from true to false

Demandé par Lionel Holt il y a 1 an

Réponse de Lionel Holt il y a 1 an

  • Résolu

Hi - Snap Version for Ubuntu frequently locks system on closing.

Ubuntu - I use the SNAP version of Firefox - I generally have lots of tabs open but only use 5 or so of them and it's generally fine.... but when I am closing Firefox, it… (lire la suite)

Ubuntu - I use the SNAP version of Firefox - I generally have lots of tabs open but only use 5 or so of them and it's generally fine.... but when I am closing Firefox, it USES like 100% of the CPU and ALL of the RAM and ALL of the SWAP memory when closing.

This locks up the computer.

Sometimes it doesn't quite go all the way but I can watch it all happen in real time, using Task Manager - and that shows a solidwall of all resources occouring, when the close Firefox is run.

I am told by research via ChatGPT that this is a very real problem with the SNAP version and it's best to change to the Debian version, copy all the bookmarks etc., across and then uninstall the SNAP version.

It's rather disconcerting to have Linux crash because of this one app locking it up and frequently.

Chat GPT:

Is there a problem with Firefox Snap Version closing and using all the resources while doing so, which results in locking up the computer?

You're definitely not imagining it—there have been reports of Firefox's Snap version consuming excessive system resources (CPU, memory) and even causing lockups or hangs, particularly during closure. Here's what’s going on and how to mitigate it:

What’s Happening with Firefox Snap?

2. Browser Hangs or Locks the System on Close

On Linux (especially Ubuntu), users have reported that closing Firefox can lead to it hanging in memory, sometimes unresponsive and still consuming resources.
Super User
Ask Ubuntu
A stark example from Reddit illustrates the severity:
“About 50% of the time I open Firefox, it'll reach 100% CPU usage in about 30 seconds… PC completely unusable unless I shutdown.”
Reddit

3. Known Wayland Sway Bug

On Wayland/Sway setups, reloading Sway while Firefox is open can trigger intense logging, causing high CPU use and an enormous syslog.
Fix: Set MOZ_DISABLE_WAYLAND_PROXY=1, or upgrade to FF 125 where the issue is addressed.
Reddit+1

Alternative Approach

Many users, particularly on Ubuntu, opt out of Snap completely in favor of the .deb package or PPA builds. These alternatives often avoid these specific issues. Ask Ubuntu Reddit

Thoughts? Solutions?

Thanks in advance.

Demandé par wrogerwroger il y a 1 mois

Réponse de wrogerwroger il y a 1 mois

  • Résolu

firefox on an old computer

hi, I have an old PC with this CPU: Architecture: i686 CPU op-mode(s): 32-bit Address sizes: 34 bits physical, 32 bits virtual Byte … (lire la suite)

hi,

  I have an old PC with this CPU:

Architecture: i686

 CPU op-mode(s):         32-bit
 Address sizes:          34 bits physical, 32 bits virtual
 Byte Order:             Little Endian

CPU(s): 1

 On-line CPU(s) list:    0

Vendor ID: AuthenticAMD

 BIOS Vendor ID:         AMD                                             
 Model name:             AMD Sempron(tm) 2400+
   BIOS Model name:      AMD Sempron(tm) 2400+                             CPU @ 1.6GHz
   BIOS CPU family:      29
   CPU family:           6
   Model:                8
   Thread(s) per core:   1
   Core(s) per socket:   1
   Socket(s):            1
   Stepping:             1
   BogoMIPS:             3333.66
   Flags:                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat p
                         se36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow cpuid 3dnowprefe
                         tch vmmcall

Caches (sum of all):

 L1d:                    64 KiB (1 instance)
 L1i:                    64 KiB (1 instance)
 L2:                     256 KiB (1 instance)

Vulnerabilities:

 Gather data sampling:   Not affected
 Itlb multihit:          Not affected
 L1tf:                   Not affected
 Mds:                    Not affected
 Meltdown:               Not affected
 Mmio stale data:        Not affected
 Reg file data sampling: Not affected
 Retbleed:               Not affected
 Spec rstack overflow:   Not affected
 Spec store bypass:      Vulnerable
 Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitizatio
                         n
 Spectre v2:             Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS No
                         t affected; BHI Not affected
 Srbds:                  Not affected
 Tsx async abort:        Not affected


in some linux (arch 32 bit) I have problem executing firefox, Is there a version for CPU without request from SSE3 Flag?

thanks

Demandé par sacarde il y a 1 mois

Réponse de George Kitsoukakis il y a 1 mois

  • Résolu
  • Archivé

"this page is slowing down firefox"

How can I turn this message off? Some sites I visit give me that message, it shows up when I'm typing a reply to something which pushes the page lower and fouls up my ab… (lire la suite)

How can I turn this message off? Some sites I visit give me that message, it shows up when I'm typing a reply to something which pushes the page lower and fouls up my ability to keep typing, then if goes away, comes back, goes away ... I just want to kill the message entirely. I'm not worried about speed, there's nothing to fix, I just want the message gone.

Demandé par rayandrews il y a 1 an

Réponse de cor-el il y a 1 an

  • Résolu

Switzerland emoji flag replaced with the one of Sark

Hi, I discovered today that the installation of Firefox I have has modified some emoji, like the flag of Switzerland has been replaced with the one from Sark. See the sc… (lire la suite)

Hi,

I discovered today that the installation of Firefox I have has modified some emoji, like the flag of Switzerland has been replaced with the one from Sark. See the screenshot looking at the same website with Firefox on the left, and Brave on the right:

There's a big mess in the flags' emojis apparently looking at a page showing all the countries. See second screenshot.

Demandé par Marc-Aurèle il y a 1 mois

Réponse de Marc-Aurèle il y a 1 mois

  • Résolu
  • Archivé

firefox crashing

For the last 2 weeks I started having problems with Firefox working consistently. Sometimes only tabs crash, sometimes Firefox crashes. It is not tied to any actions, a t… (lire la suite)

For the last 2 weeks I started having problems with Firefox working consistently. Sometimes only tabs crash, sometimes Firefox crashes. It is not tied to any actions, a tab can crash even if you don't perform any actions in the browser. I have tried clean install on Fedora and Vanilla OS, native and Flatpak packages. The result is always the same - tabs or Firefox crashes every few minutes.

Demandé par Maksim Podterebkov il y a 1 an

Réponse de Maksim Podterebkov il y a 1 an

  • Résolu
  • Archivé

Hotkeys for rotating between different screens when responsive design mode is on

Is there any way to rotate between different screen sizes option using shortcuts keymaps which appear during "responsive design mode" is on. I found extensions which resi… (lire la suite)

Is there any way to rotate between different screen sizes option using shortcuts keymaps which appear during "responsive design mode" is on. I found extensions which resizes whole browser & they helps. but it also causes developer tool to resize along with browser which hinders me to see different css properties. so i am looking for a way to rotate only screens.

"Responsive Design mode" is what turns on when we press ctrl+shift+m.


I Love using firefox more than Chrome. This is my go to browser.

Demandé par rajesh kumar chaurasiya il y a 1 an

Réponse de cor-el il y a 1 an

  • Résolu

Linux / Plasma 6.4/Wayland (amd gpu) After enabling HDR in firefox - all non HDR (youtube) content just shows green sceen

I have HDR working in Proton games and mpv fine (using Plasma 6.4 / Wayland) I enabled HDR in Firefox (gfx.wayland.hdr), and HDR content works in YouTube fine ( looks am… (lire la suite)

I have HDR working in Proton games and mpv fine (using Plasma 6.4 / Wayland)

I enabled HDR in Firefox (gfx.wayland.hdr), and HDR content works in YouTube fine ( looks amazing!) however.. I have an issue in that all non HDR content doesn’t show any video (I have sound) just a green sceen (see screen shot) including all ads.

Any idea how to work round this ?

I have AMD 7800 GPU .

Cheers

Demandé par morgan cox il y a 3 mois

Réponse de morgan cox il y a 3 mois

  • Résolu
  • Archivé

Tab dragging stops working at random times

Sometimes drag functionality stops working. I can't grab a tab to move it to another position or to a new window. (Holding left click on the tab and moving the cursor doe… (lire la suite)

Sometimes drag functionality stops working. I can't grab a tab to move it to another position or to a new window. (Holding left click on the tab and moving the cursor does nothing). Also, re-merging the tab with another firefox window stops working. (Dragging a tab to a firefox window from another firefox window doesn't merge them. It does nothing) I can right click on the tab and select Move to move it to a new window but dragging stops working. I have to close Firefox and start it again (sometimes twice), then dragging starts working again. This happens multiple times a day. I am on Linux Mint and the version is 126.0 (64-bit). This problematic behavior has only recently began.

Demandé par tenkayr il y a 1 an

Réponse de TyDraniu il y a 1 an

  • Résolu
  • Archivé

Firefox 128.03 No way to get rid of google as search engine

Is Firefox now a complete tool of Google ? about:preferences#search there is no way to delete google as search engine I have startpage and duckduckgo as alternativ… (lire la suite)

Is Firefox now a complete tool of Google ? about:preferences#search there is no way to delete google as search engine I have startpage and duckduckgo as alternative options listed and I can remove them, but google cannot be removed as the REMOVE button is not highlighted in case of Google. Why do you hardcode Google as the default browser for the URL bar ?

From the attached image you can see that the "Remove Tab" is inactive specifically for google. I tried absolutely all advice on the net, and nothing works. Firefox now seemingly FORCES us to use google. This behavior was not present in the previous firefox version I used. It immediately happened after update to 128.0.3 (64-bit).

Is google now hardcoded into firefox ? If so it is time for a hard fork in the firefox code. Hopefully it is not needed.

In addition Google was ruled to be a Monopoly today by a federal judge,

https://apnews.com/article/google-antitrust-search-engine-verdict-apple-319a61f20fb11510097845a30abaefd8

So it would be better for Mozilla/Firefox to not continue the monopoly and become an enabling party in monopoly lawsuits.

Demandé par zimbodel il y a 1 an

Réponse de zimbodel il y a 1 an

  • Résolu

Images from canvas black or transparent: img.src = canvas.toDataURL(); // FF: 'image/jpeg'=black. Png,webp,default=transparent.

I don't know if this ever worked in FF, since I've been on Chrome a while. I tried canvas.toBlob() in FF without a solution. The behavior is the same whether the served … (lire la suite)

I don't know if this ever worked in FF, since I've been on Chrome a while. I tried canvas.toBlob() in FF without a solution.

The behavior is the same whether the served image is jpg or webp. A Servlet delivers the image data, here in webp:

          response.setHeader("Content-Type", "image/webp");

On page, I use a canvas thus => see '// FIREFOX'

     var canvas = document.createElement( 'canvas' );
     canvas.width = width;
     canvas.height = avail_height;
     var context = canvas.getContext( '2d' );
     context.drawImage( imgsrc, 0, 0, width, avail_height);
     context.lineWidth = 150;
     // FIREFOX: canvas.toDataURL('image/jpeg')=black, png,webp,default=transparent
     img.src = canvas.toDataURL('image/jpeg');
     img.onmousedown = disableDragging; // for FF
     img.style.opacity = "1.0";
     console.log('setImg ok');

Inspecting a black jpeg:

        data:image/jpeg;base64,...

Thanks!

Demandé par phobrain il y a 2 mois

Réponse de phobrain il y a 2 mois

  • Résolu
  • Archivé

WebGL creation failed after reinstalling lbgl1* libegl*

I am using the apt version of firefox v125.0.2 (64-bit). I do not have a dedicated GPU - I use my intel core's internal gpu only Intel Corporation HD Graphics 620 (rev 02… (lire la suite)

I am using the apt version of firefox v125.0.2 (64-bit). I do not have a dedicated GPU - I use my intel core's internal gpu only Intel Corporation HD Graphics 620 (rev 02).

I used to play this game named narrow.one, which before I reinstalled the mentioned libraries, was working fine except for crashing a few times. I thought these libraries were causing some issue, so I tried reinstalling them.

I reinstalled the libraries using: `sudo apt install --reinstall --fix-missing libgl1* libegl*`

After installation, I start getting that error. So, I tried reinstalling firefox (using the same command), and then restarting the laptop - but of no use. Chrome seems to be running WebGL, including the game.

In firefox, on the https://get.webgl.org/ page, I see Hmm. While your browser seems to support WebGL, it is disabled or unavailable. If possible, please ensure that you are running the latest drivers for your video card.

After that, I also tried reinstalling `libopengl0` and `libglu1-mesa` and `intel-microcode`, but of no use. Running although, `sudo intel_gpu_top` and then chrome, it seems that the GPU is in use by chrome as well.

I then go to about:support. It shows me the images I have attached. Reading the logs, there several `blocklisted` values in `Decision Log` section. I suspect that's the cause of this issue, but then I don't know how can I un-blocklist the blocklisted things, and even after that, why does Chrome runs webgl if these are blocklisted?

Running `glxinfo -B`, I get the following: `name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer):

   Vendor: Intel (0x8086)
   Device: Mesa Intel(R) HD Graphics 620 (KBL GT2) (0x5916)
   Version: 23.2.1
   Accelerated: yes
   Video memory: 7697MB
   Unified memory: yes
   Preferred profile: core (0x1)
   Max core profile version: 4.6
   Max compat profile version: 4.6
   Max GLES1 profile version: 1.1
   Max GLES[23] profile version: 3.2

OpenGL vendor string: Intel OpenGL renderer string: Mesa Intel(R) HD Graphics 620 (KBL GT2) OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.2.1-1ubuntu3.1 OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1 OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.2.1-1ubuntu3.1 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20`

I do not know much about OpenGL, but reading the above stuff, I suppose my GPU is in use and also has a compatible driver (although I am not sure).

Also, running `glxdemo`, `glxheads`, and `glxgears` seems to be rendering stuff.

Should I reinstall firefox after purging it first? Please help.

Thanks!

Demandé par Lakshay Rohila il y a 1 an

Réponse de zeroknight il y a 1 an

  • Résolu
  • Archivé

Taking webpage screenshot from command line

Hi. i have no results while doing this: https://dpaste.com/FTXPQ46ZL# No error, no screenshot. "Screenshot" flags in default state, about:policies - inactive. … (lire la suite)

Hi. i have no results while doing this: https://dpaste.com/FTXPQ46ZL# No error, no screenshot. "Screenshot" flags in default state, about:policies - inactive.

Demandé par qwertikator il y a 1 an

Réponse de cor-el il y a 1 an

  • Résolu
  • Archivé

Linux - 121 update changed cursor

After updating to version 121, the cursor theme, while having it on the window, changes from the default one (Breeze) to Adwaita while also getting like 2x bigger. How do… (lire la suite)

After updating to version 121, the cursor theme, while having it on the window, changes from the default one (Breeze) to Adwaita while also getting like 2x bigger. How do I change it back to default theme and size?

Demandé par April22 il y a 1 an

Réponse de April22 il y a 1 an