<table><tr><td style="">elvisangelaccio retitled this revision from "Use absolute path instead of "." as path to watch" to "Do not watch QRC's paths".<br />elvisangelaccio edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-t7wqra2qtu4wdcg/" rel="noreferrer">(Show Details)</a>
</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/D5877" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Either `"."` was explicitly added (in which case we use the absolute path</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Watching a QRC path is not supported and results in `"."` being</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">of the cwd), or it's added as side effect of something else. For example</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">watched which can lead to problems.</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">    <br />
For example </span>in bug #374075 KIO adds ":/kio5/newfile-templates"<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> as path to watch<br />
(this is probably another bug in itself) and this results in `"."` being</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">passed as _path of addEntry().<br />
</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">as path to watch (this is probably another bug in itself).</span><br />
If we are already watching "/home/user", this breaks the emission<div style="padding: 8px 0;">...</div>the cwd of the process using KDirWatch.<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"><br />
Replacing `"."` with the absolute</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">    <br />
Ignoring QRC</span> path<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">s</span> fixes this issue.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R244 KCoreAddons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5877" rel="noreferrer">https://phabricator.kde.org/D5877</a></div></div><br /><div><strong>To: </strong>elvisangelaccio, dfaure<br /><strong>Cc: </strong>Frameworks<br /></div>