1. 22 Dec, 2012 1 commit
  2. 29 Nov, 2012 1 commit
  3. 13 Nov, 2012 1 commit
  4. 09 Nov, 2012 1 commit
  5. 07 Sep, 2012 1 commit
    • Martin Flöser's avatar
      Allow Scripts to add menus to the UserActionsMenu · 846715c2
      Martin Flöser authored
      A script can register a callback through registerUserActionsMenu to be
      informed when the UserActionsMenu is about to be shown. This menu calls
      the Scripting component to gather actions to add to a Scripts submenu.
      
      The Scripting component now asks all scripts for the actions, which will
      invoke the registered callbacks with the Client for which the menu is to
      be shown as argument.
      
      The callback is supposed to return a JSON structure describing how the
      menu should look like. The returned object can either be a menu item or
      a complete menu. If multiple menu items or menus are supposed to be added
      by the script it should just register multiple callbacks.
      
      The structure for an item looks like the following:
      {
          text: "My caption",
          checkable: true,
          checked: false,
          triggered: function (action) {
             print("The triggered action as parameter");
          }
      }
      
      The structure for a complete menu looks quite similar:
      {
          text: "My menu caption",
          items: [
               {...}, {...} // items as described above
          ]
      }
      
      The C++ part of the script parses the returned object and generates
      either QAction or QMenu from it. All objects become children of the
      scripts QMenu provided by the UserActionsMenu.
      
      Before the menu is shown again the existing menu is deleted to ensure
      that no outdated values from no longer existing scripts are around. This
      means the scripts are queried each time the menu is shown.
      
      FEATURE: 303756
      FIXED-IN: 4.10
      REVIEW: 106285
      846715c2
  6. 06 Sep, 2012 1 commit
    • Martin Flöser's avatar
      Splitting up of KWin's global D-Bus interface · 63734bd2
      Martin Flöser authored
      Two new interfaces are introduced:
      * org.kde.kwin.Compositing
      * org.kde.kwin.Effects
      
      The Compositing interface is generated from scriptable elements on the
      KWin::Compositor class and the Compositor is exported as /Compositor.
      It provides the general Compositing related D-Bus methods like whether
      the compositor is active and toggling and so on.
      
      The Effects interface is generated from scriptable elements on the
      KWin::EffectsHandlerImpl class and the instance is exported as /Effects.
      It provides all the effects related D-Bus methods like loading an effect
      or the list of all effects.
      
      This removes the need to have all these methods provided on the global
      org.kde.KWin interface. For backwards compatibility they are kept, but
      no longer provided by the Workspace class. Instead a new DBusInterface
      is generated which wrapps the calls and delegates it to one of our three
      related Singleton objects:
      * Workspace
      * Compositor
      * EffectsHandlerImpl
      63734bd2
  7. 28 Aug, 2012 2 commits
    • Thomas Lübking's avatar
      fix untabbing position · 9191c58f
      Thomas Lübking authored
      the geometry setting needs to happen out of recursion,
      has to be smarter for unmaximizing and also no real
      place in TabGroup - the client is no longer tabbed thus
      it's not the groups task to manage it's geometry.
      
      BUG: 226881
      REVIEW: 106182
      FIXED-IN: 4.9.1
      9191c58f
    • Thomas Lübking's avatar
      fix untabbing position · c5f090ac
      Thomas Lübking authored
      the geometry setting needs to happen out of recursion,
      has to be smarter for unmaximizing and also no real
      place in TabGroup - the client is no longer tabbed thus
      it's not the groups task to manage it's geometry.
      
      BUG: 226881
      REVIEW: 106182
      FIXED-IN: 4.9.1
      c5f090ac
  8. 26 Aug, 2012 1 commit
    • Martin Flöser's avatar
      Split the User Actions Menu out of Workspace · acbfed1e
      Martin Flöser authored
      All methods and variables related to the User Actions Menu
      (rmb window deco, Alt+F3) is moved out of the Workspace class
      into an own UserActionsMenu class.
      
      The class needs only a very small public interface containing
      methods to show the menu for a Client, closing the menu and
      discarding the menu. Everything else is actually private to the
      implementation which is one of the reasons why it makes sense
      to split the functionality out of the Workspace class.
      
      As a result the methods and variables have more sane names and
      the variable names are standardized.
      
      REVIEW: 106085
      BUG: 305832
      FIXED-IN: 4.10
      acbfed1e
  9. 18 Aug, 2012 1 commit
    • Martin Flöser's avatar
      Adding a screen menu to the Client's useraction menu · 1739330f
      Martin Flöser authored
      New "Move To Screen" menu is shown after the "Move To Desktop"
      menu if there are multiple screens and the window can be moved
      to another screen. Menu contains one radio button for each
      screen.
      
      Selecting an entry sends the Client to the selected screen.
      
      BUG: 269207
      FIXED-IN: 4.10
      REVIEW: 106065
      1739330f
  10. 17 Aug, 2012 1 commit
    • Martin Flöser's avatar
      Effects can provide support information through properties · 42aa9c80
      Martin Flöser authored
      The supportInformation is extended to also read the properties
      on all effects. In addition each effect can be queried just for
      itself through D-Bus, e.g.:
      qdbus org.kde.kwin /KWin supportInformationForEffect kwin4_effect_blur
      
      All effects are extended to provide their configured and read
      settings through properties. In some cases also important
      runtime information is exposed.
      
      REVIEW: 105977
      BUG: 305338
      FIXED-IN: 4.9.1
      42aa9c80
  11. 14 Jul, 2012 2 commits
    • Martin Flöser's avatar
      Remove Tiling support from KWin · 34027455
      Martin Flöser authored
      As discussed on the mailinglist [1] the tiling support is
      removed from KWin. The main reasons for this step are:
      * it is unmaintained
      * it is a mode not used by any of the core KWin team
      * original developer said at Akademy 2012 that he is not
        interested in picking up the work again
      * tiling has quite some bugs, e.g. multi screen not supported
      * is conflicting with other concepts in KWin, e.g. activities
      
      There is ongoing work to get tiling supported through a KWin
      script, which is a preferred way as it does not influence the
      existing C++ code base.
      
      [1] http://lists.kde.org/?l=kwin&m=133149673110558&w=2
      BUG: 303090
      FIXED-IN: 4.10
      REVIEW: 105546
      34027455
    • Martin Flöser's avatar
      Delay closing of a window by one event cycle · 0fea5325
      Martin Flöser authored
      This is an issue we already had in the past with Aurorae. When
      closing a window the graphics scene crashes because the deco
      gets destroyed before the code in the graphics scene finished
      the execution.
      
      With the port to QML this seemed to be fixed unless as it turns
      out it throws an XIO error on closing:
      fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      
      This can be triggered using glxgears. Closing glxgears would
      reliable crash Aurorae. To circumvent this issue we have to
      delay the close by one event cycle using QMetaObject's
      invokeMethod with a Qt::QueuedConnection.
      
      This has also to be done in the useractions menu as the menu
      is still open when the window closes causing the same problem
      inside Aurorae.
      
      BUG: 303450
      FIXED-IN: 4.9.0
      Reviewed-By: Thomas Lüking
      0fea5325
  12. 13 Jul, 2012 1 commit
  13. 03 Jun, 2012 1 commit
  14. 17 May, 2012 1 commit
  15. 06 May, 2012 1 commit
  16. 03 May, 2012 1 commit
  17. 30 Apr, 2012 1 commit
  18. 20 Apr, 2012 2 commits
  19. 17 Apr, 2012 2 commits
  20. 30 Mar, 2012 1 commit
  21. 25 Mar, 2012 3 commits
    • Martin Flöser's avatar
      Use an ActionGroup for Move To Desktop entries · e899342b
      Martin Flöser authored
      Virtual Desktops are mutual exclusive, so an ActionGroup
      is better suited.
      
      REVIEW: 104378
      e899342b
    • Martin Flöser's avatar
      Synchronise useractions menu with taskmanager · 43ab5b78
      Martin Flöser authored
      Changes the order of the useractions menu to fit the one of
      taskmanager. There are still some differences:
      * Taskmanager is missing Activities menu
      * Taskmanager is missing Window Tabbing support
      * Taskmanager is missing window settings (e.g. shortcut)
      * Useractions is missing launcher support
      
      REVIEW: 104374
      FEATURE: 296056
      FIXED-IN: 4.9.0
      43ab5b78
    • Martin Flöser's avatar
      Rename "Configure Window Behavior" to "Window Manager Settings" · 82879150
      Martin Flöser authored
      The context menu entry to "Configure Window Behavior" opens the
      configuration of the window manager and not about the window.
      In the past the shown configuration dialog only contained entries
      affecting the window behavior but that is no longer true for the
      complete KDE 4.x series since Desktop Effects had been added to
      the menu. This change in naming reflects the situation and should
      help to remove confusion.
      
      At the same time the entry is moved into the advanced section.
      
      FEATURE: 249486
      FIXED-IN: 4.9.0
      REVIEW: 104284
      82879150
  22. 07 Mar, 2012 2 commits
  23. 27 Feb, 2012 1 commit
  24. 21 Feb, 2012 3 commits
  25. 11 Feb, 2012 3 commits
    • Thomas Lübking's avatar
      fix tabbing · 206257d7
      Thomas Lübking authored
      BUG: 290959
      BUG: 265160
      BUG: 229292
      BUG: 238279
      BUG: 290758
      BUG: 222831
      BUG: 278275
      BUG: 245747
      BUG: 230000
      
      BUG: 253697
      BUG: 230570
      BUG: 265977
      BUG: 225337
      BUG: 225339
      
      REVIEW: 103855
      206257d7
    • Thomas Lübking's avatar
      Revert "fix tabbing" · befd3f60
      Thomas Lübking authored
      pushed out of branch, not master - leading to absent revision, found hash collision??
      
      This reverts commit 94b2ad7b.
      befd3f60
    • Thomas Lübking's avatar
      fix tabbing · 94b2ad7b
      Thomas Lübking authored
      BUG: 290959
      BUG: 265160
      BUG: 229292
      BUG: 238279
      BUG: 290758
      BUG: 222831
      BUG: 278275
      BUG: 245747
      BUG: 230000
      
      BUG: 253697
      BUG: 230570
      BUG: 265977
      BUG: 225337
      BUG: 225339
      
      REVIEW: 103855
      94b2ad7b
  26. 05 Dec, 2011 1 commit
  27. 04 Nov, 2011 1 commit
  28. 10 Oct, 2011 1 commit
  29. 29 Aug, 2011 1 commit