<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>367685</bug_id>
          
          <creation_ts>2016-08-22 18:28:37 +0000</creation_ts>
          <short_desc>Toggle application launcher on meta key</short_desc>
          <delta_ts>2021-03-31 07:20:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Application Launcher (Kickoff) widget</component>
          <version>master</version>
          <rep_platform>Neon</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="supaiku">supaiku</reporter>
          <assigned_to name="David Edmundson">kde</assigned_to>
          <cc>amarx</cc>
    
    <cc>azrdev</cc>
    
    <cc>elvis.angelaccio</cc>
    
    <cc>jeffbaichina</cc>
    
    <cc>kenshii.sod+kde</cc>
    
    <cc>marco_silva85</cc>
    
    <cc>maround95</cc>
    
    <cc>mgraesslin</cc>
    
    <cc>MurzNN</cc>
    
    <cc>peter</cc>
    
    <cc>plasma-bugs-null</cc>
    
    <cc>sethj</cc>
    
    <cc>simonandric5</cc>
    
    <cc>subdiff</cc>
    
    <cc>wucke13</cc>
          
          <cf_commitlink>http://commits.kde.org/plasma-framework/65706d3878d556c7a1eac18984ec41b1a1d96d56</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1616091</commentid>
    <comment_count>0</comment_count>
    <who name="supaiku">supaiku</who>
    <bug_when>2016-08-22 18:28:37 +0000</bug_when>
    <thetext>It&apos;s finally there - the meta key support!
Thanks for that, Martin.

I ran the Neon unstable git iso from 21.08.16 and noticed that the application launcher only opens when the meta key is pressed, but doesn&apos;t close when pressed again. This behaviour is a bit unexpected.

Reproducible: Always

Steps to Reproduce:
1. Press meta key
2. Application launcher opens
3. Press again


Actual Results:  
It stays open.

Expected Results:  
The application launcher should toggle.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1616213</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2016-08-23 11:03:29 +0000</bug_when>
    <thetext>This belongs to either plasma-desktop (kickoff) or krunner. Maybe kglobalaccel if some default binding is provided but certainly not kwin ;-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1616423</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2016-08-24 05:38:40 +0000</bug_when>
    <thetext>It toggles with appdashboard, so kicker and kickoff need to implement toggle.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1627114</commentid>
    <comment_count>3</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2016-09-25 01:38:17 +0000</bug_when>
    <thetext>*** Bug 369044 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1629732</commentid>
    <comment_count>4</comment_count>
    <who name="Peter Wu">peter</who>
    <bug_when>2016-10-05 11:13:02 +0000</bug_when>
    <thetext>After an upgrade to Plasma 5.8 on Arch Linux, I noticed that pressing Meta gives the Kickoff menu and indeed, pressing it again does not hide it. Previously one could already use Alt+F1 to toggle the menu.

The new &quot;Meta&quot; shortcut gives:
method call time=1475665148.784542 sender=:1.18 -&gt; destination=org.kde.plasmashell serial=488 path=/PlasmaShell; interface=org.kde.PlasmaShell; member=activateLauncherMenu

while the &quot;Alt+F1&quot; shortcut results in:
signal time=1475665160.428196 sender=:1.14 -&gt; destination=(null destination) serial=636 path=/component/plasmashell; interface=org.kde.kglobalaccel.Component; member=globalShortcutPressed
   string &quot;plasmashell&quot;
   string &quot;activate widget 196&quot;
   int64 3600500

For some reason the Meta binding also tends to disable itself after some activity. That is, after logging in, the Meta buttons shows the Kickoff menu. After &quot;some activity&quot; (nothing special, I don&apos;t know the trigger), the Meta button has no longer effect.

Personally I will probably be disabling this Meta shortcut since it is used as modifier for many keybindings, just reporting it here in case it helps.

FYI, the commit adding this feature is:
https://quickgit.kde.org/?p=kwin.git&amp;a=commitdiff&amp;h=9b30cfef1d212ed2b40510a70d1f92c497f44398&amp;hp=eed4bf32ae04ff445d4c542366b44b7b12a915a5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1632691</commentid>
    <comment_count>5</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2016-10-16 10:29:06 +0000</bug_when>
    <thetext>*** Bug 370721 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1633725</commentid>
    <comment_count>6</comment_count>
    <who name="Roman Gilg">subdiff</who>
    <bug_when>2016-10-19 17:09:26 +0000</bug_when>
    <thetext>Git commit 65706d3878d556c7a1eac18984ec41b1a1d96d56 by Roman Gilg.
Committed on 19/10/2016 at 16:51.
Pushed by romangilg into branch &apos;master&apos;.

New bool to use activated signal as toggle of expanded

The launcher applets couldn&apos;t be closed with Meta alone and on Wayland
in general by any global shortcut, since we used for that the focusOutEvent
triggered only on X and only on global shortcuts (on default Alt+F1).

This patch introduces the new bool activationTogglesExpanded, which allowes
QML applets to decide if they wish to use the activated signal also to end
their expanded state.

The default value is false, in order to not break any legacy applets.

REVIEW: 129204

M  +16   -1    src/plasmaquick/appletquickitem.cpp
M  +10   -0    src/plasmaquick/appletquickitem.h
M  +1    -0    src/plasmaquick/private/appletquickitem_p.h
M  +7    -2    src/scriptengines/qml/plasmoid/appletinterface.cpp

http://commits.kde.org/plasma-framework/65706d3878d556c7a1eac18984ec41b1a1d96d56</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1636281</commentid>
    <comment_count>7</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2016-10-29 13:47:48 +0000</bug_when>
    <thetext>*** Bug 371821 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1636283</commentid>
    <comment_count>8</comment_count>
    <who name="atmarx">amarx</who>
    <bug_when>2016-10-29 14:12:09 +0000</bug_when>
    <thetext>Any idea if this will also affect how the meta key works in keyboard-captured programs (like TeamViewer or VirtualBox)?

As of right now, meta+{key} combos are captured properly and don&apos;t trigger bound shortcuts on the host, but a meta key press by itself causes the app launcher to pop up as well as triggering it on the remote system / vm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1636299</commentid>
    <comment_count>9</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2016-10-29 14:35:11 +0000</bug_when>
    <thetext>(In reply to atmarx from comment #8)
&gt; As of right now, meta+{key} combos are captured properly and don&apos;t trigger
&gt; bound shortcuts on the host, but a meta key press by itself causes the app
&gt; launcher to pop up as well as triggering it on the remote system / vm.

Please report a bug about that against product kwin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1638580</commentid>
    <comment_count>10</comment_count>
    <who name="Peter Wu">peter</who>
    <bug_when>2016-11-08 23:11:29 +0000</bug_when>
    <thetext>For future tracking: atmarx reported bug 371821 which covers this bug and the issue with the menu still opening even if an application grabbed it. The latter issue is tracked by bug 371877.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1639716</commentid>
    <comment_count>11</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2016-11-15 08:47:28 +0000</bug_when>
    <thetext>*** Bug 372477 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1639735</commentid>
    <comment_count>12</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2016-11-15 09:08:38 +0000</bug_when>
    <thetext>*** Bug 372356 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>