SUMMARY It looks like "Show in System Tray" creates the system tray icon, but does not install a window restore handler until application restart. After an application restart it works normal. STEPS TO REPRODUCE 1. In General configuration set "Show in System Tray" and "Minimise to system tray on startup" 2. Close the configuration and main window ([x] of the window) 3. Click on the system tray icon to get the application back. OBSERVED RESULT The window is not restored EXPECTED RESULT Restored chat window SOFTWARE/OS VERSIONS Operating System: Gentoo Linux 2.15 KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.2 Kernel Version: 6.10.7-gentoo-x86_64 (64-bit) Graphics Platform: X11 Processors: 16 × 11th Gen Intel® Core™ i9-11900H @ 2.50GHz Memory: 62.5 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics ADDITIONAL INFORMATION The systray icons context menu offers only quit. After quitting and restart, the application has expected behavior. except if the check boxes in the config are unchecked and checked again.
I can confirm in NeoChat from git master.
After setting up NeoChat for the first time and logging into an existing account, I was seeing this too on NeoChat 24.08.3, Plasma 6.2.3, Wayland. Clicking the tray icon did nothing. Right-clicking it displayed only "Quit". So I had to quit, but after restarting, the tray icon has an extra "Restore" option, and when clicking the tray icon, the NeoChat window does indeed restore. After multiple restarts, it still works. Perhaps this issue only affects first-time runs?
Can confirm that this is still there. NeoChat: 25.03.70 Ubuntu 24.10 (Xcb) libQuotient: 0.9.0 (built against 0.9.0) KDE Frameworks: 6.11.0 Qt: Using 6.8.1 and built against 6.8.1 Build ABI: x86_64-little_endian-lp64 Kernel: linux 6.11.0-14-generic
This issue happens for me often when I have started the PC and logged in to KDE Plasma. Often, I receive some UnifiedPush-Messages, but when I click on the NeoChat tray icon to open the chat window, nothing happens. After right-click -> quit and restarting NeoChat, it works as expected. So for me, it is mostly a problem when the session has been newly started.
(In reply to Martin Brodbeck from comment #4) > This issue happens for me often when I have started the PC and logged in to > KDE Plasma. Often, I receive some UnifiedPush-Messages, but when I click on > the NeoChat tray icon to open the chat window, nothing happens. After > right-click -> quit and restarting NeoChat, it works as expected. So for me, > it is mostly a problem when the session has been newly started. I forgot to mention: NeoChat 24.12.1 Operating System: Arch Linux KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.2 Kernel Version: 6.13.1-arch1-1 (64-bit) Graphics Platform: Wayland