Phials documentation
Developer docs
AI Disclosure: This page was generated by an LLM and may contain inaccuracies. Hand-crafted documentation will be implemented over time on the road to 1.0

Recover from settings or session problems

Use the narrowest recovery that matches the problem. App preferences live separately from the restored session, keyboard shortcuts, databases, and Workspace Folder bundles, so most problems do not require a complete reset.

Reset one customization first

When Phials opens normally, use the owning surface’s reset action:

  • In CommandsShortcuts, reset one command or choose Reset All to Defaults.
  • In CommandsPath Bar, choose Reset to remove Path Bar customizations.
  • In CommandsContext Menus, choose Reset Layout.
  • In FilesVisibility, choose Reset to default for hidden-file patterns.
  • Under General, use Reset to home beside Default Directory when an unavailable startup folder keeps returning.

Use the task article for details and consequences. For example, see Change keyboard shortcuts, Customize the Path Bar, or Customize Explorer context menus.

For an unwanted restored tab, close that tab and quit Phials normally. For a restored location that should remain but is offline, repair its access instead of deleting session state; see Fix file and folder access problems.

Recover invalid app preferences

If settings repeatedly return to defaults, fail to save, or Phials reports that config.toml is invalid, replace only that file with a fresh default configuration.

  1. In Settings under DeveloperDebug, choose Show Phials folder. If Phials cannot open Settings, locate the active Phials Home using Phials Home and global app data.
  2. Quit Phials completely.
  3. Make a safety copy of config.toml.

Warning: Renaming config.toml removes all current app preferences on the next launch, including appearance, Explorer defaults, visibility, opening behavior, media settings, and Path Bar configuration. It does not remove session state, shortcuts, databases, plugins, ordinary files, or Workspace Folder bundles.

  1. Rename config.toml to config.toml.disabled.
  2. Start Phials. Missing configuration loads with factory defaults; the file is recreated when Phials next saves a preference.

To undo this recovery, quit Phials, move aside the newly created config.toml, and restore the safety copy. Correct any invalid TOML before using it again.

Recover damaged restored state

Phials validates the saved center session at startup. If the current per-window snapshot cannot be restored, it tries a retained legacy session and otherwise creates a fresh Explorer tab. A location that is merely unavailable remains preserved and is not evidence that the session file is damaged.

If corrupted or unwanted state still prevents a usable startup, replace the complete session store:

  1. Reveal Phials Home, then quit Phials.
  2. Make a safety copy of state/session.json.

Warning: Renaming state/session.json removes more than open tabs. The replacement starts without saved favorites, saved searches, Layouts, Navigator and panel state, command customization, plugin settings, and the restored center session. It preserves config.toml, custom shortcuts in state/shortcuts.json, app databases, installed plugin files, ordinary files, and Workspace Folder bundles.

  1. Rename state/session.json to session.json.disabled.
  2. Start Phials and confirm that the fresh state is usable.

If this does not solve the problem, quit Phials before restoring the safety copy. Collect diagnostic information before moving to Reset Phials safely.

Do not use session recovery to reconnect a moved Workspace Folder. Its local bundle and registry are separate durable data; follow Move or reconnect a Workspace Folder.