revoltchat / desktop

Revolt Desktop App
GNU Affero General Public License v3.0
752 stars 88 forks source link

bug: Wont show app window on macOS 13 (M1) #129

Open SamDS2109 opened 1 year ago

SamDS2109 commented 1 year ago

What happened?

After downloading and running the app, it shows in the dock but it never visibly appears as a window

Happens on the DMG download and the App download

16" Macbook Pro with M1 Pro macOS 13, Ventura

char-ptr commented 1 year ago

unable to reproduce on M1, 2020 - 13.3 Beta (22E5230e)

DrGravlin commented 1 year ago

What happened?

After downloading and running the app, it shows in the dock but it never visibly appears as a window

Happens on the DMG download and the App download

16" Macbook Pro with M1 Pro macOS 13, Ventura

This somewhat happened to me.

insertish commented 1 year ago

Can't seem to reproduce on M2, macOS 13.2.1.

DrGravlin commented 1 year ago

Because Apple fixed some of the quirks of M1, which is now called M2.

GenShibe commented 1 year ago

Can reproduce on M2 Mac Air with macOS 13.2.1, even with the new .dmg file that was added to the download links yesterday

sinnom commented 1 year ago

I have found a couple of workarounds, but haven't figured out the core of the issue. I believe its related to initially denying a permission prompt, or a bug causing the prompt to not be delivered in the first place.

I am on MacOS Monterey 12.6.7 on an older Macbook. I have this same issue. Here are the two workarounds I've found:

First workaround

Go to ~/Library/Application Support/Revolt/. Add a config.json file with the following contents:

{
    "firstrun": true
}

Or if the file already exists, set firstrun to true.

Second workaround

Go to System Preferences > Security & Privacy > Privacy. Select Automation from the left sidebar. Enable System Events.app checkbox under Revolt's icon. Open Revolt. You can now disable that same permission and should continue to work fine.

This worked for me on MacOS Monterey 12.6.7, please share if this works or fails on your computer.

DrGravlin commented 1 year ago

Thanks for the advice.

insertish commented 6 months ago

Will likely be solved by the switch away from Electron: https://github.com/revoltchat/frontend/issues/14