Commit Graph

7024 Commits (ebea86ba3ca71ad1735ca599fceb9335c99755b4)

Author SHA1 Message Date
Hugo Pereira Da Costa f13d25a8df Fixed calculation on drag distance in Client::handleMoveResize to properly handle decoration padding, consistently with calculation of
"moveOffset" in Client::processDecorationButtonPress (in events.cpp).

BUG: 223366


svn path=/trunk/KDE/kdebase/workspace/; revision=1078291
2010-01-21 23:09:07 +00:00
Jorge Emilio Mata 302a245d0e track mouse effect: provide configurable keyboard shortcut
Bug 163491


svn path=/trunk/KDE/kdebase/workspace/; revision=1078102
2010-01-21 14:56:24 +00:00
Laurent Montel 29924ef978 Fix ui files
svn path=/trunk/KDE/kdebase/workspace/; revision=1077432
2010-01-20 08:11:54 +00:00
Martin Gräßlin ba25fe8ce3 Fix a crash when clicking ok in the configure decoration dialog.
svn path=/trunk/KDE/kdebase/workspace/; revision=1077309
2010-01-19 22:28:53 +00:00
Martin Gräßlin 923d1a3778 Use scroll per pixel to scroll through the list of decorations
svn path=/trunk/KDE/kdebase/workspace/; revision=1077295
2010-01-19 22:10:16 +00:00
Martin Gräßlin 19637c1803 Fix individual button width for the help button.
svn path=/trunk/KDE/kdebase/workspace/; revision=1077223
2010-01-19 18:27:25 +00:00
Martin Gräßlin e92659acbf Replacing remaining tabs in kwindecoration.(h|cpp) by whitespaces to match KWin's coding style.
(Also removing indentation remark for kate)
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1077152
2010-01-19 13:56:57 +00:00
Martin Gräßlin c9df18ab98 New decoration kcm:
* Displays list with previews instead of a dropdown with just the name.
* Configuration is moved into an own dialog accessible via a configure button for each decoration
* Button configuration is moved into a dialog, by that the tabs are removed
* Aurorae themes are listed just like normal decorations
* GHNS support to download Aurorae themes
* Semi-live preview of changed: when configure dialog is closed the preview is updated
* About Dialog added for each decoration (needs updates in desktop files - the information is missing)

svn path=/trunk/KDE/kdebase/workspace/; revision=1077141
2010-01-19 13:44:22 +00:00
Martin Gräßlin f5dd7d7185 Don't manage new windows which should not be shown in desktop grid (such as panels).
svn path=/trunk/KDE/kdebase/workspace/; revision=1076727
2010-01-18 19:06:09 +00:00
Martin Gräßlin b11f81c5fc Do not activate desktop grid while it is still moving back windows in present windows mode from last usage.
BUG: 223234

svn path=/trunk/KDE/kdebase/workspace/; revision=1076719
2010-01-18 18:45:42 +00:00
Hugo Pereira Da Costa f308728d7d fixed compilation warning about 'virtual' signals
svn path=/trunk/KDE/kdebase/workspace/; revision=1075993
2010-01-17 08:07:13 +00:00
Hugo Pereira Da Costa 352a2de89a always store dragpoint in mousePressEvent, disregarding the button;
reset mouseButton_ in mouseMoveEvent only if action is actually taken.
CCBUG 221997

svn path=/trunk/KDE/kdebase/workspace/; revision=1075951
2010-01-17 03:02:44 +00:00
Martin Gräßlin fb8fc3001b Do not add NULL effect windows to the motion manager.
BUG: 222193

svn path=/trunk/KDE/kdebase/workspace/; revision=1073247
2010-01-11 21:24:00 +00:00
Martin Gräßlin 26555f6aa7 Only react on tabbox key events in present windows if the effect is activated.
svn path=/trunk/KDE/kdebase/workspace/; revision=1073187
2010-01-11 20:01:25 +00:00
Hugo Pereira Da Costa e2240a8427 Do not activate button pressed animation when no action is triggered when doing so (e.g right button press on Window-Close)
svn path=/trunk/KDE/kdebase/workspace/; revision=1073152
2010-01-11 18:32:56 +00:00
Lucas Murray df2b3170cb Fix conflicts with sliding popups, fade, fall apart, scale in and
explosion by using EffectWindow::data() instead of proxies.
BUG: 222168

