<table><tr><td style="">Fuchs 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/D4838" rel="noreferrer">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
color: #6B748C;
font-style: italic;
margin: 4px 0 12px 0;
padding: 8px 12px;
background-color: #F8F9FC;">
<div style="font-style: normal;
padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D4838#91385" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: line-through;" rel="noreferrer">D4838#91385</a>, <a href="https://phabricator.kde.org/p/colomar/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;" rel="noreferrer">@colomar</a> wrote:</div>
<div style="margin: 0;
padding: 0;
border: 0;
color: rgb(107, 116, 140);"><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Okay, personal opinion on why split buttons are among the most horrible things related to UX:<br />
(And whilst some of these points might not apply to this very specific use case here: they will elsewhere, and once one component users this button, others will too, see e.g. spectacle)</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">They are very prone to accidental clicks. If you want to click the (little) arrow but hit the button instead, worst case you get an undoable, destructive action. This gets a lot worse with touch.</li>
</ul></blockquote>
<ol class="remarkup-list">
<li class="remarkup-list-item">You should not use a split button with the main button performing a destructive action, of course.</li>
</ol></div>
</blockquote>
<p>What would you use then? Also I think it's rather odd if you have to limit a certain UI element to the kind of actions it might contain.</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><ol class="remarkup-list" start="2">
<li class="remarkup-list-item">Plasma Desktop is not optimized for touch input, Plasma Mobile certainly would not not use them. And as you say yourself below, a context menu does not work for touch, either.</li>
</ol></blockquote>
<p>*sigh* then we'd even have another different behaviour depending on device type. That can be good, but in this case it would not be needed, as there are options that would work for both.</p>
<p>A context menu would work if plasma would have the proper touch support to bring it up on long touch (interestingly enough, plasma does long touch in other areas where one doesn't expect it, but that would get off-topic)</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><ul class="remarkup-list">
<li class="remarkup-list-item">They are horrible for handicapped people. Screen readers usually don't handle them properly, so these people are only aware of one action, and might not be able to see the others</li>
</ul></blockquote>
<p>How do context menus work with screen readers?</p></blockquote>
<p>They are properly read, either item by item or on hover, depending a bit on the context and software here.</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><ul class="remarkup-list">
<li class="remarkup-list-item">They are horrible for keyboard based navigation (see above on not applying for this very specific use case): which button presses them? Which one opens then?</li>
</ul></blockquote>
<p>Split buttons are usually used in toolbars, which are never good for keyboard navigation. That's what menu bars are for.</p></blockquote>
<p>Yaeah, no. See spectacle. Also:</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p><strong>(And whilst some of these points might not apply to this very specific use case here: they will elsewhere, and once one component users this button, others will too, see e.g. spectacle)</strong></p></blockquote></blockquote>
<p>(emphasis added)</p>
<p>Which also goes for your answer to notmart, as them being properly designed. Look at spectacle, there you have both a drop down and a split button. Differences are minimal (a small splitter) and as expected, keyboard navigation does not work. So I am highly against introducing even more split buttons, as it might encourage people to use them, despite them being bad in so many aspects.</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><ul class="remarkup-list">
<li class="remarkup-list-item">Space. These buttons have text on them, text that is translatable and might be a lot bigger in e.g. German. The buttons in notifications already suffer from this (e.g. bluetooth received files, in German) and it only gets worse if you add multiple options and an additional arrow</li>
</ul></blockquote>
<p>Is that arrow really taking up that much space?</p></blockquote>
<p>No, the action is. You end up with translatable text which you always have to show, a problem you neither have with a hamburger menu (which is always the same size, language independent, if used with an icon) or with a pop up menu, because in both variants you only have to show the text on an overlay, not all the time. All the time already is tricky (see e.g. the text on buttons when you receive a file via bluetooth, with de_DE) and it only gets worse if you add more elements like a splitter and arrow.</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><ul class="remarkup-list">
<li class="remarkup-list-item">They would obviously not work well with multiple items as per the example above, if you e.g. wanted item specific actions</li>
</ul></blockquote>
<p>As I said: Neither does the simple button. The split button wouldn't be the one crrating the problem. And it would not _replace_ the context menu, either.</p></blockquote>
<p>Yes, the simple button doesn't work either, but the split button does not only not solve many problems, it even adds some.</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>What would work are either context menus as proposed (touch is going to be meh though, as I just learned that we can't properply do long press anywere) or a button that only has the purpose of opening a menu, e.g.: hamburger button.</p></blockquote>
<p>Nobody said anything against the context menus, the split button would just be an additional, more discoverable means to access the functions.</p></blockquote>
<p>As far as I was informed on IRC, as far as I can see in the very discussion here: context menus were discouraged. <br />
And no, as the split button would only be able to show a limited set of possible actions (e.g. not item specific actions) it would imo even do a worse job, because some actions would be discoverable, others not, so the user would even more so think they don't exist.</p>
<p>Short: context menu or hamburger menu are imo the most sensible options both UX wise and also with regards to functionality. If context menus are bad on mobile due to lack of proper possibilities to bring them up: that should be fixed instead.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4838" rel="noreferrer">https://phabricator.kde.org/D4838</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>broulik, Plasma, VDG<br /><strong>Cc: </strong>mart, Fuchs, subdiff, colomar, plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>