Showing questions tagged: Show all questions

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?

<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> <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>

Asked by ngiatsog 1 hour ago

Last reply by ngiatsog 1 hour ago

Apostrophe is not showing up correctly ( )

Somehow I cannot type an apostrophe, whenever I do it just shows whats between the brackets ( ). What I do: 1. Press the apostrophe button 2. Press space Expected res… (read more)

Somehow I cannot type an apostrophe, whenever I do it just shows whats between the brackets ( ).

What I do: 1. Press the apostrophe button 2. Press space

Expected result: '

Actual result:


I m on Firefox Linux and my keybord is set on INTL

Asked by Jonezz 4 hours ago

Last reply by Jonezz 4 hours ago

WYSINWYG

There is (IMHO) some missing functionality / unwanted feature or call it what you like (bug?). History -> Manage History select e.g. Last 7 days, right click on Name… (read more)

There is (IMHO) some missing functionality / unwanted feature or call it what you like (bug?).

History -> Manage History

select e.g. Last 7 days, right click on Name and select at least two attributes (you can choose from: Tags, Location,Most Recent Visit, Added and Last Modified)

Select the first entry of the list, all displayed fields are selected/highlighted.

Copy (either with the menu or with Ctrl-C) and paste it in your favourite text editor.

Why is only the URL copied? Other fields were also highlighted. Why are they not included?

This is WYSINWYG (what you see is not what you get).

It is possible to export bookmarks as an html file, so why is this not possible with history?

OK, it is possible to query the sqlite3 database directly to get some history info but it's a bit cumbersome.

To do so,

  copy the sqlite (places.sqlite) database to some safe place then open the database (with 'sqlite3 places.sqlite')
  get the history info you are interested in with a sqlite query,
  e.g. select title,visit_count,site_name,url,description,last_visit_date from moz_places where url like '%support%';

But there is no simple (AFAIK) way to convert 'last_visit_date' (an integer) to something human readable.

So either include the whole selection when something is copied (WYSIWYG) or provide export history as an html file.

Any suggestions?

TIA

S. Claes

Asked by spcl67 2 days ago

Incomplete bookmarks when creating new places.sqlite or using the restore feature.

I'm trying to load a jsonlz4 backup of 88.4 mb with 1 146 851 items. When creating a new places.sqlite, the majority of the bookmarks inside Other Bookmarks don't have a … (read more)

I'm trying to load a jsonlz4 backup of 88.4 mb with 1 146 851 items. When creating a new places.sqlite, the majority of the bookmarks inside Other Bookmarks don't have a location url. Like this:

Name_____________| Location


Normal bookmark | site.com My problem_______|

I tried using https://www.jeffersonscher.com/ffu/bookbackreader.html to convert it into html and json. Importing the html into firefox puts everything into the Bookmarks Menu and everything is missing their location url. Opening the html in writer I see that every bookmark does have its location url but as hyperlinks on the names. Restoring the json, 1 time after not clicking the Check/Repair JSON button and another time after clicking it, gives me all the bookmarks in their correct place but the majority are still missing their location urls.

I also tried creating another places.sqlite with my jsonlz4 backup and exporting as html and json through the bookmarks Library. Importing them, separately, into new firefox profiles just gives me the bookmarks that weren't missing links.

Also tried creating a places.sqlite in windows but it stopped before the Other Bookmarks folder, I guess.

I don't know if its relevant but between restarts and shutdows I always have 18 kmozillahelper processes before even starting firefox. I don't know since when they haven been there or if they have increased.

Any ideas on how to restore correcly my bookmarks?

Asked by wandering.goose 4 days ago

Last reply by wandering.goose 3 days ago

Mouse input fails and does not recover upon opening secondary window

Version 126.0 (64 bit) Mozilla Firefox for Linux Mint mint-001 - 1.0 I use a wireless keyboard and mouse via a USB connector. History - I have had to reboot to clear the… (read more)

Version 126.0 (64 bit) Mozilla Firefox for Linux Mint mint-001 - 1.0

