1. 15 Jan, 2018 1 commit
  2. 14 Jan, 2018 3 commits
  3. 13 Jan, 2018 2 commits
    • Martin Flöser's avatar
      Disable KActivities integration on Wayland · b8f43618
      Martin Flöser authored
      Once again KActivities causes a delay in the startup of KWin. This is
      not the first time it happens, that has been a problem since the start
      of the Wayland project.
      
      In the past we added a compile time switch due to that and added a
      runtime switch once it stoped freezing (20a9a2a2).
      And now it broke again, so let's disable again.
      
      KActivities doesn't make sense on Wayland anyway as there is no activity
      support for Wayland windows. Once KActivities is able to be used without
      freezing KWin on startup and being able to ensure that it won't break
      again we can reenable. But I expect guarantees about that. This must be
      ensured by proper autotest support to verify that in future usage of
      KActivities in the display manager doesn't freeze it.
      
      This is maintainer decision, due to that no pre-commit review.
      
      CCMAIL: plasma-devel@kde.org
      BUG: 388628
      b8f43618
    • Martin Flöser's avatar
      Require frameworks 5.42 · 0d0a9ebe
      Martin Flöser authored
      0d0a9ebe
  4. 12 Jan, 2018 2 commits
  5. 11 Jan, 2018 1 commit
    • Marco Martin's avatar
      A basic TabletModeManager · 1be5256b
      Marco Martin authored
      Summary:
      depends from D9521
      
      listens to switch events and updates the tablet mode status
      which is exposed to dbus in the org.kde.KWin.TabletModeManager
      interface
      
      Test Plan:
      as hardware support is limited, testing of clients
      so far is done by the setter in the dbus property,
      which should be removed from the final version.
      It has been tested to successfully work on a Thinkpad.
      
      Reviewers: #plasma, #kwin, graesslin
      
      Reviewed By: #plasma, #kwin, graesslin
      
      Subscribers: graesslin, davidedmundson, plasma-devel, kwin, #kwin
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D9764
      1be5256b
  6. 10 Jan, 2018 3 commits
    • Martin Flöser's avatar
      Keep fullscreen windows in active layer based on transients not the group · b7ad4bcf
      Martin Flöser authored
      Summary:
      So far a not-active fullscreen X11 window was kept in the active layer if
      the newly activated window is in the same group (that is same client
      leader). For example a fullscreen X11 kwrite window is in the active layer
      if another kwrite window is active. The two kwrite windows obviously
      don't have anything to do with each other, but are in the same group.
      
      This creates problems as it's not possible to raise other windows above
      the active not-fullscreen kwrite window. E.g. the panel is stacked below.
      
      The idea behind the check makes sense: if a fullscreen window opens
      another window (e.g. a configuration dialog) it should not be put back
      to normal layer. Thus the check is adjusted whether the new active
      window is a transient to the fullscreen window. Thus the intention is
      still the same, but does not cause the problems.
      
      As the code now does not need to differentiate between X11 and Wayland
      windows (group only on X11) the Client specific implementation is
      removed and the method unvirtual'ed.
      
      BUG: 388310
      FIXED-IN: 5.12.0
      
      Test Plan: Test passes
      
      Reviewers: #kwin, #plasma
      
      Subscribers: plasma-devel, kwin
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D9699
      b7ad4bcf
    • Martin Flöser's avatar
      Simulate user activity on fake input events · b002b279
      Martin Flöser authored
      Summary:
      This ensures that using KDE Connect to control input properly inhibits
      idle timeouts.
      
      Reviewers: #kwin, #plasma
      
      Subscribers: plasma-devel, kwin
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D9555
      b002b279
    • David Edmundson's avatar
      Fix Plastik bottom and right border · 04dbafd7
      David Edmundson authored
      Summary:
      x and y are always relative to the parent, adding parent.width to
      calculate the position doesn't make sense.
      
      Original author meant just "x: parent.width-1"
      But we may as well just use anchors. Programatically it comes out the
      same.
      
      Test Plan:
      No more weird vertical lines in the KCM when view is slightly less than 2 previews wide.
      Modded colour to hardcoded "red" for easier visualisation, checked it looked ok when set as a real deco.
      
      Reviewers: #plasma
      
      Subscribers: plasma-devel, kwin, #kwin
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D9776
      04dbafd7
  7. 09 Jan, 2018 2 commits
  8. 08 Jan, 2018 1 commit
  9. 07 Jan, 2018 1 commit
  10. 06 Jan, 2018 2 commits
    • Martin Flöser's avatar
      [autotests] Add test case for fullscreen window with groups · 87ebfd15
      Martin Flöser authored
      When an X11 window is raised to fullscreen it gets set to active layer.
      When another window gets activated then it goes back to normal layer.
      But when a window of the same group gets activated the fullscreen window
      stays in the active layer. Due to that it is not possible to raise other
      windows above the fullscreen window.
      
      This just adds a test case exposing the problematic area.
      
      CCBUG: 388310
      87ebfd15
    • Script Kiddy's avatar
      SVN_SILENT made messages (.desktop file) - always resolve ours · 7764de04
      Script Kiddy authored
      In case of conflict in i18n, keep the version of the branch "ours"
      To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
      7764de04
  11. 05 Jan, 2018 5 commits
  12. 04 Jan, 2018 3 commits
    • David Edmundson's avatar
      Add explicit protocol for colour scheme management · 01d6878d
      David Edmundson authored
      Summary:
      To replace the deprecated/broken qt extended surface
      
      BUG: 385214
      
      Test Plan: Ran test in plasma-integration
      
      Reviewers: #plasma, graesslin
      
      Reviewed By: #plasma, graesslin
      
      Subscribers: plasma-devel, kwin, #kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D9660
      01d6878d
    • Martin Flöser's avatar
      [libinput] Add support for switch devices and events · ac2f41c8
      Martin Flöser authored
      Summary:
      This change adds support for the switch devices introduces with libinput
      1.7 (lid) and 1.9 (tablet mode). So far it's not yet used internally in
      KWin, but only exposed through the Device and Events.
      
      As KWin currently only requires libinput 1.5 and we are rather late in
      the release cycle the new functionality is ifdef'ed. The requirement
      will be raised once master is 5.13. It is already available on
      build.kde.org, but e.g. Neon only has 1.6.
      
      The switch events are interesting as they report whether the lid is
      closed (might be interesting for e.g. powerdevil) and whether a
      convertible is in tablet mode (supported for e.g. Lenovo Yogas with
      recent kernel). This can be used by KWin internally to enable/disable
      the virtual keyboard. And can be exposed globally to switch to Plasma
      Mobile shell in future.
      
      Test Plan:
      Only through test case as my Lenovo Yoga uses Neon which has a
      too old libinput
      
      Reviewers: #kwin, #plasma
      
      Subscribers: plasma-devel, kwin
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D9516
      ac2f41c8
    • Script Kiddy's avatar
      SVN_SILENT made messages (.desktop file) - always resolve ours · a252ff96
      Script Kiddy authored
      In case of conflict in i18n, keep the version of the branch "ours"
      To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
      a252ff96
  13. 03 Jan, 2018 3 commits
  14. 02 Jan, 2018 1 commit
  15. 01 Jan, 2018 2 commits
    • Vlad Zahorodnii's avatar
      [effects/slide] Handle moving clients · 20780c6f
      Vlad Zahorodnii authored
      Summary:
      Currently, slide effect doesn't handle a case when there
      is a moving client. This results in having window jumps.
      This commit fixes it by fixing position of the moving client
      during switching to another desktop.
      
      Test Plan: * send window one desktop to the left/right using shortcuts
      
      Reviewers: #kwin, #plasma, graesslin
      
      Reviewed By: #kwin, #plasma, graesslin
      
      Subscribers: graesslin, plasma-devel, kwin
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D9487
      20780c6f
    • Vlad Zahorodnii's avatar
      [effects/slide] Add 'Duration' option · 8a02a802
      Vlad Zahorodnii authored
      Summary:
      At the moment, there is no way to tweak duration of the slide animation.
      This change adds a configuration module so it is possible to change
      the duration.
      
      Test Plan:
      * enable virtual desktops
      * go to `System Settings > Desktop Behaviour > Desktop Effects`
        and select Slide effect under "Virtual Desktop Switching Animation"
      * click settings/options button and change duration
      
      Reviewers: #kwin, #plasma, graesslin
      
      Reviewed By: #kwin, #plasma, graesslin
      
      Subscribers: graesslin, plasma-devel, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D9382
      8a02a802
  16. 31 Dec, 2017 1 commit
  17. 30 Dec, 2017 1 commit
  18. 29 Dec, 2017 1 commit
    • Nathaniel Graham's avatar
      Improve some strings and UI elements in KWin KCM · 819230d4
      Nathaniel Graham authored
      Summary:
      BUG: 386571
      BUG: 386574
      BUG: 386576
      
      Implemented some of @abetts' string change and UI suggestions in the above bugs.
      
      Test Plan:
      Tested in KDE Neon:
      
      {F5540279}
      
      {F5540277}
      
      {F5540278}
      
      Reviewers: abetts, #vdg, #kwin, davidedmundson, graesslin, apol
      
      Reviewed By: abetts, #vdg, davidedmundson, apol
      
      Subscribers: apol, jriddell, luebking, graesslin, kwin, abetts
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D8682
      819230d4
  19. 28 Dec, 2017 1 commit
  20. 27 Dec, 2017 1 commit
  21. 26 Dec, 2017 1 commit
    • Martin Flöser's avatar
      Add DBus interface to OrientationSensor and a persistent configuration · e0b1a571
      Martin Flöser authored
      Summary:
      The initial state for user enabled is now read from config. In addition
      a DBus interface is provided exporting this property. This allows
      KScreen to determine whether automatic screen rotation is available and
      whether the user has it enabled or not.
      
      Furthermore KScreen can change the property and this gets stored into
      the configuration. Thus KScreen can offer a user interface to
      enable/disable automatic screen rotation as well as enabling/disabling
      the manual rotation based on the current user settings.
      
      Test Plan:
      Not yet tested, coded on the system which doesn't have an
      orientation sensor
      
      Reviewers: #kwin, #plasma, sebas, davidedmundson
      
      Subscribers: plasma-devel, kwin
      
      Tags: #kwin
      
      Differential Revision: https://phabricator.kde.org/D8738
      e0b1a571
  22. 25 Dec, 2017 1 commit
  23. 24 Dec, 2017 1 commit