<table><tr><td style="">antonanikin retitled this revision from "Add functionality for hiding unlocked docks during editor focusing" to "Add functionality for docks locking".<br />antonanikin updated the summary for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ukwzrxv42lo56b4/" 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/D2958" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;">This patch provides <span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">new behavior for focusing editor and closing opened docks. Currently we have different shortcuts for such operations which provides flexibility but seems to be not very comfortable for permanent us</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">mechanism for docks lock</span>ing. <span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">Now we have new version of 'Focus Editor' action which allows us to focus editor and hide unlocked docks with "one shoot". <br />
<br />
Settings can be changed from KDevelop config page ('Configure User Interface' item)</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">This can be useful for some users and allows us to lock dock state during call `Hide/Restore Docks` action</span>. <span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">User can select the behavior of docks hiding:<br />
1) Don't hide docks at editor focusing (current KDevelop behavior).<br />
2) Unlocked docks are hided only if editor is already focused and we call 'Focus Editor' again (QtCreator behavior).<br />
3) Unlocked docks are hided immediately with editor focusing.<br />
<br />
The patch allows to control which docks should be locked by adding "Lock the Panel from Hiding" item to dock panel context menu</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">Such locked docks don't change it's visible state during call</span>. <span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">Lock settings are saved in global configuration file.<br />
<br />
New functionality is disabled by default</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">This provides behavior similar to QtCreator - we can lock for example left dock (with `Project` tool view) and quickly hide all other docks when it needed (after hiding unlocked docks the editor will be focused)</span>.<br />
<br />
<span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">{F2165978}</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">The patch allows user to control which docks should be locked by adding `Lock the Panel from Hiding` item to dock panel context menu. Lock settings are saved in global configuration file.</span><br />
<br />
{F2165980}</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R33 KDevPlatform</div></div></div><br /><div><strong>BRANCH</strong><div><div>D2958_hide_docks (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D2958" rel="noreferrer">https://phabricator.kde.org/D2958</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>antonanikin, apol, KDevelop<br /><strong>Cc: </strong>apol, kdevelop-devel<br /></div>