Commit graph

7014 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
99a0cddd77 Reduce cache size and truncate opacity settings for shadow focus transition, based on the
animation durations. For default duration (200msec), this reduces the size of the cache by about a 
factor 10, and still corresponds to a 120Hz frame rate.

BUG: 234187




svn path=/trunk/KDE/kdebase/workspace/; revision=1114935
2010-04-14 22:21:08 +00:00
Martin Gräßlin
c9ccedb810 Update the tab-order when adding a new desktop in kcmdesktop.
Thanks to Jeffery MacEachern for the patch.

svn path=/trunk/KDE/kdebase/workspace/; revision=1114497
2010-04-13 18:50:03 +00:00
Martin Gräßlin
11aeee10d5 Option to not dim kept above windows in dim inactive effect.
Thanks to Jin Liu for providing the patch.
FEATURE: 233639

svn path=/trunk/KDE/kdebase/workspace/; revision=1114493
2010-04-13 18:42:05 +00:00
Martin Gräßlin
1bcd9fe4f6 Import of new Aurorae based on QGraphicsView and KDecoration instead of KCommonDecoration.
It should support everything the old engine supported. Only known regression is the lack of tooltips.
Now finally Aurorae is ready to get window tab support \o/

svn path=/trunk/KDE/kdebase/workspace/; revision=1114115
2010-04-12 19:28:58 +00:00
Script Kiddy
d1570bbde0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1112774

The following changes were in SVN, but were removed from git:

M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
2010-04-09 07:02:29 +00:00
Hugo Pereira Da Costa
c9490235cd fixed background positionning when title bar is hidden
svn path=/trunk/KDE/kdebase/workspace/; revision=1112325
2010-04-07 21:23:38 +00:00
Script Kiddy
6ffa8df90f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1112036
2010-04-07 06:38:59 +00:00
Martin Gräßlin
bf4a2c00d9 Compositing settings have to be read if compositing is enforced by the environment variable.
BUG: 231851

svn path=/trunk/KDE/kdebase/workspace/; revision=1109536
2010-03-31 12:29:04 +00:00
Script Kiddy
fefa3a5d2f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1108927
2010-03-30 05:43:45 +00:00
Hugo Pereira Da Costa
1ef8be34a4 Properly account for decoration padding when calculating mousePosition in buttonReleaseEvent.
CCBUG: 231844

svn path=/trunk/KDE/kdebase/workspace/; revision=1108849
2010-03-29 22:09:53 +00:00
Hugo Pereira Da Costa
6fe694c38f Properly account for decoration padding when calculating mousePosition in window, needed to
decide cursor shape.
BUG: 231844

svn path=/trunk/KDE/kdebase/workspace/; revision=1108844
2010-03-29 21:57:05 +00:00
Script Kiddy
b0b69a6b7c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1108501
2010-03-29 05:39:18 +00:00
Martin Gräßlin
8f82499f21 Add a plasma based widget to add and remove desktops in desktop grid.
svn path=/trunk/KDE/kdebase/workspace/; revision=1108240
2010-03-28 09:05:36 +00:00
Martin Gräßlin
ec8d860c4b Allow effects to change the number of desktops and inform effects when the number of desktops is changed.
svn path=/trunk/KDE/kdebase/workspace/; revision=1108239
2010-03-28 09:04:14 +00:00
Martin Gräßlin
40a2bebe67 Ensure that width*height is not smaller than the number of desktops when setting a new layout.
svn path=/trunk/KDE/kdebase/workspace/; revision=1108238
2010-03-28 09:02:10 +00:00
Laurent Montel
eb0a8f02b6 we use QT>= 4.6 in kde >= 4.4
svn path=/trunk/KDE/kdebase/workspace/; revision=1107623
2010-03-26 09:50:30 +00:00
Hugo Pereira Da Costa
e3aefe524a fixed gradient ranges to avoid warning from Qt at runtime
svn path=/trunk/KDE/kdebase/workspace/; revision=1107187
2010-03-25 01:02:05 +00:00
Hugo Pereira Da Costa
49411bcda5 Added checkbox to disable shadow drawing (as a replacement to setting shadow size to zero), consistently with the checkbox used to
disable the active window glow.


