1. 05 Apr, 2021 1 commit
  2. 21 Jan, 2021 1 commit
    • Alexander Lohnau's avatar
      Run clang-format · 823d2106
      Alexander Lohnau authored
      If you want git blame to ignore formatting revisions run:
      git config blame.ignoreRevsFile .git-blame-ignore-revs
      823d2106
  3. 16 Dec, 2020 1 commit
    • Fabian Vogt's avatar
      Fix global menu for Xwayland windows · e4af18d6
      Fabian Vogt authored
      In a Plasma Wayland session, kded does not use the XCB QPA and so Qt doesn't
      have an X11 connection. For X11 windows, it has to set some properties on
      registration to make them known, so just make an X11 connection in that case.
      e4af18d6
  4. 10 Feb, 2019 1 commit
  5. 10 Mar, 2018 1 commit
  6. 12 Dec, 2017 1 commit
    • Marco Martin's avatar
      Make Appmenu work based on the presence of a visual representation · 19ab6f3b
      Marco Martin authored
      Summary:
      drop the internal settings InApp,Menu, Decoration
      but instead export the menu based on the presence of a dbus service called
      org.kde.appmenuview, exported by either the menubar applet or the
      kwin decoration button
      
      let the decoration button and the globalmenubar work at the same time
      
      not necessary anymore to have the setting in the kcm
      
      Test Plan:
      adding an appmenu applet causes apps started afterwards
      to export their menubar, removing it causes new apps to
      have their menubar internal again
      
      Reviewers: #plasma, davidedmundson
      
      Reviewed By: #plasma, davidedmundson
      
      Subscribers: davidedmundson, ngraham, mvourlakos, broulik, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D9215
      19ab6f3b
  7. 28 Feb, 2017 2 commits
    • David Edmundson's avatar
      Only activate kded Appmenu signals if menus are in the window decoration · 907296e8
      David Edmundson authored
      Summary:
      The Appmenu applet doesn't use the AppMenu module, and it interferes
      with the applet.
      
      Test Plan:
      Set menus to in decoration
      Pressed alt+f, it appeared
      Changed it to be in the applet
      pressed alt+f, nothing happened
      
      Reviewers: #plasma, broulik
      
      Reviewed By: #plasma, broulik
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D4833
      907296e8
    • David Edmundson's avatar
      Open the correct submenu in kwin menu when activating the Appmenu with a shortcut · 9343bc2b
      David Edmundson authored
      Summary:
      Export actionForId as a method in menuImporter
      
      IDs are used in the low level API which the appmenu kded module wants to
      use directly.
      
      Fix arguments in itemActivationRequest
      
      We have a int actionId and a uint window timestamp in porting somehow
      these had got swapped and renamed. This now matches the relevant DBus
      signal they connect to.
      
      Open correct acton sub-menu on loading
      
      So pressing alt+e will open the edit menu immediately when showing the
      application menu.
      
      Also remove existing leftover code that did this which is using a member
      var which was previously never set.
      
      Test Plan:
      Had the relevant emit patch in plasma-integration
      Pressed alt+e, got the edit menu
      
      Reviewers: #plasma, broulik
      
      Reviewed By: #plasma, broulik
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D4832
      9343bc2b
  8. 16 Jan, 2017 1 commit
    • David Edmundson's avatar
      Signal which menu has updated in libdbusmenu-qt · 77e57190
      David Edmundson authored
      Summary:
      Then update appet, SNI, and appmenu appropriately which are only care
      about the root menu.
      
      This fixes some premature showing and re-evaluation.
      
      Test Plan:
      Ran statusnotifiertest and checked submenu worked
      Ran applet and checked everything was still fine
      Restarted kded and checked window decoration menu
      
      Reviewers: #plasma
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D4161
      77e57190
  9. 11 Jan, 2017 2 commits
    • Kai Uwe Broulik's avatar
      Take into account devicePixelRatio when placing application menu · 20dd662c
      Kai Uwe Broulik authored
      KWin sends device pixels whereas kded operates on logical pixels - the menu would be offset on highdpi
      20dd662c
    • David Edmundson's avatar
      Simplify AppMenu menu management · 109b0882
      David Edmundson authored
      Summary:
      Instead of having a menu from the importer and our custom vertical menu
      then syncing entries we can simply use the factory method in
      DBusMenuImporter to create our custom one from the start.
      
      This makes memory management easier as we only need to worry about the
      importer which implicitly owns the menu.
      
      Test Plan: Ran in-window menu, everything worked for me perfectly.
      
      Reviewers: #plasma, broulik
      
      Reviewed By: #plasma, broulik
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D4062
      109b0882
  10. 05 Jan, 2017 2 commits
    • Kai Uwe Broulik's avatar
      Route through an "actionId" argument · a15345ef
      Kai Uwe Broulik authored
      This way we can eventually tell KWin or the appmenu applet to highlight/open
      a specific menu directly
      a15345ef
    • Kai Uwe Broulik's avatar
      Clean up KAppMenu · 90de42f2
      Kai Uwe Broulik authored
      Massively cleanup KAppMenu by removing outdated and unused code.
      The global menu has been removed as it will eventually be provided by a plasmoid (famous last words).
      
      The biggest change, however, is that instead of relying on Windows IDs (which won't work on Wayland)
      we always speak of DBus service name and object path which will be added as properties to the respective
      windows. To support 3rd party applications, we also set the property in the RegisterWindow function.
      
      This way KWin doesn't need any fallback code and can just rely on those properties.
      
      Differential Revision: https://phabricator.kde.org/D3086
      90de42f2
  11. 23 Sep, 2016 1 commit
  12. 01 Nov, 2015 1 commit
  13. 20 Aug, 2015 1 commit
    • Ragnar Thomsen's avatar
      Port KDED plugins to json metadata · 498cd08a
      Ragnar Thomsen authored
      Port all remaining KDED modules to json metadata and disables
      installation of the desktop files.
      
      The plugins now get installed in ${KDE_INSTALL_PLUGINDIR}/kf5/kded and
      the "kded_" prefix is removed.
      
      REVIEW: 124845
      498cd08a
  14. 30 Mar, 2014 1 commit
    • Aleix Pol Gonzalez's avatar
      Initial import from the monolithic kde-workspace. · da27b276
      Aleix Pol Gonzalez authored
      This is the beginning of revision history for this module. If you
      want to look at revision history older than this, please refer to the
      techbase wiki for how to use Git history grafting. At the time of
      writing, this wiki is located here:
      
      http://community.kde.org/Frameworks/GitOldHistory
      
      If you have already performed the grafting and you don't see any
      history beyond this commit, try running "git log" with the "--follow"
      argument.
      
      Branched from the monolithic repo kde-workspace, frameworks  branch, at commit
      049113e719dd2fc4446d054fa1a3aada330094f0
      da27b276