Commit graph

6917 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
935b40d436 Use KGlobalSettings::graphicEffectsLevel in conjunction with OxygenConfiguration to
determine if animations should be enabled.

This allows to turn off all animations if the "graphical effects" combobox in
"systemsettings->appearance->style->fine tunning" is set to either
- Low display resolution and low CPU
- High display resolution and low CPU

BUG: 226668

svn path=/trunk/KDE/kdebase/workspace/; revision=1090208
2010-02-14 21:59:14 +00:00
Script Kiddy
bb061e1e72 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=1089061

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

M	wallpapers/Evening/metadata.desktop
2010-02-12 10:55:37 +00:00
Hugo Pereira Da Costa
ce74308765 added checkbox to enable/disable decoration animations
svn path=/trunk/KDE/kdebase/workspace/; revision=1088959
2010-02-12 01:18:46 +00:00
Hugo Pereira Da Costa
fa03ee04a2 condition tabbing animations to the 'useAnimation' flag, for consistancy with other animations. begin and final animation states are kept visually unchanged. Only the smooth transition between the two is disabled.
svn path=/trunk/KDE/kdebase/workspace/; revision=1088957
2010-02-12 01:14:43 +00:00
Hugo Pereira Da Costa
c896faa443 re-enabled title transition animation. Add animation 'lock' in case title is changed to frequently (e.g. in kmail/thunderbird new mail window). Set the lock duration to 300 milliseconds.
svn path=/trunk/KDE/kdebase/workspace/; revision=1088954
2010-02-12 00:42:25 +00:00
Lucas Murray
fd47ff5332 Revert r1082246 as it needs to be done in CompositingPrefs::detect()
to work correctly but as doing it there defeats the purpose of moving
the code to begin with there's no point in moving it.
BUG: 226049

svn path=/trunk/KDE/kdebase/workspace/; revision=1088054
2010-02-10 02:53:33 +00:00
Hugo Pereira Da Costa
58b8722a6b fixed calculation of title bounding rects when there is only one title being shown, to avoid issues when smooth title transition is enabled
svn path=/trunk/KDE/kdebase/workspace/; revision=1088001
2010-02-09 23:07:34 +00:00
Luboš Luňák
a2f94886d0 remove now unused variable
svn path=/trunk/KDE/kdebase/workspace/; revision=1087538
2010-02-09 10:39:18 +00:00
Xavier Vello
070555e59e Commit patch from SlashDevDsp fixing #223515
crashed kcmkwin/kwindecoration

No need to backport to 4.4


svn path=/trunk/KDE/kdebase/workspace/; revision=1087519
2010-02-09 09:54:27 +00:00
Andrew Coles
333774e31c Proof-reading - don't put spaces before punctuation like this.
svn path=/trunk/KDE/kdebase/workspace/; revision=1086587
2010-02-07 18:12:44 +00:00
Script Kiddy
a7c1ee2018 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1086434
2010-02-07 11:47:57 +00:00
Bruno de Oliveira Abinader
e469dea789 Updated Kwin desktop on-screen display animations to use QPropertyAnimation
svn path=/trunk/KDE/kdebase/workspace/; revision=1086330
2010-02-06 22:41:34 +00:00
Script Kiddy
39829f28e0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1085566

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/Ethais/metadata.desktop
M	wallpapers/Evening/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/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2010-02-05 13:31:20 +00:00
Bernhard Beschow
d6c7489792 fix compilation when KDE4_ENABLE_FINAL=ON
svn path=/trunk/KDE/kdebase/workspace/; revision=1085235
2010-02-04 17:48:24 +00:00
Christophe Giboudeaux
a316811db0 Also let scripty replace the 'name' translations.
svn path=/trunk/KDE/kdebase/workspace/; revision=1085082
2010-02-04 10:59:45 +00:00
Christophe Giboudeaux
5f79d4d407 Let scripty handle the translations.
svn path=/trunk/KDE/kdebase/workspace/; revision=1085077
2010-02-04 10:56:18 +00:00
Christophe Giboudeaux
a10818af7c save as utf-8. fixes a packaging error.
svn path=/trunk/KDE/kdebase/workspace/; revision=1085009
2010-02-04 10:14:18 +00:00
Martin Gräßlin
3470845dcf Replace do_show with !noBorder(). This should prevent a crash in conjunction with Plasma netbook.
I think it's too late in the cycle to backport to 4.4.0 so if it does not cause any other problems, I will backport to 4.4 branch.
(In case I forget to backport as I am busy with non-kwin issues, please remind me in the bugreport)
Thanks to Thomas Leineweber for providing the patch and investigating the issue.
BUG: 221868

