<table><tr><td style="">pavelmos edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ddi6fhjsqeb7mhq/">(Show Details)</a><br />pavelmos edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-zjjtam5jd54qpfw/">(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/D16308">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>Remove duplicate submenus.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">BUG: 399274<br />
<br />
Incorrect to works the contents index tree on left half of application window (TreeWidget) khelpcenter</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">On the left side of the khelpcenter window is the content ("Contents").<br />
If you open the item "Application Manuals" -> "System" -> "Info Center", the item "Info Center" will generate a tree of additional menu items</span>.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Fixed Bug "Duplicates of the menu “KinfoCenter” appeared in the sub-items "Kinfocenter Modules" (Device Viewer, DMA-Channels, IEEE 1394 Devices</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">If you open the menu item "KInfoCenter Modules" in the same content and then open the menu items that appear (for example</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Interrupts</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">"Device Viewer"</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">IO-Ports,  </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">"</span>Memory<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">"</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">etc.).</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">"OpenGL" or any other item),</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">These duplicates of the "KinfoCenter"</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">the same additional</span> menu <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">are displayed as sub-</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">item </span>tree<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">s in the standard menu."</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> will be generated.</span><br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">EXPECTED RESULT<br />
1. Subtrees of the "Memory" item (and also in Device Viewer, DMA-Channels, IEEE 1394 Devices, Interrupts, IO-Ports</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">This change removes duplication of generated trees.<br />
<br />
This is achieved by registering the URLs of the elements of the content tree in a separate container and checking the URL to be opened: if the base address from the URL is registered</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">etc.) should not appear.<br />
2.</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">then we request the generation of the menu tree from the registered element of the tree,</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">The original menu "KinfoCenter" should be located only in the section (Application Manuals) → (System) → (Info Center)</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">but not from the current one</span>.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Bug</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">BUG:</span> 399274<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> fixed.</span></div></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);">1) Start khelpcenter (in any way).<br />
2) Choose menu item - "Kinfocenter Modules" - in the left half of the application window.<br />
3) Choose submenu item - "Memory" or another submenu item in "Kinfocenter Modules" menu.<br />
4) Check if a submenu appears.</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R125 KHelpCenter</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16308">https://phabricator.kde.org/D16308</a></div></div><br /><div><strong>To: </strong>pavelmos, yurchor, ltoscano<br /><strong>Cc: </strong>ltoscano, kde-doc-english, skadinna<br /></div>