Bug 501837 - System tray for Windows is broken
Summary: System tray for Windows is broken
Status: REPORTED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: git master
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-21 16:30 UTC by Gary Wang
Modified: 2025-03-21 16:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Wang 2025-03-21 16:30:38 UTC
SUMMARY

When the "show in system tray" option is enabled. Closing the application window will still cause the application to quit instead of hide to the system tray.

STEPS TO REPRODUCE

1. Open NeoChat, login with an account
2. Open settings dialog, tick on the first option under General/General Settings section, which is show in system tray (I didn't check the exact English copywriting since I'm not using English as UI language)
3. Close the settings dialog, then close the main window.
4. See the result (application is exited, nothing in system tray)

OBSERVED RESULT

After doing the reproduce steps, application is exited, nothing in system tray

EXPECTED RESULT

Application stays in system tray.

SOFTWARE/OS VERSIONS
Windows: Windows 11 24H2
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION

If we enable the option but don't close the window, we can see system tray have an icon (while invisible probably due to white color on white background) for NeoChat. Clicking that icon will toogle the main window's visiblity. But if we close the main window and the settings dialog, the application will be exited.