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

[Bug] Tray icon is not reliable #892

Open
TyrantRC opened this issue Feb 25, 2024 · 4 comments
Open

[Bug] Tray icon is not reliable #892

TyrantRC opened this issue Feb 25, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@TyrantRC
Copy link

TyrantRC commented Feb 25, 2024

Device information

  • Suwayomi-Server version: Full Release - v1.0.0 (Suwayomi-Server-v1.0.0-r1498-windows-x64.zip)
  • Server Operating System: Windows 10 Pro N 22H2 19045.3930 x64
  • Server Desktop Environment: N/A
  • Server JVM version: build 17.0.8+9-LTS-211
  • Client Operating System: Same as server
  • Client Web Browser: Google Chrome Version 121.0.6167.189 (Official Build) (64-bit)

Steps to reproduce

  1. start suwayomi server
  2. close the server
  3. start it again

Expected behavior

Should open a tray icon every time I start the server

Actual behavior

It starts the server, opens the webclient, but doesn't show the tray icon that gives you the option to close the server, even though the settings is set to true in the webui and in the sever.conf file

Other details

As far as I see, this happens however I choose to start the server, but I usually start it from the "Suwayomi Launcher.bat" by clicking "Launch" instead of "Electron" in the "Suwayomi-Server Launcher" from a portable folder where I have the uncompressed .zip for this version (I:\Portable Software\Suwayomi-Server-v1.0.0-r1498-windows-x64).

The tray icon comes back if I go to "Settings">"Server">"Show icon in system tray" and disable and reenable it. Although sometimes it might take a while for the tray icon to come back (maximum 1 min).

Someone suggested in a question thread I made that it might have to do with using custom folders, so I tried using the default data folder in %localappdata%\Tachidesk but the issue persisted ―this was done for both the download and data directory.

application.log for the specific moment I started the server and the tray icon didn't appear

@AbandonedCart
Copy link

AbandonedCart commented Feb 25, 2024

Edit: I was using 0.7.0 on Mac and the tray icon appeared to work, but it started needing to be disabled and enabled again after the upgrade to 1.0.0. I found that somehow the option to disable the tray icon was written to my configuration and that was overriding even the command arguments. Once I set that to true it worked.

@TyrantRC
Copy link
Author

TyrantRC commented Feb 25, 2024

@AbandonedCart that's a good point, I was however using "v0.7.0-r1472-x64" for windows and the issue was present back then. So I'm not sure if it differs from versions, platforms, or if it's just something that happens because of something related to settings as you said.

@AbandonedCart
Copy link

AbandonedCart commented Feb 26, 2024

@TyrantRC Don't worry, I wasn't expecting you to have a solution. It can make a huge difference in debugging to know that an issue is happening on more than one platform, especially if one didn't start having it until later.

@zjDrummond
Copy link

Having a similar issue. My system tray icon does appear at the launching of the server app, but goes away later. I'll return to the PC later in the day, and it's gone. The server is still accessible via the browser though, so it's still running.

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