Bug 502069

Summary: Elisa doesn't show window after being restored from the system tray
Product: [Applications] Elisa Reporter: Andrija <contact.andrija>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED UPSTREAM    
Severity: major CC: contact.andrija, john.kizer
Priority: NOR    
Version First Reported In: 24.12.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrija 2025-03-27 13:44:04 UTC
SUMMARY
Elisa doesn't show window after being restored from the system tray when using the "Keep running in system tray when main window is closed" option.
The task manager entry in the panel shows up and window can be minimized/maximized from there.
Moving the invisible window using the right click context menu `More > Move` works, and when moved into the plasma panel the whole Wayland session seems to crash and restart. 

STEPS TO REPRODUCE
1. Open Elisa
2. Go to "Configure Elisa" and check "Keep running in system tray when main window is closed"
3. Close the Elisa window
4. Click on the system tray icon to restore the Elisa window
5. Right click on the task manager icon and select "More > Move"
6. Move cursor on top of plasma panel

OBSERVED RESULT
Upon completing step 4, observe that the Elisa window does not show up.
Upon completing step 6, observe that moving the invisible window onto the panel crashes the desktop and most running programs.

EXPECTED RESULT
Clicking on the tray icon brings the Elisa window back up.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.14.0-0-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B450 AORUS PRO

ADDITIONAL INFORMATION
My plasma panel is floating, on the top of the screen, and I'm using version 2.3.1 of the Panel colorizer widget.
Some of this may or may not be relevant.
Comment 1 John Kizer 2025-04-09 03:26:25 UTC
Hi - thanks for providing clear steps to reproduce! Following those steps doesn't cause that issue on my device, using Fedora KDE 41. Is the issue reproducible on your device without the Panel Colorizer widget in use?

Thanks!
Comment 2 Andrija 2025-04-09 14:57:23 UTC
Hey, thanks for following up.
Upon testing this again I was indeed not able to reproduce the issue again, leading to the assumption that the issue is not with Elisa itself.
The tray function works as expected now.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 6.3.3 -> 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2 -> 6.9.0
Kernel Version: 6.14.0-0-MANJARO (64-bit) -> 6.14.0-1-MANJARO (64-bit)
Graphics Platform: Wayland

The above is showing which software versions changed between my initial post and this comment.
Perhaps the bug was fixed in Plasma or upstream Qt in the meantime?
I'm marking the issue as resolved upstream for now.