svn path=/trunk/KDE/kdebase/workspace/; revision=1072837
2010-01-11 04:52:19 +00:00
Martin Gräßlin e32fd9e0cd Use kwin icon in the killer helper window.
BUG: 210172

svn path=/trunk/KDE/kdebase/workspace/; revision=1072707
2010-01-10 19:32:57 +00:00
Martin Gräßlin c3476f0345 Add a new option to cube animation to trigger rotating the cube while moving a window towards the screen edge.
The cube starts to rotate before the desktop switches due to active desktop border change. This gives the impression that you drag the cube by moving the window. Of course option is only useful when switching desktop on screen edge is enabled and so this feature is disabled by default.

svn path=/trunk/KDE/kdebase/workspace/; revision=1072640
2010-01-10 15:51:02 +00:00
Hugo Pereira Da Costa 0e62916ccd Display client menu on mouse press in the oxygen decoration.
BUG: 221997


svn path=/trunk/KDE/kdebase/workspace/; revision=1072370
2010-01-10 03:47:25 +00:00
Lucas Murray 851b833293 Display client menu on mouse press in the Tabstrip decoration; Correct
handling of tab close button events; Prevent a crash when a decoration
requests the client menu of an invalid tab index.
CCBUG: 221997

svn path=/trunk/KDE/kdebase/workspace/; revision=1072365
2010-01-10 03:36:51 +00:00
Hugo Pereira Da Costa e2bd296cf7 Prevent closing of tab when tab closeButton mouseReleaseEvent occurs outside of the button rect.
svn path=/trunk/KDE/kdebase/workspace/; revision=1072363
2010-01-10 03:29:07 +00:00
Lucas Murray b90acadcc9 Don't allow quick tiling for windows that cannot be resized.
svn path=/trunk/KDE/kdebase/workspace/; revision=1072080
2010-01-09 11:48:54 +00:00
Lucas Murray c8e9de08f6 Make quick maximize activation zone smaller to prevent accidental
activations.

svn path=/trunk/KDE/kdebase/workspace/; revision=1072075
2010-01-09 11:41:52 +00:00
Martin Gräßlin bdbcd60b4f When there is no window, we can't select one with a mouse click in coverswitch.
BUG: 221626

svn path=/trunk/KDE/kdebase/workspace/; revision=1072044
2010-01-09 10:36:31 +00:00
Lucas Murray 72cea7e73a Rename the "allow moving and resizing of maximized windows" setting to
"display borders on maximized windows" to more accurately describe what
the setting does.
BUG: 217775

svn path=/trunk/KDE/kdebase/workspace/; revision=1072014
2010-01-09 10:04:58 +00:00
Lucas Murray 41e5bfd793 Change how quick tiling and maximization is activated slightly. Instead
of using electric borders just check the location of the cursor; if the
cursor is near the edge enable the resize snap. This makes the features
easier to activate, removes the conflict with desktop switching and
allows the features to be used completely on multi-screen systems.
Patch inspired by one from Marcel Schaal.
BUG: 218957

svn path=/trunk/KDE/kdebase/workspace/; revision=1071996
2010-01-09 09:49:52 +00:00
Hugo Pereira Da Costa f98c1f875c added dedicated option to enable/disable window title change animation, and disabled it by default.
It can be reenabled by adding "AnimateTitleChange=true" in oxygenrc under [Windeco].


svn path=/trunk/KDE/kdebase/workspace/; revision=1070564
2010-01-06 01:42:38 +00:00
Script Kiddy dbd6893528 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1070321
2010-01-05 10:43:27 +00:00
Martin Gräßlin 608f5fab7a Fixing some regressions in the layout preview widget introduced due to the animation.
This change also includes some visual updates which fixes the black corners issue for non composited tabbox (no idea why), the hughe black border in the prview is still visible (also no idea why).

svn path=/trunk/KDE/kdebase/workspace/; revision=1070114
2010-01-04 22:24:30 +00:00
Martin Gräßlin 10e6e014d9 Improvments to the item animation and to the painting (inspired by krunner).
svn path=/trunk/KDE/kdebase/workspace/; revision=1070080
2010-01-04 20:17:59 +00:00
Hugo Pereira Da Costa 4b7cfcf660 use QWeakPointer in place of QPointer
svn path=/trunk/KDE/kdebase/workspace/; revision=1069995
2010-01-04 17:00:21 +00:00
Hugo Pereira Da Costa e49597ecd3 use QPropertyAnimation instead of QTimeLine to handle transitions
svn path=/trunk/KDE/kdebase/workspace/; revision=1069986
2010-01-04 16:42:46 +00:00
Script Kiddy 42b531ac78 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1069851

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

