Trouble with --no-qt-system-tray, --qt-start-minimized and --no-embedded-video on VLC 3.0.0
Hello,
In short, this bug report is to report the following items which might be related:
- VLC 3.0.0 crashes when using "--qt-start-minimized" and "--no-embedded-video". This might already be fixed in the latest nightly build
- "--no-qt-system-tray" does not work with "--qt-start-mimimized"
I am using VLC Media Player on Windows 10 64-bit to play back videos on my HTPC using my own slideshow program. My program runs in full screen mode, but it has some permanent screen elements and the video plays back in its own rectangle. To make this work, I am using specific runline options to only show the video and nothing else, and to play it at specific XY coordinates and at specific size. This has worked very nicely so far.
When I updated vlc to 3.0.0, it started crashing on exit and I tracked the issue down to the combination of using the following two runline parameters:
--qt-start-minimized (To hide the main VLC GUI) --no-embedded-video (So I have complete control over the video's XY position and width & height)
With the above two options, VLC 3.0.0 will crash on exit. I have been able to mitigate this by adding "--no-crashdump" into the runline. Now the only issue is that each run of VLC will leave its own system tray icon so if my program plays back 10 videos, there will be 10 vlc systray icons (they all go away when I hover mouse over them so they are clearly left there because vlc crashed).
Here is sample runline how I can reproduce it every time:
vlc --qt-start-minimized --no-embedded-video d:\Videos\myvideo.mp4
I tested this with the latest 3.0.0 nightly build and it looks like it does not crash any more, at least it does not produce the crashdump file into "C:\Users\Kai\AppData\Roaming\vlc\crashdump" any more, but the stranded systray icon issue is still happening so maybe the nightly builds are not generating crashdump files by default and it is still crashing.
I know there is option "--no-qt-system-tray" but unfortunately that one does not work with the "--qt-start-minimized" option.
Thank you so much for building VLC Media Player. It is amazing!!
Thanks!