Commit graph

4957 commits

Author SHA1 Message Date
Luboš Luňák
e45c3073a0 Sync r803670 from oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=805133
2008-05-07 17:08:17 +00:00
Luboš Luňák
6527f9c0b6 Start counting 4.1 API versions from 20, to leave room for 4.0.
svn path=/trunk/KDE/kdebase/workspace/; revision=805092
2008-05-07 15:02:21 +00:00
Luboš Luňák
5efac21537 XRenderPicture, a wrapper around XRender's Picture, which
should act just like Picture, except for proper initialization
and resource freeing (i.e. it's sane and easy from C++ point of view).


svn path=/trunk/KDE/kdebase/workspace/; revision=805085
2008-05-07 14:43:13 +00:00
Luboš Luňák
b840fa0792 Disable copying by value for GLTexture, as it wouldn't work anyway.
CCMAIL: Rivo Laks <rivolaks@hot.ee>


svn path=/trunk/KDE/kdebase/workspace/; revision=805056
2008-05-07 13:05:46 +00:00
Luboš Luňák
6142ecbfe0 paintTransformedScreen() is broken, disable its usage.
svn path=/trunk/KDE/kdebase/workspace/; revision=805050
2008-05-07 12:54:23 +00:00
Script Kiddy
b06a38a3e0 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=804910

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

M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Emotion/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/Golden_Ripples/metadata.desktop
M	wallpapers/Green_Concentration/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2008-05-07 04:35:50 +00:00
Sebastian Kügler
cac8ff3072 Make sure m_Progress is always double. Fixes restoring of
windows for me. Minimizing still doesn't animate here. :/

If someone sees the same problem, please let me know. There
also seems to be something fishy with the desktopgrid --
it's not showing windows on inactive desktops, sliding
animation and the grid-zoomout expose this.

svn path=/trunk/KDE/kdebase/workspace/; revision=804806
2008-05-06 23:03:23 +00:00
Luboš Luňák
f9ce0427e8 Do not activate the effect with nothing to show.
svn path=/trunk/KDE/kdebase/workspace/; revision=804228
2008-05-05 11:58:53 +00:00
Luboš Luňák
4851bff561 Fix memory leak.
svn path=/trunk/KDE/kdebase/workspace/; revision=804132
2008-05-05 07:22:45 +00:00
Script Kiddy
aa6c0d74da SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=803885

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

M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Emotion/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/Golden_Ripples/metadata.desktop
M	wallpapers/Green_Concentration/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Skeeter_Hawk/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2008-05-04 12:26:15 +00:00
Sebastian Kügler
3258c2073f small cleanup
svn path=/trunk/KDE/kdebase/workspace/; revision=803714
2008-05-04 01:56:48 +00:00
Sebastian Kügler
075dfd549f Scale In plugin now uses TimeLine, also fade and scale in to
make it look slightly snazzier.

svn path=/trunk/KDE/kdebase/workspace/; revision=803710
2008-05-04 01:22:15 +00:00
Casper Boemann
2826653703 fix so that buttons also have correct bg color when colors are active
!= 
inactive

svn path=/trunk/KDE/kdebase/workspace/; revision=803685
2008-05-03 21:02:09 +00:00
Casper Boemann
9e6e735c86 save memery by drawing directly onto screen
and use the helper routine to correctly draw gradient behind buttons

svn path=/trunk/KDE/kdebase/workspace/; revision=803670
2008-05-03 19:41:10 +00:00
Laurent Montel
6c5accc2ea Not necessary
svn path=/trunk/KDE/kdebase/workspace/; revision=803598
2008-05-03 12:47:11 +00:00
Laurent Montel
d7ba78eb79 Fix forward declaration
svn path=/trunk/KDE/kdebase/workspace/; revision=803595
2008-05-03 12:39:31 +00:00
Laurent Montel
e0d3b3ec1a Fix ui file
svn path=/trunk/KDE/kdebase/workspace/; revision=803568
2008-05-03 11:48:00 +00:00
Sebastian Kügler
6e09b1ac64 Make the default animation duration a bit shorter, 800 is quite ok on this machine (with some tearing, an ATI driver problem apparently. But it's still quite smooth.
svn path=/trunk/KDE/kdebase/workspace/; revision=803468
2008-05-03 00:09:46 +00:00
Sebastian Kügler
a49ddd0c38 Don't repaint quite so often, especially not when not necessary.
svn path=/trunk/KDE/kdebase/workspace/; revision=803467
2008-05-03 00:09:44 +00:00
Sebastian Kügler
cc11082706 Keep internal time and progress accounting in sync. Spotted
by Martin Graesslin.

BUG: 161434
CCMAIL: ubuntu@martin-graesslin.com

svn path=/trunk/KDE/kdebase/workspace/; revision=803465
2008-05-02 23:30:17 +00:00
Sebastian Kügler
d09306ae55 Improve API docs of the TimeLine class.
CCMAIL: ubuntu@martin-graesslin.com

svn path=/trunk/KDE/kdebase/workspace/; revision=803464
2008-05-02 23:29:56 +00:00
Aike J. Sommer
2cfa81c2fc Allow desktop-type windows to only span one xrandr/mergedfb/xinerama-screen instead of all screens combined.
Forgot to remove QDesktopWidget includes, sorry!

svn path=/trunk/KDE/kdebase/workspace/; revision=803353
2008-05-02 16:39:49 +00:00
Aike J. Sommer
1819ad69b2 Allow desktop-type windows to only span one xrandr/mergedfb/xinerama-screen instead of all screens combined.
svn path=/trunk/KDE/kdebase/workspace/; revision=803349
2008-05-02 16:35:35 +00:00
Stephan Binner
c907b8acc1 i18n style guide fix
svn path=/trunk/KDE/kdebase/workspace/; revision=802656
2008-04-30 08:20:20 +00:00
Sebastian Kügler
5a955fbb97 Only scale in normal windows (!w->isSpecialWindow()).
svn path=/trunk/KDE/kdebase/workspace/; revision=802484
2008-04-29 16:20:48 +00:00
Sebastian Kügler
d35fe96770 Coverswitch: Fade windows not on the current desktop in and out
when the effect is started and stopped.

svn path=/trunk/KDE/kdebase/workspace/; revision=802483
2008-04-29 16:20:06 +00:00
Luboš Luňák
4f9cb481c2 Command-line args don't need explicit encoding.
svn path=/trunk/KDE/kdebase/workspace/; revision=802405
2008-04-29 09:13:00 +00:00
Luboš Luňák
1e114cd7ee I agree that 'To Desktop' submenu should be above 'Opacity', not quite
sure above being above 'Advanced', but let's give it a try.
BUG: 161162


svn path=/trunk/KDE/kdebase/workspace/; revision=802396
2008-04-29 08:52:51 +00:00
Script Kiddy
e110315896 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=802307

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

M	wallpapers/Leafs_Labyrinth/metadata.desktop
2008-04-29 05:57:03 +00:00
Martin Gräßlin
ce394a7d6d Bring some changes from coverswitch to flipswitch (we should have a superclass for those two effects):
* Physic based animation via TimeLine
 * Default animation 200 msec
 * Fade in and out panel and window caption box during start/stop animation
 * Switch to stop animation if alt+tab is released during start animation
 * TwinView/Xinerama support

BUG: 159111

svn path=/trunk/KDE/kdebase/workspace/; revision=802160
2008-04-28 17:51:52 +00:00
Sebastian Kügler
ff15813559 Make translucency for active/inactive and moving/resizing fade in
smoothly, using TimeLine. There's a config option allowing you to
set the time. We're defaulting to 1500 msec, which sounds rather
long but in fact feels quite well. Apparently eye and math
disagree a bit :)

svn path=/trunk/KDE/kdebase/workspace/; revision=802133
2008-04-28 16:10:10 +00:00
Martin Gräßlin
6925faa034 Adding some checks for Null-pointers. This should prevent from very unlikely crashes when a window closes during the animation.
BUG: 160871

svn path=/trunk/KDE/kdebase/workspace/; revision=802111
2008-04-28 15:01:01 +00:00
Luboš Luňák
5b5ec479fa When deciding where to transfer focus when a window is closed,
consider all windows in its group, not just its mainwindows.


svn path=/trunk/KDE/kdebase/workspace/; revision=802097
2008-04-28 14:39:13 +00:00
Script Kiddy
e920946da5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=801563

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

M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Colorado_Farm/metadata.desktop
M	wallpapers/EOS/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/Golden_Ripples/metadata.desktop
M	wallpapers/Green_Concentration/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2008-04-26 20:50:45 +00:00
Albert Astals Cid
3b9121ec3f const & in foreach
svn path=/trunk/KDE/kdebase/workspace/; revision=801427
2008-04-26 16:03:02 +00:00
Alexander Neundorf
84664f2ba6 cosmetics: lowercasing, no tabs, indentation, etc.
Alex



svn path=/trunk/KDE/kdebase/workspace/; revision=801170
2008-04-25 20:37:59 +00:00
Luboš Luňák
d7889ad2e0 Avoid warning.
svn path=/trunk/KDE/kdebase/workspace/; revision=800951
2008-04-25 09:31:32 +00:00
Cédric Borgese
4c47bfb484 Use a new, (too-)much-much-much simpler config dialog.
Maybe it is too simple this time, i'll wait for your feedback on it ;)

svn path=/trunk/KDE/kdebase/workspace/; revision=800803
2008-04-24 21:22:52 +00:00
Luboš Luňák
2f8d2751a1 Fix handling of stacking order of unmanaged windows. Could maybe use a little
bit more of optimization.
BUG: 157878


svn path=/trunk/KDE/kdebase/workspace/; revision=800581
2008-04-24 12:53:03 +00:00
Luboš Luňák
21de5a9cdb Sync oxygen r800572.
svn path=/trunk/KDE/kdebase/workspace/; revision=800573
2008-04-24 12:17:02 +00:00
Luboš Luňák
21bedeeadc Make the decoration double-buffered again to avoid drawing problems,
until a better solution for the wasted memory is found.


svn path=/trunk/KDE/kdebase/workspace/; revision=800572
2008-04-24 12:16:40 +00:00
Script Kiddy
34493c40be SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=800564
2008-04-24 12:06:37 +00:00
Luboš Luňák
2ed7ffbac4 Off-by-one errors in stacking unmanaged windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=800276
2008-04-23 20:10:35 +00:00
Martin Gräßlin
1970e94260 Don't show complete animation if alt+tab is released during start animation. Directly switch to correct point in stop animation.
svn path=/trunk/KDE/kdebase/workspace/; revision=799885
2008-04-22 18:09:50 +00:00
Script Kiddy
ca4e1b8519 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=799694
2008-04-22 01:45:51 +00:00
Cédric Borgese
7be1a64c1d Reenable wobbly for "non-normal" windows as it disable it for kcm windows too.
Instead, disable the effect at openning to avoid get it in menu, combo boxed, ...
CCMAIL: sebas@kde.nl

svn path=/trunk/KDE/kdebase/workspace/; revision=799614
2008-04-21 23:34:56 +00:00
Cédric Borgese
e65a9e49ea Add a new filter for smoother move.
It may also help to keep the effect stable with more extreme values for the parameters.

svn path=/trunk/KDE/kdebase/workspace/; revision=799612
2008-04-21 23:25:03 +00:00
Martin Gräßlin
89458622c7 Make physic based animation also work with "high" animation durations.
Use of addTime() instead of setProgress().
Only set curve shape once.

svn path=/trunk/KDE/kdebase/workspace/; revision=799466
2008-04-21 16:09:11 +00:00
Sebastian Kügler
4e04b678af It's wobbly windows, not wobbly menus, tooltips, combos ...
This check only seems to catch dropdownmenus, but the code looks
right to me ... maybe an omission somewhere else?

Anyway, it makes the wobbly experiences much calmer.

svn path=/trunk/KDE/kdebase/workspace/; revision=799290
2008-04-21 00:17:42 +00:00
Sebastian Kügler
3069aa1d21 Make window translucent when minizing, make for a fancier effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=799283
2008-04-20 23:49:31 +00:00