<table><tr><td style="">mvourlakos 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/D18620">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/D18620#402853" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D18620#402853</a>, <a href="https://phabricator.kde.org/p/trmdi/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@trmdi</a> wrote:</div>
<div style="margin: 0;
          padding: 0;
          border: 0;
          color: rgb(107, 116, 140);"><p>I've been thinking about the Meta behavior. Some ideas:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">When the holding action is detected: just show Latte views with badges and do not activate the App Launcher if users release the Meta key. App Launcher can be activated ONLY IF the holding action is not detected</li>
<li class="remarkup-list-item">Only show Latte views with badges if: press "Meta+`" (for the wayland case, or users don't want to wait to see the badges) or holding Meta is detected.</li>
</ul></div>
</blockquote>

<p>sounds ok</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>(Currently, if I press a shortcut to activate an item, it will show the badges -> not needed)</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Timeout for determining it's a holding action or not should be 1-2s</li>
</ul></blockquote>

<p>it is too low I will play with it</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>This patch is just a draft, so you should improve it before merging by yourself.</p></blockquote>



<ol class="remarkup-list">
<li class="remarkup-list-item">I will probably merge it and afterwards I will fix the issues e.g. if any other modifier is pressed when the Meta timer ends then the ShowDocks action shouldnt be trigerred but the timer should be restarted.</li>
</ol>

<ol class="remarkup-list" start="2">
<li class="remarkup-list-item">That means that the globalshortcuts class will be adjusted in order to track the modifiers that are pressed, Super, Shift, Ctrl and Alt, I dont know if there are any more...</li>
</ol>

<ol class="remarkup-list" start="3">
<li class="remarkup-list-item">Afterwards the hack that is relevant to X11 and was copy pasted from Plasma Activites Explorer in order to track when Meta is released is not needed any more and the new infrastructure will be used.</li>
</ol>

<p>We will play with this with iterations and through kde bugs tracker in order to fix any issues <br />
There is also a chance that the user will be able to enable/disable that behavior from Latte Preferences in case some users hit corner cases that break their workflows.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R878 Latte Dock</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18620">https://phabricator.kde.org/D18620</a></div></div><br /><div><strong>To: </strong>trmdi, Latte Dock, mvourlakos<br /><strong>Cc: </strong>plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>