svn path=/trunk/KDE/kdebase/workspace/; revision=1107183
2010-03-25 00:51:27 +00:00
Hugo Pereira Da Costa
f0e2ceab7d reorganized button painting code to avoid code duplication
svn path=/trunk/KDE/kdebase/workspace/; revision=1107181
2010-03-25 00:45:33 +00:00
Script Kiddy
4034b461a8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1106912
2010-03-24 06:57:45 +00:00
Script Kiddy
91c49055b3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1106528
2010-03-23 06:52:40 +00:00
Fredrik Höglund
e075890c28 Rename _KDE_NET_WM_BLUR_REGION to _KDE_NET_WM_BLUR_BEHIND_REGION.
svn path=/trunk/KDE/kdebase/workspace/; revision=1106457
2010-03-22 22:03:32 +00:00
Martin Gräßlin
cb7c271768 Hide modal dialogs in desktop grid (pw mode) while moving the parent window.
svn path=/trunk/KDE/kdebase/workspace/; revision=1105756
2010-03-21 10:44:55 +00:00
Martin Gräßlin
782d08e0b0 Don't hover sticky windows as that cannot work.
BUG: 203086

svn path=/trunk/KDE/kdebase/workspace/; revision=1105593
2010-03-20 17:54:04 +00:00
Martin Gräßlin
f2e8fdf067 Use radiobuttons instead of checkboxes in opacity user actions menu.
Thanks to Glen Kaukola for the patch.
FEATURE: 227540

svn path=/trunk/KDE/kdebase/workspace/; revision=1105530
2010-03-20 13:58:19 +00:00
Martin Gräßlin
1d7eb98180 Use a correctly shaped snowflake. Thanks to Tim Climis to provide a better image.
FEATURE: 226908

svn path=/trunk/KDE/kdebase/workspace/; revision=1105521
2010-03-20 13:43:46 +00:00
Martin Gräßlin
471bd26634 Prevent modal dialogs to be shown twice in alt+tab list.
BUG: 230807
CCBUG: 228186

svn path=/trunk/KDE/kdebase/workspace/; revision=1105473
2010-03-20 11:05:02 +00:00
Martin Gräßlin
7277ec7450 Add optional desktop entry to alt+tab for minimizing all windows (show desktop).
FEATURE: 167644

svn path=/trunk/KDE/kdebase/workspace/; revision=1105144
2010-03-19 10:15:56 +00:00
Martin Gräßlin
551bcc2959 Do not show the desktop name when using a tabbox mode which only includes windows from current desktop. In that case the information is redundant as all windows are on the same desktop.
svn path=/trunk/KDE/kdebase/workspace/; revision=1104681
2010-03-18 09:54:03 +00:00
Martin Gräßlin
9a86e83d6e Set the transformed geometry in WindowMotionManager when a window is dropped to a desktop in grid. This way the window does not jump to a random position on mouse release.
svn path=/trunk/KDE/kdebase/workspace/; revision=1104672
2010-03-18 09:27:01 +00:00
Script Kiddy
3e4094ce72 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1104643

The following changes were in SVN, but were removed from git:

M	wallpapers/Ethais/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
2010-03-18 06:54:13 +00:00
Fredrik Höglund
8ce52d5cc0 Check if the decoration pixmaps need to be resized before resizing them.
svn path=/trunk/KDE/kdebase/workspace/; revision=1104070
2010-03-16 16:37:08 +00:00
Fredrik Höglund
e969813b4a Wait two seconds before deleting the scratch pixmap in the paint redirector
in case we need it again.

This should improve performance with drivers where creating pixmaps is
expensive.

