<table><tr><td style="">ahmadsamir updated this revision to Diff 79188.<br />ahmadsamir edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-4yto37nuazuorfy/">(Show Details)</a><br />ahmadsamir removed a subscriber: apol.<br />ahmadsamir added a comment.
</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/D28519">View Revision</a></tr></table><br /><div><div><p>Add proper test plan</p></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">The code compiles and kmenuedit still starts as expected</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- Start kmenuedit, create a new sub-menu somewhere, name it t-1<br />
- Creat a new submenu in the same location and name it t-1 again<br />
the submenu is created but named t-2 automatically<br />
<br />
- Copy an existing item to the same location from where you copied it,<br />
note the "-number" suffix that's added<br />
- Drag and drop a .desktop file twice on the same location, note the<br />
suffix that's added<br />
<br />
- The createDesktopFile() part, in tree.cpp, strips the name to a base<br />
that's then fed to KService::newServicePath(), e.g. "foo-1.desktop" to<br />
"foo"</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R103 KMenu Editor</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D28519?vs=79152&id=79188">https://phabricator.kde.org/D28519?vs=79152&id=79188</a></div></div><br /><div><strong>BRANCH</strong><div><div>l-QRE (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28519">https://phabricator.kde.org/D28519</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>menufile.cpp<br />
menuinfo.cpp<br />
treeview.cpp</div></div></div><br /><div><strong>To: </strong>ahmadsamir, Plasma, davidedmundson, mlaurent, apol<br /><strong>Cc: </strong>plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>