Hi @lwouis,
ive just updated to the latest version. Some of the dropdown options were empty in the Preferences panel. Ive set them and then the application crashed when i summoned AltTab and later it crashed already when i opened the Preferences panel.
Ive deleted the defaults defaults delete com.lwouis.alt-tab-macos and restarted the application and was able to use the application with its default settings.

But in the preferences panel all dropdowns were empty (nothing is selected) and when i changed any of them the application crashed when i summoned AltTab.
When i select something for all of the available dropdowns the application crashes already when opening the Preferences panel.
Can you observe the same behavior?
Mariusz
It looks like it's localization-related. Let me try to reproduce this issue
I can reproduce it when the app is in non-English language. The problem is that the dropdown preferences are stored in the local language, meaning when it's time to check what's selected, it fails to find the key, which coincides with the English value.
I'm surprised that this issue is surfacing now, since we had the same logic for the "Show on display:" dropdown for quite a while now. I guess it shows that very few users use this.
I'll work on a fix as soon as possible!
I release an update with a fix. @gingerr and @buttercrab, you could please tell me if it's fixed?
Please run defaults delete com.lwouis.alt-tab-macos beforehand, to remove old preferences. I will open a ticket to discuss how to deal with old preferences in a nicer way
@lwouis It's working great!
@lwouis Can also confirm the fix. Dropdown preferences were pre-selected correctly and changing them works also.
I did not change any preferences in the last few months so I did not observe this earlier. Today i took a look inside to see what new features you have implemented and especially the ShortcutRecorder keybindings.
Thank you! 馃挴
How did you fix it? Do you save an english key in the preferences instead of the localised value string now? Or array index of the dropdown option?
Nevermind, found it, array index.
Most helpful comment
I can reproduce it when the app is in non-English language. The problem is that the dropdown preferences are stored in the local language, meaning when it's time to check what's selected, it fails to find the key, which coincides with the English value.
I'm surprised that this issue is surfacing now, since we had the same logic for the "Show on display:" dropdown for quite a while now. I guess it shows that very few users use this.
I'll work on a fix as soon as possible!