<div dir="ltr"><p dir="auto" class="gmail-PDq2pG_selectionAnchorContainer">Hi VideoLAN team,<span aria-hidden="true" class="gmail-PDq2pG_selectionAnchor"></span></p>
<p dir="auto">I’ve been troubleshooting a recurring VLC startup delay on Windows for several users including myself and seem to have isolated it specifically to VLC’s Qt interface configuration file.</p>
<p dir="auto">On my system, VLC will sometimes take approximately <strong>7 seconds to open</strong>. Resetting the entire VLC profile makes VLC launch essentially instantly, so I narrowed the issue down further.</p>
<p dir="auto">The file responsible appears to be:</p>
<p dir="auto"><code>%APPDATA%\vlc\vlc-qt-interface.ini</code></p>
<p dir="auto">I can reproduce the following behavior:</p>
<ol>
<li>
Close VLC completely.
</li>
<li>
Delete or rename <code>vlc-qt-interface.ini</code>.
</li>
<li>
Launch VLC.
</li>
<li>
VLC opens essentially instantly.
</li>
<li>
Allow VLC to regenerate/use its Qt interface configuration normally.
</li>
<li>
At some point, subsequent launches return to taking approximately 7 seconds.
</li>
<li>
Removing/resetting <code>vlc-qt-interface.ini</code> again immediately restores fast startup.
</li>
</ol>
<p dir="auto">I also tested marking a freshly generated <code>vlc-qt-interface.ini</code> as <strong>read-only</strong>. Interestingly, doing so caused the ~7-second startup delay immediately. Removing the read-only attribute restores normal behavior.</p>
<p dir="auto">This makes it appear that VLC is either:</p>
<ul>
<li>
waiting on or retrying a write to the Qt interface configuration during startup, or
</li>
<li>
loading some particular state written into <code>vlc-qt-interface.ini</code> that causes a substantial delay.
</li>
</ul>
<p dir="auto">The main <code>vlcrc</code> configuration does not appear to be involved. In my testing, <code>vlcrc</code> remained unchanged while <code>vlc-qt-interface.ini</code> was being rewritten, and resetting only the Qt interface file was sufficient to resolve the startup delay.</p>
<p dir="auto">System information:</p>
<ul>
<li>
Windows 11 64-bit
</li>
<li>
VLC version: [insert version]
</li>
<li>
Issue occurs on repeated normal launches
</li>
<li>
Startup when unaffected: nearly instantaneous
</li>
<li>
Startup when affected: approximately 7 seconds
</li>
</ul>
<p dir="auto">I can provide both a known-good <code>vlc-qt-interface.ini</code> and an affected/slower version, or a diff between them, if that would help identify which setting/state is responsible.</p>
<p dir="auto">Thanks for looking into it.</p>
<p dir="auto">Best,<br>
Michael</p></div>