Commit graph

6849 commits

Author SHA1 Message Date
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
Maks Orlovich
3073e12f4e Fix symbol clash on ConfigDialog between this and systemsettings
which makes it crash on trying to open this kcm with plastik deco active 
and non-hidden-visibility build

svn path=/trunk/KDE/kdebase/workspace/; revision=1068280
2009-12-31 18:21:15 +00:00
Script Kiddy
63697902e3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1068118

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Code_Poets_Dream/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/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
2009-12-31 11:34:58 +00:00
Andrew Coles
b1105d143f Fixed typo (missing capital letter) reported by marce. Will introduce one new string tomorrow.
CCMAIL: kde-i18n-doc@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=1067511
2009-12-29 18:14:59 +00:00
Jan Gerrit Marker
2f05afa150 Add an icon to the specific window settings dialog. It takes the same icon as the contextual menu uses.
svn path=/trunk/KDE/kdebase/workspace/; revision=1067398
2009-12-29 14:35:53 +00:00
Script Kiddy
d11c82c3fe SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1067354

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-12-29 12:23:43 +00:00
Martin Gräßlin
235c01e6a7 Remove the duration spin box in the present windows config as this setting is unused in present windows.
BUG: 220281

svn path=/trunk/KDE/kdebase/workspace/; revision=1066692
2009-12-27 18:51:57 +00:00
Urs Wolfer
32b64df71b Fix issues (and port away from {QT,KDE}3SUPPORT (makes more sense IMHO than fixing Qt 3 support code, even when we are in freeze)):
* re-add icons in list widget
* fix broken coloring of text and icon in list widget when button is unsupported
* fix icon alpha channel issues (list widget and drag icon)
* use more suitable colors (btw, nice comment: // KDE 2 titlebar default colour)

* Q3StoredDrag -> QMimeData
* K3ListView -> QListWidget

svn path=/trunk/KDE/kdebase/workspace/; revision=1066614
2009-12-27 14:59:39 +00:00
Hugo Pereira Da Costa
6a26dba2e0 Removed button area from grabbed pixmap in non-outline mode, for consistency
svn path=/trunk/KDE/kdebase/workspace/; revision=1066551
2009-12-27 12:00:23 +00:00
Urs Wolfer
d73958d737 QT3_SUPPORT--
svn path=/trunk/KDE/kdebase/workspace/; revision=1066287
2009-12-26 16:57:26 +00:00
Lucas Murray
0b37a8a9c2 Only apply the sliding popups desktop effect to deleted windows that
it's supposed to instead of all of them.

svn path=/trunk/KDE/kdebase/workspace/; revision=1066145
2009-12-26 02:44:34 +00:00
Script Kiddy
ffd49a14b4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1065981

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

M	wallpapers/Air/metadata.desktop
2009-12-25 09:48:01 +00:00
Lucas Murray
d907939445 Add return values to client group decoration functions that can safely
work when the window isn't in a client group at all.
BUG: 218086

svn path=/trunk/KDE/kdebase/workspace/; revision=1065963
2009-12-25 03:06:54 +00:00
Lucas Murray
fc86648f7e Fix Workspace::takeActivity() logic relating to client groups.
BUG: 219894

svn path=/trunk/KDE/kdebase/workspace/; revision=1065960
2009-12-25 02:37:27 +00:00
Markus Meik Slopianka
dfb4e8970a Fix missing icons
svn path=/trunk/KDE/kdebase/workspace/; revision=1065925
2009-12-24 21:51:32 +00:00
Lucas Murray
187d26a641 If both quick maximization and "allow moving and resizing of maximized
windows" are enabled then don't instantly restore maximized windows when
they are dragged.
BUG: 219952

svn path=/trunk/KDE/kdebase/workspace/; revision=1065887
2009-12-24 16:30:07 +00:00
Luboš Luňák
b602adb21c fix enable final compile
svn path=/trunk/KDE/kdebase/workspace/; revision=1065512
2009-12-23 13:52:33 +00:00
Lucas Murray
e5f84879f6 Show inactive tab windows in flip switch.
svn path=/trunk/KDE/kdebase/workspace/; revision=1065326
2009-12-23 02:04:25 +00:00
Lucas Murray
c8a086a855 Show inactive tab windows in present windows when triggered by alt+tab.
svn path=/trunk/KDE/kdebase/workspace/; revision=1065325
2009-12-23 02:01:12 +00:00
Lucas Murray
7d897b7d3f Added PAINT_DISABLED_BY_CLIENT_GROUP. Allow highlighting of inactive tab
windows in box switch.

svn path=/trunk/KDE/kdebase/workspace/; revision=1065321
2009-12-23 01:44:23 +00:00
Lucas Murray
ae3ef3f765 Allow the quick tiling keyboard shortcuts to move the window between
Xinerama screens.

svn path=/trunk/KDE/kdebase/workspace/; revision=1065319
2009-12-23 01:36:44 +00:00
Martin Gräßlin
738917e603 Put TabBox Preview widget into a scroll area so that the window does not size to infinity.
BUG: 219716
CCBUG: 207325

svn path=/trunk/KDE/kdebase/workspace/; revision=1065225
2009-12-22 19:41:20 +00:00
Martin Gräßlin
11d53b7b09 Add a safety check to desktop grid for the case that you click on an area where there is no desktop.
That case needs some more improvement as it zooms to the black area and suddenly replaces the screen with the actual windows.
BUG: 219721

svn path=/trunk/KDE/kdebase/workspace/; revision=1065215
2009-12-22 19:02:51 +00:00
Martin Gräßlin
5f6a6cac67 Show minimized windows in desktop grid with present windows and fade them in/out during the start animation.
BUG: 219595

svn path=/trunk/KDE/kdebase/workspace/; revision=1064812
2009-12-21 21:04:18 +00:00
Martin Gräßlin
cb51fbb14c All desktops needs to check for application mode as well as for window mode.
BUG: 219563

svn path=/trunk/KDE/kdebase/workspace/; revision=1064722
2009-12-21 15:11:49 +00:00
Script Kiddy
134ed3edac SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1064624

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

M	wallpapers/Air/metadata.desktop
2009-12-21 10:16:23 +00:00