mike-fabian / ibus-typing-booster

ibus-typing-booster is a completion input method for faster typing
https://mike-fabian.github.io/ibus-typing-booster/
Other
233 stars 15 forks source link

There should be a "Restore all defaults" button #272

Closed mike-fabian closed 2 years ago

mike-fabian commented 2 years ago

A "Restore all defaults" button (just like the one ibus-table has already) would be useful to do a sort of "factory-reset" and go back to sane default settings when one has just played around with the settings and messed things up too much.

I hesitated to implement that because it was quite a lot of work to get this right for ibus-table.

But now I think it is actually much easier for ibus-typing-booster as typing-booster doesn’t have the additional complications that default settings could also come from tables.

In case of ibus-typing-booster, default settings come **only** from the GSettings schema.

So resetting to the default should be fairly easy.

mike-fabian commented 2 years ago

https://copr.fedorainfracloud.org/coprs/mfabian/ibus-typing-booster/builds/

has 2.15.20 test builds where a “Restore all defaults” button has been added to the setup tool.

mike-fabian commented 2 years ago

Testing the new feature:

https://user-images.githubusercontent.com/2330175/155799357-0b47c224-675d-4544-af8b-b182bdcfaa40.mp4

mike-fabian commented 2 years ago

What dictionaries and input methods are set when "Restore all defaults” is clicked depends on the current locale.

When running in mr_IN.UTF-8 locale one would get different dictionaries and input methods than when running in en_US.UTF-8 locale as in this video.

mike-fabian commented 2 years ago

The new feature is included in ibus-typing-booster 2.15.22:

https://github.com/mike-fabian/ibus-typing-booster/releases/tag/2.15.22