I use a wireless keyboard and mouse via a USB connector. History - I have had to reboot to clear the mouse interface error when it occurs for many months. I've had a open issue in the linux mint forums as I thought it may be a driver issue. Things worked tolerable until 5-29-2024 as my wireless mouse has been deactivated. I opened a second window(tab) in a new window and my wireless mouse permanently no longer works. It was quite startling. The wireless keyboard is fine. A wired USB mouse works. My HP laptop mousepad works. However, once the error occurs mouse clicks are no longer responded to and the active area remains the partial window where the mouse was last active. Currently the mouse cursor does not respond to movement inputs from the wireless mouse, so seriously worse.

Have the mouse settings or driver have been tampered with?

Asked by drersatz 4 days ago

Last reply by drersatz 3 days ago

Too many spawn child processess and browser freeze

Firefox spawn too many child processess, with cause the browser to freeze. Proposed solution: Reduce to absolute minimum the spawn child processess. The value should be… (read more)

Firefox spawn too many child processess, with cause the browser to freeze.

Proposed solution:

Reduce to absolute minimum the spawn child processess. The value should be set according to the device performance and additionally show allow the user to set manually the limits.

Example: 1 (maximal 3) child process per tab/window

Asked by Mcgiwer 1 week ago

Last reply by Mcgiwer 4 days ago

iso.x64 is not booting

data report to Hewlett Packard for serial # 5CD34859D5-port kali linu o.s. system control bios integration-update boot windows 11 iso develope secure boot for linux plus … (read more)

data report to Hewlett Packard for serial # 5CD34859D5-port kali linu o.s. system control bios integration-update boot windows 11 iso develope secure boot for linux plus windows 11

Asked by Scenic-Point 1 week ago

Last reply by Scenic-Point 5 days ago

crash in xdg-mime lookup (cache_alias_lookup) when printing or saving

Here is my crash report. https://crash-stats.mozilla.org/report/index/ac6dbca9-a495-4b78-a72f-8102b0240528#tab-details Based on https://gitlab.gnome.org/GNOME/glib/-/iss… (read more)

Here is my crash report. https://crash-stats.mozilla.org/report/index/ac6dbca9-a495-4b78-a72f-8102b0240528#tab-details

Based on https://gitlab.gnome.org/GNOME/glib/-/issues/2833, I gather that this crash happens when you have some malformed xdg-mime data. I'm trying to figure out what data that is and where it's stored so I can fix it.

The crash report doesn't show me the arguments, so I can't tell what mime type it's trying to load. Maybe it's not available due to the way the library is built, or maybe it's not available due to the crash report hiding potentially private data. Or both. Can anyone tell me how to see what mime type it's looking up? Or do you know what mime type it would be looking up when saving a PDF? `xdg-mime query default application/pdf` works fine so it's not just looking for a handler, there must be some sort of weird "MIME type" for "file browser" that it's trying to use.

Asked by mleuchtenburg 5 days ago

Search completion enabled, still not working

Hi all! A while back I downgraded my Firefox version to some old version to be able to access a FortiGate 310B. However when I upgraded back and started using the latest… (read more)

Hi all!

A while back I downgraded my Firefox version to some old version to be able to access a FortiGate 310B. However when I upgraded back and started using the latest version my search completion stopped working, but my search completion is turned on. It shows things I've already searched for, but it's not fetching new completions. I lived with this for a while since I couldn't be bothered to fix it, but I recently moved to linux, and copied all my data, I did this by just copying the profile folder and moved into into a new profile I created on linux. It worked, my bookmark, history, passwords etc are saved, but still no completion. I tried creating a new profile and the search completion worked perfectly fine. Do you guys have any tips or things I could try? Or do I just give up and move to a new profile, since this one is presumably corrupt?

Any help is appreciated, cheers :)

Asked by aron4 6 days ago

How to eliminate that ~6 pixel wide border

After the last upgrade Firefox has a strange ~6 pixel wide dark border. How can I eliminate that border? Thanks. :-) Firefox: 115.11.0esr OS: openSUSE Leap 15.5 KD… (read more)

After the last upgrade Firefox has a strange ~6 pixel wide dark border. How can I eliminate that border?

Thanks. :-)

Firefox: 115.11.0esr OS: openSUSE Leap 15.5 KDE-Plasma-Version: 5.27.9 KDE-Frameworks-Version: 5.103.0 Qt-Version: 5.15.8

Asked by peter.hucke 6 days ago