svn path=/trunk/KDE/kdebase/workspace/; revision=1104069
2010-03-16 16:34:39 +00:00
Aaron J. Seigo
c83c168c16 'composit[e|ing]' is technical jargon; use the terminology we use elsewhere in the UI (particularly the config UI) consistently everywhere. tested on real life users(tm)
svn path=/trunk/KDE/kdebase/workspace/; revision=1103845
2010-03-16 01:17:36 +00:00
Martin Gräßlin
8d2178ad5d Correctly handle mouse clicks in TabBox when there is an additional view.
BUG: 226877

svn path=/trunk/KDE/kdebase/workspace/; revision=1103492
2010-03-15 08:39:40 +00:00
Martin Gräßlin
54c264bba0 Rearrange windows when the gemoetry changes in both pw and dg in pw mode.
BUG: 228829

svn path=/trunk/KDE/kdebase/workspace/; revision=1103206
2010-03-14 16:18:57 +00:00
Martin Gräßlin
42a0a12252 Use KDecorationOption::defaultTitleButtons(Left|Right) instead of hardcoding the strings in Aurorae theme config.
svn path=/trunk/KDE/kdebase/workspace/; revision=1103187
2010-03-14 15:35:14 +00:00
Martin Gräßlin
aaaaee7113 Do not paint windows as if it is being moved when only clicking on it in desktop grid.
This prevents that the window flickers on clicking them.
BUG: 229741

svn path=/trunk/KDE/kdebase/workspace/; revision=1103103
2010-03-14 10:55:55 +00:00
Script Kiddy
85d74ca3f9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1103058
2010-03-14 07:14:05 +00:00
Fredrik Höglund
f96b3645d5 Add missing files from the previous commit.
svn path=/trunk/KDE/kdebase/workspace/; revision=1102775
2010-03-13 15:08:40 +00:00
Fredrik Höglund
087f1a6fef Make the strength of the blur effect configurable.
svn path=/trunk/KDE/kdebase/workspace/; revision=1102771
2010-03-13 15:03:29 +00:00
Martin Gräßlin
66d770d821 Aurorae theme selection and GHNS is moved to the decoration kcm, so no need for the custom configuration interface.
svn path=/trunk/KDE/kdebase/workspace/; revision=1102679
2010-03-13 09:36:22 +00:00
Script Kiddy
1f72afc5bb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1102653
2010-03-13 07:05:13 +00:00
Fredrik Höglund
e71232cb39 Optimize the horizontal pass.
svn path=/trunk/KDE/kdebase/workspace/; revision=1102515
2010-03-12 18:29:16 +00:00
Fredrik Höglund
cd1f1ce623 Only blur the area below the window decoration if the application hasn't
set the _KDE_NET_WM_BLUR_REGION hint.

svn path=/trunk/KDE/kdebase/workspace/; revision=1102480
2010-03-12 16:47:45 +00:00
Fredrik Höglund
732c05b281 Bump the ABI for EffectWindow::decorationInnerRect().
svn path=/trunk/KDE/kdebase/workspace/; revision=1102477
2010-03-12 16:39:47 +00:00
Fredrik Höglund
7ad2203084 Expose the decoration inner rect to effects.
svn path=/trunk/KDE/kdebase/workspace/; revision=1102475
2010-03-12 16:33:01 +00:00
Fredrik Höglund
69ab6ec3b7 Use GL_CONSTANT_ALPHA instead of reducing the opacity in the fragment shader.
This makes the blending work correctly when the alpha bits are zero,
which is apparently the case with NVidia.

svn path=/trunk/KDE/kdebase/workspace/; revision=1102471
2010-03-12 16:10:57 +00:00
Fredrik Höglund
c82351488e Make sure that both the render target and the shader are valid
before using them.

svn path=/trunk/KDE/kdebase/workspace/; revision=1102465
2010-03-12 15:56:19 +00:00
Fredrik Höglund
7e68fc7c44 Use GL_BGRA instead of GL_RGBA when creating textures.
GL_BGRA is the native format, and should be faster since it doesn't
require any internal swizzling.

svn path=/trunk/KDE/kdebase/workspace/; revision=1102455
2010-03-12 15:17:01 +00:00