<table><tr><td style="">ngraham retitled this revision from "Improve usability of "Open With" UI" to "Improve consistency of "Open With" UI".<br />ngraham edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ey7xq4hicbkgsyh/">(Show Details)</a><br />ngraham edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ofa2b23ksv3flj4/">(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/D11569">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">This patch adjusts the {nav Open With} UI to improve the strings and <span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">always </span>display <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">apps</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">the top app</span> inline<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> (without a sub-menu) when there are four or fewer</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">, outside of the sub-menu</span>.<br />
<br />
This presents the following advantages over the status quo:<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
- All the {nav Open With} menu items form a complete sentence: "Open With > Gwenview"; "Open With Application..."; "Open With Other Application..."; "Open With > Other Application..."</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">- All the {nav Open With} menu items form a complete sentence: "Open With > Gwenview"; "Open With Application...";</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- The same UI is used whether there's one or 10 apps: the first one is shown inline,</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">"Open With > O</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">and the o</span>ther <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Application..."</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">ones go into the sub-menu</span><br />
- <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">We only use a sub-menu when there are more than 4 entries (which is when the inline app list would start to become unmanageable). This improves speed and usability, since sub-menus are slow and error-prone for all but expert mousers</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Access to the top app is faster since you don't have to bother with the sub-menu</span></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>- Right-click on a folder in Dolphin<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">:{F5761972}<br />
- Right-click on an image in Dolphin when there are 4 imag</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> with on</span>e handler<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">s</span> registered:{F576<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">1973}</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">2702}</span><br />
- Right-click on an image in Dolphin when there are 5 image handlers registered:{F576<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">1974}</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">2700}</span><br />
- Click on any of the menu items in the above cases; all work<div style="padding: 8px 0;">...</div></div></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/D11569">https://phabricator.kde.org/D11569</a></div></div><br /><div><strong>To: </strong>ngraham, rkflx, VDG, Frameworks, Dolphin<br /><strong>Cc: </strong>anthonyfieroni, abetts, michaelh, ngraham<br /></div>