<table><tr><td style="">wbauer created this revision.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.
</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/D7341" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>If the directory doesn't exist, applying the changes will fail with "Could not save properties. You do not have sufficient access to write to xxx".</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Open the file associations dialog, select some file type and choose an associated application that has its .desktop file in a subfolder of /usr/share/applications/ (e.g. on openSUSE, all KDE4 applications install it to /usr/share/applications/kde4/). Make sure that the corresponding folder ~/.local/share/applications/kde4/ doesn't exist.<br />
Click on "Edit...", change something on the "Program" tab (e.g. the command to execute), and click on "OK".</p>
<p>The directory ~/.local/share/applications/kde4/ is created now and the changes are saved correctly.<br />
Before you got an error dialog and the changes were lost.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7341" rel="noreferrer">https://phabricator.kde.org/D7341</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/widgets/kpropertiesdialog.cpp</div></div></div><br /><div><strong>To: </strong>wbauer, dfaure<br /><strong>Cc: </strong>Frameworks<br /></div>