Stylus: Save from Edit Style page throws exception [Fedora]

Created on 5 Dec 2019  路  8Comments  路  Source: openstyles/stylus

  • Browser: Firefox 71.0
  • Operating System: Fedora 31 (Linux)
  • Stylus Version: 1.5.6

To reproduce:
Click the Stylus icon on a page that has an existing style.
From the Stylus menu, click the pencil next to the existing style to open the Edit Style page.
Change the CSS.
Press the "Save" button.

Expected results:
It should save.

Actual Results:
Changes are not saved.
Error in the Console:
uncaught exception: Object

external

Most helpful comment

Yes, I can reproduce the same issues with a new profile.

I'm using Firefox from Fedora's repository and I think it's something on Fedora's end that's causing it. I've found this bug report that shows that many extensions have been broken on Fedora's FF 71, so it's most likely that Stylus is also affected by the same bug. If that's the case, I'm sorry for wasting your time and not investigating a little further before posting.

All 8 comments

Can't repro on Windows. Obviously, if FF users can't save edits, we will have multiple complaints. This is the first, but even if it's specific to Linux, other users will confirm. 71 has been pushed to stable a couple days now, so it'd be surprising if this was a widespread issue which hasn't been reported already.

I'd suggest checking a fresh install in a fresh profile to see if you can repro.

I'm running the same version of Firefox, Fedora and Stylus as OP and have the same issue of not being able to save changes of an existing style, only I don't get an uncaught exception: Object error; instead I get a small pop-up window with a [object Event] message or an Error: [object Event] error on console.

Maybe this is worthy of opening another issue, but checkmarks next to styles (both from Stylus toolbar button and from Stylus manage page) aren't working for me. Every click on a checkmark prints another uncaught exception: Object erorr on console. I use checkmarks a few times a week, and they worked properly a week ago (maybe new version of Firefox caused these bugs?).

Another thing, when I click on Stylus toolbar button, I get an error:

TypeError: tab is undefined [Learn More] browser.js:4320:9
    setPendingIcon chrome://browser/content/browser.js:4320
    receiveMessage chrome://browser/content/browser.js:4281

I created a new profile and tested both changing a style and using checkmarks, and neiter of them work.
Turn all styles off checkmark works with no issues, though.

Well, we have ~15,000 daily Linux/Firefox users. Odds of both reports coming from Fedora users have to be pretty slim, unless it's specific to that distro. Firefox is notorious for allowing its custom configs/settings to interfere with webextensions, so it could be a combination of OS and something along those lines.

I'm gonna ask you the same thing as OP, or anyone else having similar issues. Can you repro in a fresh Firefox profile with a fresh install of Stylus?

Yes, I can reproduce the same issues with a new profile.

I'm using Firefox from Fedora's repository and I think it's something on Fedora's end that's causing it. I've found this bug report that shows that many extensions have been broken on Fedora's FF 71, so it's most likely that Stylus is also affected by the same bug. If that's the case, I'm sorry for wasting your time and not investigating a little further before posting.

...many extensions have been broken on Fedora's FF 71, so it's most likely that Stylus is also affected by the same bug.

Certainly seems to be the case.

I'm sorry for wasting your time and not investigating a little further before posting.

On the contrary, we appreciate the heads up. We'll leave this open for the time being, in case other Fedora users run into the same issue.

I'm not OP, but I figured I should give an update: an update to Fedora's version of Firefox came out that fixed all of my issues, one of which is in the title.

Cool. Guess we'll close it then.

Apologies for not responding sooner. The issue is fixed for me as well after installing the latest Firefox update. Sorry for wasting everyone's time.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tophf picture tophf  路  26Comments

xt0rted picture xt0rted  路  51Comments

Aqa-Ib picture Aqa-Ib  路  85Comments

saxamaphone69 picture saxamaphone69  路  64Comments

eight04 picture eight04  路  30Comments