1. 14 Dec, 2012 1 commit
  2. 09 Nov, 2012 1 commit
    • Martin Flöser's avatar
      Decoration can announce whether it currently requires an alpha channel · 09837e2d
      Martin Flöser authored
      A decoration can provide the AbilityAnnounceAlphaChannel in addition to
      AbilityUsesAlphaChannel. If this ability is provided the decoration can
      enable/disable the use of the alpha channel through setAlphaEnabled().
      The base idea behind this mechanism is to be able to tell the compositor
      that currently alpha is not needed. An example is the maximized state in
      which the decoration is fully opaque so that there is no need to use the
      translucency code path which would render all windows behind the deco.
      In addition also the blur effect honors this setting so that behind a
      known opaque decoration no blurring is performed.
      Oxygen is adjusted to disable translucency in maximized state and Aurorae
      is adjusted to allow themes to enable/disable translucency. For Plastik
      translucency and with that also blurring is disabled.
      REVIEW: 106810
  3. 25 Oct, 2012 1 commit
  4. 27 Sep, 2012 1 commit
    • Martin Flöser's avatar
      Fix enabled borders and padding for maximized Aurorae decos · fd1e76c0
      Martin Flöser authored
      In the maximized state the enabled borders were still enabled causing
      the actual borders to be still shown. In addition the padding is not
      adjusted to be 0. This is done in the C++ part is it does not make any
      sense to have shadows being thrown to another screen for a maximized
      REVIEW: 106576
      BUG: 307365
      FIXED-IN: 4.9.2
  5. 01 Sep, 2012 1 commit
  6. 26 Aug, 2012 5 commits
    • Martin Flöser's avatar
      Use DecorationOptions in Aurorae themes · fe44f30b
      Martin Flöser authored
      Instead of injection the Factory as a context property into the
      Aurorae QML file the new DecorationOptions is used.
    • Martin Flöser's avatar
      Support for config values in QML decorations · 4919bdb6
      Martin Flöser authored
      When the decoration is reset a signal is emitted that the config
      might have changed which the decoration can connect to for
      reloading its configuration. For this an invokable method is
      added to Aurorae allowing to read a config value which just
      returns the QVariant.
      Proper support for border sizes are added by providing the enum
      in DecorationOptions, so that QML themes can use the enum values
      to decide which border size to use.
      The kcm is adjusted to also support these config mechanisms and
      to properly load and save the border sizes for QML based themes.
    • Martin Flöser's avatar
      Properly reset Aurorae decorations when theme changes · 27e80df3
      Martin Flöser authored
      On change of theme recreate all decorations and create a new
      declarative engine and component which is basically a re-init
      of the Factory.
      There are too many differences between themes - especially when
      switching between an old SVG based Aurorae and a new QML based
      Aurorae theme.
    • Martin Flöser's avatar
      Declarative extension plugin for window decorations · c4697681
      Martin Flöser authored
      The generic QML components from Aurorae are split out into an
      own declarative plugin. In addition two new helper classes are
      added to this plugin:
      * A ColorHelper to map a few function of KColorSheme and making
        it possible to actually work with colors in QML. The need
        emerged from trying to port Plastik to QML which makes strong
        use of color shading.
      * A DecorationOptions class which is a wrapper around KWin's
        KDecorationOptions but in a more useable way for QML. The
        various options are provided as properties and the value of
        the properties changes automatically depending on whether the
        decoration is active or inactive.
      Aurorae itself is not yet adjusted to these changes, but it
      should also be adjusted as some of the options are currently
      exported in the factory and the factory is injected into the
      Aurorae QML decoration.
    • Martin Flöser's avatar
      Basic QML theme support in Aurorae · a001cabb
      Martin Flöser authored
      Aurorae can load QML themes from Plasma package structures.
      Code not yet tested as there are no packages yet.
  7. 17 Aug, 2012 1 commit
  8. 10 Aug, 2012 1 commit
    • Martin Flöser's avatar
      Delay maximize operation by one event cycle · c0d72b06
      Martin Flöser authored
      The result of maximizing a window might be the decoration
      going away. Because of that we need to delay the handling of
      maximize and title bar double click by one cycle as had been
      done for other close operations in 0fea5325
      BUG: 304870
      FIXED-IN: 4.9.1
      REVIEW: 105961
  9. 02 Aug, 2012 1 commit
    • Martin Flöser's avatar
      Install event filter on Aurorae Decoration to handle WheelEvents · 0f329beb
      Martin Flöser authored
      Unfortunately QtQuick 1 does not provide a way to receive Wheel
      events. But the window decoration needs to pass wheel events on
      the titlebar to KWin core.
      In order to process also Wheel Events in Aurorae an event
      filter is installed on the widget and in case the mouse positon
      is on the title bar the titlebarMouseWheelOperation is invoked.
      BUG: 304248
      FIXED-IN: 4.9.1
      REVIEW: 105801
  10. 14 Jul, 2012 1 commit
    • 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
  11. 17 May, 2012 1 commit
  12. 16 Feb, 2012 1 commit
    • Martin Flöser's avatar
      Improve mouse click behavior of Aurorae Menu button · 2c01ae0a
      Martin Flöser authored
      The general idea is: single click opens menu, double click closes
      the window. The problem is that the when the menu is opened after
      the single click, the menu will eat the second click. So double
      click will not work.
      This commit brings back the workaround from Aurorae2. The clicked
      event is not used at all, but we start a timer on the press event
      with the doubleClickInterval. If no double click appears during the
      interval we open the menu, if there is a double click we close the
      The downside of this approach is that there is a slight delay between
      clicking the menu button and the menu appearing. For that the right
      click behavior is unchanged. That is right clicking opens the menu
      instantly and double click to close it, is broken.
  13. 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
    • 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.
    • 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
  14. 13 Jan, 2012 15 commits
  15. 05 Dec, 2011 1 commit
  16. 16 Jan, 2011 2 commits
  17. 10 Nov, 2010 1 commit
    • Martin Flöser's avatar
      Don't blur behind opaque window decorations. · 7b7412ae
      Martin Flöser authored
      Adding a new AbilityUsesBlurBehind which can be set by decorations with
      alpha channel to request that the background can be blurred. This improves
      the situation for our completely opaque default Oxygen decoration.
      This change is a behavior change in comparison to 4.5! Translucent decorations do
      not get blurred by default any more.
      CCMAIL: craig.p.drummond@googlemail.com
      svn path=/trunk/KDE/kdebase/workspace/; revision=1195274
  18. 21 Oct, 2010 1 commit
    • Martin Flöser's avatar
      Show Tooltips when hovering Aurorae Tabs. · 2be24c48
      Martin Flöser authored
      Using the Plasma ToolTipManager to provide the same tooltips as in the tasks applet.
      Currently only icons and title are displayed for tabs. Preview will be added as soon
      as the tab's WId is exported by KWin core.
      Unfortunately the tooltips are missing translucency.
      FEATURE: 228436
      FIXED-IN: 4.6.0
      svn path=/trunk/KDE/kdebase/workspace/; revision=1188226
  19. 19 Jun, 2010 1 commit