Skip to content

window: handle setting.get_value() throwing

Administrator requested to merge nt8r-master-patch-01443 into master

On my current PmOS installation, I see "Exception while loading Legacy prefer dark/boolean backend gtk3settings" and an exception backtrace, and pmos-tweaks just hangs and no window is shown.

I could look into the specific error, but my guess is that the legacy setting is gone. Regardless, settings backends can in general throw exceptions (see the raise in Setting.get_value), so we should handle this gracefully.

This does so by showing an error infobar where the setting value would go and providing a button to copy the exception backtrace for bug reporting.

Merge request reports

Loading