svn path=/trunk/KDE/kdebase/workspace/; revision=1084748
2010-02-03 17:43:47 +00:00
Hugo Pereira Da Costa
5a852ac75b make sure that the (hidden) useAnimation flag also disables button hover animated glow
svn path=/trunk/KDE/kdebase/workspace/; revision=1084320
2010-02-02 21:55:56 +00:00
Roman Shtylman
20650bc139 oops. accidental git commit with lib symlink
svn path=/trunk/KDE/kdebase/workspace/; revision=1083876
2010-02-02 06:04:21 +00:00
Roman Shtylman
eeb83912de symlink for git repos
svn path=/trunk/KDE/kdebase/workspace/; revision=1083873
2010-02-02 05:43:28 +00:00
Lucas Murray
51168e97a4 Keep the logout effect active until KWin is killed or the user cancels
the logout by using new information provided by KSMServer; Allow effects
to read and detect root window property notify events.

svn path=/trunk/KDE/kdebase/workspace/; revision=1083335
2010-02-01 07:44:27 +00:00
Hugo Pereira Da Costa
b674835c6c added needed metaData to name people behind oxygen-windeco. Feel free to correct directly or contact me, if I missed someone, or miss-typed any information (no offense meant)
svn path=/trunk/KDE/kdebase/workspace/; revision=1083308
2010-02-01 01:48:37 +00:00
Lucas Murray
2a34e440f5 Change the location where LIBGL_ALWAYS_INDIRECT is set and add some
useful documentation about when it is used and why it is required.

svn path=/trunk/KDE/kdebase/workspace/; revision=1082246
2010-01-30 08:27:24 +00:00
Martin Gräßlin
12efb634f0 Fix forward declaration.
svn path=/trunk/KDE/kdebase/workspace/; revision=1081957
2010-01-29 12:38:20 +00:00
Martin Gräßlin
25852b6eaa Aurorae uses a QPropertyAnimation for the animation instead of Plasma::Animator::customAnimation.
deprecatedCode--

svn path=/trunk/KDE/kdebase/workspace/; revision=1081956
2010-01-29 12:37:42 +00:00
Martin Gräßlin
b15fc9e1d9 Aurorae supports drawing a halo behind the window title.
New options in General section of config file: HaloActive and HaloInactive. Default to off.
FEATURE: 224011

svn path=/trunk/KDE/kdebase/workspace/; revision=1081745
2010-01-29 09:19:45 +00:00
Lucas Murray
fc0633fae3 If the loaded decoration library isn't a valid decoration load the
default decoration instead of dying.
CCBUG: 224440

svn path=/trunk/KDE/kdebase/workspace/; revision=1081285
2010-01-28 04:11:13 +00:00
Hugo Pereira Da Costa
3027731686 Added shadeMode synchronization between client and target when attempting to add a client to a group. Triggers target decoration repaint when adding the client
to the group fails, in order to make sure that hove animations are reset properly.
BUG: 223726

