Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.6.2 crashes on launch #222

Closed
kikonen opened this issue Apr 8, 2020 · 7 comments
Closed

v3.6.2 crashes on launch #222

kikonen opened this issue Apr 8, 2020 · 7 comments
Labels
bug Something isn't working

Comments

@kikonen
Copy link

kikonen commented Apr 8, 2020

Upgraded to v3.6.2 and seemingly application just flashes screen and exits immediately in OSX 10.15.4. Downgraded to V3.6.1 and it appears to work.

@lwouis
Copy link
Owner

lwouis commented Apr 8, 2020

@kikonen Really sorry to hear that!

Could you please type this in a terminal and show us the result?

defaults read com.lwouis.alt-tab-macos

This is to understand better what crashes. After sharing that info, I think you will be unstuck if you type this command and start AltTab again:

defaults delete com.lwouis.alt-tab-macos

Please tell us if it starts after that too. Another user said that it didn't help (see #219) whereas 2 other users said it fixed it for them (see #217)

@lwouis lwouis changed the title v3.6.2 doesn't seem to work v3.6.2 crashes on launch Apr 8, 2020
@lwouis lwouis added the bug Something isn't working label Apr 8, 2020
@lwouis
Copy link
Owner

lwouis commented Apr 8, 2020

It seems that 3.6.0 doesn't crash for another user. I'll diff between those versions to try and find what crashes on launch

3.6.1 works according to @kikonen. This version only has 2 commits. I'm pretty sure the issue is the change in handling the dropdown preferences (see #217). I think these are the old preferences clashing with the new values

@ryenus
Copy link
Contributor

ryenus commented Apr 8, 2020

it worked after deleting its preferences, what I had:

$ defaults read com.lwouis.alt-tab-macos
{
    "NSStatusItem Preferred Position Item-0" = "505.5";
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2020-04-08 14:22:40 +0000";
    cancelShortcut = "\\U238b";
    holdShortcut = "\\U2325";
    nextWindowShortcut = "\\U21e5";
    previousWindowShortcut = "\\U21e7\\U21e5";
    theme = "\\Uf8ff macOS";
}

After deleting and restarting it worked, now the new output:

$ defaults read com.lwouis.alt-tab-macos
{
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2020-04-08 14:29:37 +0000";
    cancelShortcut = "\\U238b";
    holdShortcut = "\\U2325";
    nextWindowShortcut = "\\U21e5";
    previousWindowShortcut = "\\U21e7\\U21e5";
}

@lwouis
Copy link
Owner

lwouis commented Apr 8, 2020

I'm working on a real migration code, to avoid people crashing, and to actual carry-over their existing preferences. It's something I should have done initially, but it's very easy to forget to add compatibility code. I wish I could have a tool block a PR if it didn't have compatibility code.

@ryenus
Copy link
Contributor

ryenus commented Apr 8, 2020

@lwouis I only started to use this app recently and quite like it, a BIG THANK YOU for making this and more importantly KEEP IMPROVING IT, well appreciated!

@lwouis lwouis closed this as completed in 66a2bd8 Apr 8, 2020
lwouis pushed a commit that referenced this issue Apr 8, 2020
# [3.7.0](v3.6.2...v3.7.0) (2020-04-08)

### Bug Fixes

* avoid crash when upgrading due to old preferences (closes [#222](#222)) ([66a2bd8](66a2bd8))

### Features

* add dark-mode in the debug profile on reports ([a54eb77](a54eb77))
@lwouis
Copy link
Owner

lwouis commented Apr 8, 2020

@ryenus your kind words are very appreciated! Today I had quite unpleasant interactions in #219. Your support message cheered me up! :)

@kikonen
Copy link
Author

kikonen commented Apr 8, 2020

For reference, this info I got out (this is, however, with v3.6.1 running)

$ defaults read com.lwouis.alt-tab-macos
{
    "NSWindow Frame SUStatusFrame" = "1638 890 400 129 1440 0 1920 1057 ";
    "NSWindow Frame SUUpdateAlert" = "2090 498 620 392 1440 0 1920 1057 ";
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2020-04-08 12:13:39 +0000";
    SUUpdateGroupIdentifier = 3962488451;
    SUUpdateRelaunchingMarker = 0;
    alignThumbnails = Left;
    arrowKeysEnabled = false;
    cancelShortcut = "\\U238b";
    fontHeight = 12;
    hideSpaceNumberLabels = false;
    holdShortcut = "\\U2325";
    iconSize = 16;
    maxCellsPerRow = 5;
    maxScreenUsage = 80;
    minCellsPerRow = 5;
    nextWindowShortcut = "\\U21e5";
    previousWindowShortcut = "\\U21e7\\U21e5";
    rowsCount = 3;
    showOnScreen = "Screen including mouse";
    windowDisplayDelay = 82;
}

Also confirming that after deleting old prefs (defaults delete com.lwouis.alt-tab-macos) and installing v3.6.2 it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants