<table><tr><td style="">ppalaga updated this revision to Diff 11596.<br />ppalaga 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/D4550" 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/D4550#88247" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">D4550#88247</a>, <a href="https://phabricator.kde.org/p/hein/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;" rel="noreferrer">@hein</a> wrote:</div>
<div style="margin: 0;
          padding: 0;
          border: 0;
          color: rgb(107, 116, 140);"><p>I'm starting to like it, but it's a little bit scary. The thing is that we don't want to alter behavior in existing user setups, which is mostly narrow vertical panels that don't get text. I fear that with default settings, due to lowering the threshold to 5 from 3, they'll suddenly get text and need to go into settings to mess with the icon size to displace the text. We need to take care existing user setups aren't disrupted.</p></div>
</blockquote>

<p>I see what you mean and I checked how it looks like before and after the change for Task manager withs of one (~28px), two (~56px), three (~82px) and four (~116px) tray icons.</p>

<p>Doing that, I found that I had a small bug there in Task.qml s/minimumMColumns()/LayoutManager.minimumMColumns()/ and that the results look better if the minimumMColumns() function returns 4 for vertical layouts. Both changes are there in the current third diff.</p>

<p>Please have a look at the comparison in the pictures:<br />
One tray icon:<br />
<a href="https://phabricator.kde.org/F2518497" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F2518497: pasted_file</a></p>

<p>Two tray icons:<br />
<a href="https://phabricator.kde.org/F2518499" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F2518499: pasted_file</a></p>

<p>Three tray icons<br />
<a href="https://phabricator.kde.org/F2518500" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F2518500: pasted_file</a></p>

<p>Four tray icons:<br />
<a href="https://phabricator.kde.org/F2518501" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F2518501: pasted_file</a></p>

<p>Note that in the present diff, I propose the default iconSize "large" which is shown in the right most column of the comparisons. With this default, the users get exactly the same text visibility behavior as we had before the change: No text is shown for 1,2 and 3 tray icons and there is some text shown for 4 tray icons.</p>

<p>I admit that with default "large", the icons are rendered a bit bigger, but OTOH, the overall button height stays very similar: for 2,3 and 4 tray icons, the button is just 3 pixel taller. (49px vs. 52px) In the new version, the icon simply fills more space of the button. I personally find the right-most column looking better than the original left-most.</p>

<p>I the narrowest case (one tray icon), there is no way to make the buttons as tall they were originally. Again, I personally find the proposed rendering better than the current one.</p>

<p>Please comment, if the new rendering is acceptable.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Another thing: Check out the Folder View (plasma-desktop.git/containments/desktop/...) settings UI, and replace the combo box with the slider from there. We try to avoid showing the names of the icon size categories in UI for extensibility/future-proofness reasons.</p></blockquote>

<p>OK, no problem, I can try that in the next iteration once we agree on the rendering of the Task manager.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D4550?vs=11562&id=11596" rel="noreferrer">https://phabricator.kde.org/D4550?vs=11562&id=11596</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4550" rel="noreferrer">https://phabricator.kde.org/D4550</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/taskmanager/package/contents/code/layout.js<br />
applets/taskmanager/package/contents/config/main.xml<br />
applets/taskmanager/package/contents/ui/ConfigGeneral.qml<br />
applets/taskmanager/package/contents/ui/Task.qml</div></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>ppalaga, davidedmundson, hein, broulik<br /><strong>Cc: </strong>plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>