desktop icon indicating copy to clipboard operation
desktop copied to clipboard

bug: Restarting Revolt via tray icon opens default electron application

Open stationaryStation opened this issue 3 years ago • 4 comments

What happened?

If you restart the revolt desktop-application via the tray icon you wont get the revolt interface but instead the default electron application.

revolt-desktop build cca97f9 (master) revolt.js version 6.0.0-rc-26.0 native version 1.0.4

OS: Arch Linux x86_64 Host: Lenovo Thinkpad P43s

Left: Revolt restarted via Tray

stationaryStation avatar May 13 '22 13:05 stationaryStation

Removing this line https://github.com/revoltchat/desktop/blob/108e239f1261bc947857cdaf5a2145f64b0d19a2/src/main.ts#L290 fixes the bug for me, I don't know why it is needed to specify that in the first place since the Electron docs seem to indicate that you only need to specify execPath if you want to relaunch into a different app.

LennyMcLennington avatar May 25 '22 23:05 LennyMcLennington

This bug is already fixed in the newest version.

I2rys avatar Jun 08 '22 06:06 I2rys

Doesn't affect Windows on version 1.0.5. TODO: verify on Linux

insertish avatar Jun 16 '22 19:06 insertish

I can confirm it isn't fixed on linux. Using the latest update.

https://user-images.githubusercontent.com/73664232/182042504-6e7b893b-9988-4141-9fbd-750d1d66cfbc.mp4

KittyKatJas avatar Jul 31 '22 19:07 KittyKatJas

This still happens with the desktop client in Arch linux. It also happens when Revolt automatically starts upon login. Has anybody else found a solution to this? I don't know where the main.ts file that LennyMcLennington mentioned is located.

ghost avatar May 26 '23 00:05 ghost