Opened 3 years ago

Last modified 3 years ago

#17698 new bug

Disable user add-ons" boot option disables system translators

Reported by: bipolar Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: - General Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

After you enable Disable user add-ons safe boot option, StyleEdit seems unable to open any text file I've tried on.

The error dialog reads:

Error loading "file.txt"
Unsupported format

The same files can be open with other apps, like Koder for example. The same files can be open with StyleEdit with zero issues, as long as "Disable user add-ons" is NOT enabled at boot time.

Suspecting that the StyledText Translator was being disabled, I've tested again trying to open any image with ShowImage. Result:

Could not load image! Either the file or an image
translator for it does not exists.

So, it seems to me that the Disable user add-ons, is disabling the system translators too, when I would expect (according to its description in the bootloader) to only disable all the addons under ~/config/non-packaged/addons

I've checked on both an up-to-date beta3, as well as a recent nightly (hrev56009), x86-64 in both cases. It is easily reproducible on both.

Change History (2)

comment:1 by Starcrasher, 3 years ago

And in that case, add-ons contained in packages located in /boot/home/config/packages...

Unfortunately, to work, there are things (like drivers) that needs to be loaded earlier and I guess that's why add-ons contained in system packages and in /boot/system/non-packaged/add-ons are also included.

So it really means all add-ons. It may seem a bit aggressive but it is a debug option. There are ways to disable packages and/or files individually, if people want.

The name is indeed confusing and make that option looks innocent. Probably that the word 'user' could be removed to avoid that. Devs know better than me and if there's a good reason not to do it, I'm sure that they will tell.

comment:2 by waddlesplash, 3 years ago

The system translators should not be disabled, that may be a side-effect of moving them to a separate package. We can't disable "all" add-ons or the base drivers wouldn't be able to be loaded.

Note: See TracTickets for help on using tickets.