svn path=/trunk/KDE/kdebase/workspace/; revision=1081273
2010-01-28 03:23:09 +00:00
Aaron J. Seigo
7c284cb3e1 same duration as used in Plasma::ItemBackground; smoother and more consistent for bonus
svn path=/trunk/KDE/kdebase/workspace/; revision=1081170
2010-01-27 21:23:42 +00:00
Hugo Pereira Da Costa
b02f1c6d7e use selectionModel selectionChanged() signal to trigger decoration change, rather than activate
svn path=/trunk/KDE/kdebase/workspace/; revision=1081165
2010-01-27 21:09:04 +00:00
Hugo Pereira Da Costa
0917db504e Added/moved itemData_.setDirty() calls to make sure clientgroupitems are reset properly in
all cases, including when the clientGroup modification request (add,remove, ...) fails.
CCBUG: 223726

svn path=/trunk/KDE/kdebase/workspace/; revision=1081125
2010-01-27 20:10:33 +00:00
Hugo Pereira Da Costa
49deef6c2e fixed vertical positioning of window background
svn path=/trunk/KDE/kdebase/workspace/; revision=1080859
2010-01-27 05:27:20 +00:00
Martin Gräßlin
8cefa7e493 Do a full repaint at end of sliding popups animation and when a window gets deleted to remove artefacts.
As the effect is doing full repaints all the time due to PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS this one extra repaint doesn't matter.
BUG: 215400

svn path=/trunk/KDE/kdebase/workspace/; revision=1080634
2010-01-26 15:57:40 +00:00
Martin Gräßlin
17ea2bf146 setTabBoxWindow causes the ItemInfo to be regenerated, so we have to break the loop after finding a window.
Makes more sense anyway as we do not have to go through the hash to find the item we already found.
BUG: 222120

svn path=/trunk/KDE/kdebase/workspace/; revision=1080616
2010-01-26 15:26:48 +00:00
Laurent Montel
2b6628b7f6 Fix ui files
svn path=/trunk/KDE/kdebase/workspace/; revision=1080553
2010-01-26 12:27:15 +00:00
Friedrich W. H. Kossebau
4750a5c42b changed: made static const data symbols really static const
svn path=/trunk/KDE/kdebase/runtime/kstyles/; revision=1080302
2010-01-26 02:57:09 +00:00
Lucas Murray
8960c552d2 Remove OpenGL driver whitelist; Add protection against crashy glXQuery
functions and share the value with the KCM; Fallback to XRender
compositing if OpenGL fails to work correctly; Rearrange setting order
in options.h slightly and fix variable names

svn path=/trunk/KDE/kdebase/workspace/; revision=1079919
2010-01-25 10:02:08 +00:00
Hugo Pereira Da Costa
c04cc31fa2 fixed title bounding rect conflict with window buttons when dragging a tab away from (or back in) a 2-tabs window, with the second tab title being very long
svn path=/trunk/KDE/kdebase/workspace/; revision=1078906
2010-01-23 06:59:55 +00:00
Hugo Pereira Da Costa
4874785fb4 revert r1078325 and moves the handling of Maximize state changes when
un-grouping windows to clientgroup.cpp. Ensures that Client::maximize( 
MaximizeRestore ) is called when appropriate to avoid decoration artifacts.
BUG: 223060

svn path=/trunk/KDE/kdebase/workspace/; revision=1078877
2010-01-23 03:41:39 +00:00
Jorge Emilio Mata
cc8cc5d098 Don't remove the shortcut from the database, just set the keybinding to
none when using only modifiers.


svn path=/trunk/KDE/kdebase/workspace/; revision=1078339
2010-01-22 05:01:05 +00:00
Lucas Murray
f9a5876ac9 Don't auto-group transient windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=1078327
2010-01-22 03:13:18 +00:00
Hugo Pereira Da Costa
346bcc30d3 Force update of decoration pixmap in setGeometry when maximize state is changed even if the size is
not, to handle changes in decoration pixelMetrics right.
BUG: 223060

svn path=/trunk/KDE/kdebase/workspace/; revision=1078325
2010-01-22 02:50:33 +00:00
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