Hi there, it seems to be an issue with last update. I tried to upload a video but it seems uploading is broken too.
When I try to use buttons on editor (or upload) in Firefox I see some errors on console regarding to Discourse chat:
I disabled all extensions and stills not working. Tell me if I can help you with something more as user
إعجاب واحد (1)
sam
(Sam Saffron)
30 يونيو 2022، 7:50ص
2
Odd, is this still happening now?
Is it only related to videos, can you repro with images?
Here we go: https://ufile.io/z1tybnhf
[MP4 ~5MB file]
sam
(Sam Saffron)
1 يوليو 2022، 4:48ص
6
Hmmm I am unable to repro with that file? (using Firefox on Linux)
Well, you need to download the MP4, read the first image or reproduce trying to bold your text in Firefox and Discourse.
Falco
(Falco)
2 يوليو 2022، 12:04ص
8
This is a bold text with keyboard shortcut
This is a bold text with the menu click
Nope, no repro in Firefox for me.
link broken in firefox lol
I cant repo on firefox on windows 10.
sam
(Sam Saffron)
2 يوليو 2022، 6:40ص
10
Yeah you need the exact right codecs, removed
إعجاب واحد (1)
That’s a bold tried with buttons.
That’s a bold tried with keyboard.
Sorry but I’m still with the same (without extensions).
Well I recorded with Kazam, but it’s OK:
إعجابَين (2)
sam
(Sam Saffron)
7 يوليو 2022، 6:02ص
13
No luck reproducing here, just tried on firefox on linux. Perhaps try the browser safe mode ? Maybe it is browser plugin related.
Regarding that error, it looks somewhat unrelated and I think we fixed it a few days ago.
إعجاب واحد (1)
gerhard
(Gerhard Schlager)
7 يوليو 2022، 9:09ص
14
What version of Firefox are you using? Are you using an ESR release?
إعجابَين (2)
78.15 ESR, what’s up with that?
Still not working in safe-mode.
sam
(Sam Saffron)
11 يوليو 2022، 6:57ص
16
I am not sure if we even had 78.15 in our test matrix.
I think we need to improve our page here to at least call out stuff a bit better:
Depending on one’s interpretation Firefox ESR is either supported or not. We need to make a proper call here. (if unsupported we should display the HTML view)
My guess here @david is that this may be related to the undo support?
إعجاب واحد (1)
Falco
(Falco)
11 يوليو 2022، 5:44م
18
satonotdead:
78.15 ESR
Firefox 78 ESR support ended last year from Mozilla. It doesn’t receive security patches anymore. You need to update to the current ESR version (102) or at least the previous one (91) which will be supported for two more months.
3 إعجابات
david
(David Taylor)
11 يوليو 2022، 7:50م
19
I just double checked via BrowserStack, and the toolbar formatting buttons work correctly under Firefox 91
Yeah, via MDN , Firefox < 89 had bugs with text manipulation:
Before Firefox 89, manipulating the content of <input>
and <textarea>
elements using Document.execCommand()
commands requires workarounds (see bug 1220696 ).
4 إعجابات
Falco
(Falco)
11 يوليو 2022، 7:52م
20
We run CI on every commit on Firefox ESR. ESR version is the one packaged in the current Debian stable. At the moment it’s ran against 91.11.0
.
إعجابَين (2)
sam
(Sam Saffron)
11 يوليو 2022، 9:12م
21
Can we feature detect 89 and lower so it gets html view without impacting supported browsers?
إعجاب واحد (1)
david
(David Taylor)
12 يوليو 2022، 9:38ص
22
It’s difficult to feature-detect a bug like this, so I think our only option is to check the user agent:
discourse:main
← discourse:old-browser-firefox-89
opened 09:28AM - 12 Jul 22 UTC
Prior to v89, Firefox has bugs with document.execCommand("insertText"): https://… bugzil.la/1220696
This commit introduces some variables to browser-detect, and therefore wraps the entire logic in an IIFE to avoid state leaking. (`let`/`const` are not supported on older browsers)
(best reviewed [with whitespace changes hidden](https://github.com/discourse/discourse/pull/17443/files?diff=split&w=1))
3 إعجابات
david
(David Taylor)
تم إغلاقه في
11 أغسطس 2022، 9:39ص
23
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.