<table><tr><td style="">dfaure created this revision.<br />dfaure added reviewers: anthonyfieroni, elvisangelaccio, plasma-devel, broulik, arichardson.<br />Restricted Application added a project: Plasma.<br />dfaure requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D14437">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This regression (compared to kdelibs4's direct KFileDialog usage) came<br />
from the fact that QFileDialog's lastVisited() only gets updated if<br />
the helper emits directoryEntered.</p>
<p>So QFileDialog was setting the current dir as startDir every single<br />
time, overriding's KFileWidget's own logic for reusing the last dir<br />
initially.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>QFileDialog::getOpenFileName(this, i18n("Select file"));<br />
twice in a row, from the same process.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R135 Integration for Qt applications in Plasma</div></div></div><br /><div><strong>BRANCH</strong><div><div>Plasma/5.13</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14437">https://phabricator.kde.org/D14437</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/platformtheme/kdeplatformfiledialoghelper.cpp</div></div></div><br /><div><strong>To: </strong>dfaure, anthonyfieroni, elvisangelaccio, plasma-devel, broulik, arichardson<br /><strong>Cc: </strong>ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>