Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#17373 closed bug (invalid)

Applying Moonflat theme via theme manager crashes system

Reported by: the ringmaster Owned by: stippi
Priority: normal Milestone: Unscheduled
Component: User Interface Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I have Haiku nightly (lastest as of writing) running in VirtualBox. I have downloaded the ThemeManager Program along with the flatlook themes. When trying to apply the MoonFlat theme the system crashes. See attached screenshot for backtrace output.

Attachments (1)

flatlook crash.png (103.2 KB ) - added by the ringmaster 3 years ago.

Download all attachments as: .zip

Change History (3)

by the ringmaster, 3 years ago

Attachment: flatlook crash.png added

comment:1 by Starcrasher, 3 years ago

This is happening because the theme loads a version of the flat Decorator which isn't the good one.

In addition of the themes, the flatstyle package contains versions of flat Decorator and ControlLook compiled for beta3. But, on nightlies, flat Decorator and ControlLook are now included in the haiku_extras package which contains the most recent versions of them. To add to the mix, themes are looking for the flat Decorator in /boot/home/config/non-packaged/add-ons/decorators.

How to fix it then?

  • First, check that you haven't an old version of the flat Decorator /boot/home/config/non-packaged/add-ons/decorators.
  • Install haiku_extras package if it is not already and uninstall flatstyle package.
  • Copy the FlatDecorator.so file from /boot/system/add-ons/decorators folder in the /boot/home/config/non-packaged/add-ons/decorators folder.
  • You can now reinstall flatstyle package.
  • For each flat theme included, load it with ThemeManager, then save the theme as a new user theme (You can keep the same name for convenience). Once done, all themes should appear in /boot/home/config/settings/UIThemes folder.
  • Uninstall flatstyle package.
  • For each new flat theme that you created, load it with ThemeManager, open Appearance app and select the right decorator (Select Flat instead of Flat.so). Close appearance app and save your theme.
  • Delete FlatDecorator.so file from /boot/home/config/non-packaged/add-ons/decorators folder.

After that themes will use haiku_extras version of the flat Decorator in /boot/system/add-ons/decorators folder and so will take advantage of updates made to that package.

Please tell us if it helped.

Last edited 3 years ago by Starcrasher (previous) (diff)

comment:2 by waddlesplash, 3 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.