M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
2010-01-04 10:25:36 +00:00
Fredrik Höglund 955654560d Don't draw shadows under windows that have the _KDE_SHADOW_OVERRIDE
property set.

svn path=/trunk/KDE/kdebase/workspace/; revision=1069543
2010-01-03 17:59:27 +00:00
Fredrik Höglund b95c6f721c Make it possible for effects to store arbitrary data in EffectWindow.
svn path=/trunk/KDE/kdebase/workspace/; revision=1069539
2010-01-03 17:50:38 +00:00
André Wöbbeking ab85881232 error: ISO C++ forbids variable length array
use QVarLengthArray instead

svn path=/trunk/KDE/kdebase/workspace/; revision=1069536
2010-01-03 17:26:27 +00:00
Martin Gräßlin f3dbf99a9d List screen edges kcm in "Configure window behaviour".
svn path=/trunk/KDE/kdebase/workspace/; revision=1069509
2010-01-03 15:43:18 +00:00
Martin Gräßlin ac8dc8b07f Small improvements to the layout of the entries of tabbox list.
* list is vertically centered
 * items are stretched to fit the width

svn path=/trunk/KDE/kdebase/workspace/; revision=1069444
2010-01-03 14:41:25 +00:00
Martin Gräßlin e4062507f3 Fix a regression compared to 4.3: animating the selection in classic tabbox
svn path=/trunk/KDE/kdebase/workspace/; revision=1069406
2010-01-03 12:11:25 +00:00
Script Kiddy 051ac73ecc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1068962

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2010-01-02 11:35:49 +00:00
Christoph Feck cd8e1f3263 Use correct font and colors
svn path=/trunk/KDE/kdebase/workspace/; revision=1068792
2010-01-02 01:30:11 +00:00
Chusslove Illich 01509bc590 i18n: disambiguations for "desktop" and "toolbar" in KCMs.
svn path=/trunk/KDE/kdebase/workspace/; revision=1068791
2010-01-02 01:27:55 +00:00
Chusslove Illich 0a497dfcec i18n: added disambiguation contexts to "none", "enabled" and "disabled" in KCMs.
Due to sharing of translation space in KCMs, translations for these strings were
randomly fetched from all over the place, including base kdelibs catalogs.

svn path=/trunk/KDE/kdebase/workspace/; revision=1068781
2010-01-02 01:01:42 +00:00
Martin Gräßlin 14b7540b26 It's possible that there is no active window when activating present windows for a window class. In that case do not activate the effect.
BUG: 220916

svn path=/trunk/KDE/kdebase/workspace/; revision=1068693
2010-01-01 20:45:40 +00:00
Martin Gräßlin 061a6d7642 Do not install the example aurorae theme - it is too ugly for being shipped by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=1068534
2010-01-01 12:53:10 +00:00
Martin Gräßlin c92e314c9f Do not abort if the Aurorae theme could not be loaded. So a missing theme will result in a translucent decoration and not in a crashing kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=1068533
2010-01-01 12:47:48 +00:00
Martin Gräßlin 82093ae630 Only load the decoration texture if the decoration pixmap is not null.
This resulted in a crash with Qt 4.6 when accessing the pixmap handle.
BUG: 213507

svn path=/trunk/KDE/kdebase/workspace/; revision=1068519
2010-01-01 11:57:06 +00:00
Script Kiddy 7f9f60d6b9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1068486

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2010-01-01 11:09:03 +00:00
Martin Gräßlin d651d18791 Correctly manage windows on all desktops when using present windows in desktop grid.
That is remove the window from all desktops on drag begin and attach the window to the mouse cursor. On release add them back to all desktop.
That way it's possible to move pinned windows to other screens and it fixes a crash.
BUG: 220582

svn path=/trunk/KDE/kdebase/workspace/; revision=1068482
2010-01-01 11:04:27 +00:00
Martin Gräßlin b5d60c4711 Correctly compare number of desktops. That fixes a problem that you couldn't click on a window on the last desktop in desktop grid.
svn path=/trunk/KDE/kdebase/workspace/; revision=1068406
2010-01-01 10:24:20 +00:00