Theme File Bug

The place to report Pale Moon specific bugs on the Windows operating system.

Moderator: satrow

User avatar
RealityRipple
Moongazer
Moongazer
Posts: 8
Joined: Thu, 17 May 2018, 02:34
Contact:

Theme File Bug

Unread postby RealityRipple » Thu, 17 May 2018, 02:50

Came across a bug when I was working with themes. At first, I thought it was my fault, but I've tested it with a blank profile and themes that aren't my own with the same result.

Bug: Theme becomes un-enable-able if updated and disabled at the same time, in that order.

Steps to Reproduce:
  1. Download two theme XPI files. Any two themes will do.
  2. Open the Add-ons Manager.
  3. Install both themes, select one to be enabled. We will call this one Theme X and the disabled one Theme Y. Theme D will represent the Default theme. The installation process doesn't matter at this stage.
  4. Reinstall Theme X by dragging it into Pale Moon. Do not restart.
  5. Enable Theme Y through the Appearance section of the Add-ons Manager and restart.

Expected Result: Theme X should be installed with the version from the file. Theme Y should be enabled. Theme X and Theme D should have Enable buttons.

Actual Result: Theme X is installed, I think. Theme Y is enabled. Theme X does not have an Enable button. If you enable Theme D or install another theme, Theme X will be enable-able, but Theme Y won't be. Things get stuck until you remove the themes. I'm uncertain if X or Y must be removed, possibly either one will let the other work. Adding more themes will still prevent Theme Y from being enable-able again. There could be other permutations of this bug with varied outcomes, but the main thing is that one or more themes will end up getting "locked out" of the interface.

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 119
Joined: Sat, 14 Jan 2017, 02:40
Location: Manila, Philippines
Contact:

Re: Theme File Bug

Unread postby FranklinDM » Fri, 18 May 2018, 11:11

I can confirm this.

For some reason, the Add-ons Manager gets confused and marks both themes as active while Theme X is not marked as userDisabled even if it should be disabled (this is evident in the extensions.json, found inside the profile folder). If you switch/enable other themes, Theme X is still marked as active and not userDisabled (when only 1 theme should be allowed to be enabled :think:).
Image


Return to “Bug reports (Windows)”

Who is online

Users browsing this forum: vilius and 6 guests