- 14 Dec, 2012 1 commit
-
-
Thomas Lübking authored
BUG: 311018 FIXE-IN: 4.10
-
- 09 Nov, 2012 1 commit
-
-
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
-
- 25 Oct, 2012 1 commit
-
-
Martin Flöser authored
If a theme is configured which does not exist, Aurorae will load the Plastik theme which is known to be around.
-
- 27 Sep, 2012 1 commit
-
-
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 window. REVIEW: 106576 BUG: 307365 FIXED-IN: 4.9.2
-
- 01 Sep, 2012 1 commit
-
-
Martin Flöser authored
Not needed and causing troubles when restarting Compositing.
-
- 26 Aug, 2012 5 commits
-
-
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 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 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 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 authored
Aurorae can load QML themes from Plasma package structures. Code not yet tested as there are no packages yet.
-
- 17 Aug, 2012 1 commit
-
-
Martin Flöser authored
Adding two properties to the AuroraeFactory to read the active and inactive title font. BUG: 304791 FIXED-IN: 4.9.1 REVIEW: 105956
-
- 10 Aug, 2012 1 commit
-
-
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
-
- 02 Aug, 2012 1 commit
-
-
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
-
- 14 Jul, 2012 1 commit
-
-
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
-
- 17 May, 2012 1 commit
-
-
Thomas Lübking authored
REVIEW: 104978 BUG: 299141 FIXED-IN: 4.9
-
- 16 Feb, 2012 1 commit
-
-
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 window. 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.
-
- 11 Feb, 2012 3 commits
-
-
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 authored
pushed out of branch, not master - leading to absent revision, found hash collision?? This reverts commit 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
-
- 13 Jan, 2012 15 commits
-
-
Martin Flöser authored
Most settings don't require a reload of the decorations.
-
Martin Flöser authored
Buttons are exported as a global "options" in the factory. Additionally the theme's buttons are also exported. The thme decided based on the custom button positions property which one to use. In the kcm the button options are also exported.
-
Martin Flöser authored
-
Martin Flöser authored
-
Martin Flöser authored
Each decoration gets a graphicsview and scene instead and a declarative item is created for each decoration. There's probably still room for improvments. E.g. never render the scene onto the widget but directly into the textures?
-
Martin Flöser authored
Not really correct, but we can hardly check it.
-
Martin Flöser authored
-
Martin Flöser authored
-
Martin Flöser authored
We don't have the mask for the opaque version anyway, so it does not make any sense as for composited no mask was set.
-
Martin Flöser authored
-
Martin Flöser authored
-
Martin Flöser authored
What's working: * background for active and inactive decorations inclusive transitions * all buttons get loaded * transition between button states * all borders, paddings etc is working * mouse interaction with buttons and title area What's not yet working: * special maximize mode * mouse wheel on title area * window tabs * changing themes * crash resistence (currently a not compiling QML file crashes KWin badly) * window/blur mask (tricky - we need the alpha mask of the background SVG) What's going to be dropped: * special opaque mode * decoration position at left/right/bottom instead of top Why? Because nobody uses these features
-
Martin Flöser authored
-
Martin Flöser authored
Now we cannot see anything any more, but hey it compiles :-)
-
Martin Flöser authored
-
- 05 Dec, 2011 1 commit
-
-
Thomas Lübking authored
destroying the scene in the same event cycle BUG: 242116 REVIEW: 103336
-
- 16 Jan, 2011 2 commits
-
-
Martin Flöser authored
CCBUG: 249681 svn path=/trunk/KDE/kdebase/workspace/; revision=1214768
-
Martin Flöser authored
BUG: 249681 FIXED-IN: 4.6.0 svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1214767
-
- 10 Nov, 2010 1 commit
-
-
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
-
- 21 Oct, 2010 1 commit
-
-
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 Jun, 2010 1 commit
-
-
Martin Flöser authored
Defer deletion of the AuroraeScene and View to the next event loop. It is possible that the scene get's deleted before processing mouse events is finished which causes crashes. BUG: 242165 FIXED-IN: 4.5.0 CCBUG: 241876 CCBUG: 242116 svn path=/trunk/KDE/kdebase/workspace/; revision=1139942
-