Commit graph

4886 commits

Author SHA1 Message Date
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
Sebastian Kügler
9075540ef0 Don't set curveshape twice, caught by Andre Duffeck
svn path=/trunk/KDE/kdebase/workspace/; revision=799113
2008-04-20 12:56:46 +00:00
Cédric Borgese
e4ecf50281 Use english words in code and interface.
svn path=/trunk/KDE/kdebase/workspace/; revision=799110
2008-04-20 12:29:20 +00:00
Malcolm Hunter
e46fbb1445 Typo fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=798926
2008-04-19 23:32:40 +00:00
Malcolm Hunter
be582d3a1a Typo fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=798922
2008-04-19 22:36:47 +00:00
Sebastian Kügler
a4d3693625 CoverSwitch now uses TimeLine.
svn path=/trunk/KDE/kdebase/workspace/; revision=798727
2008-04-19 00:28:38 +00:00
Sebastian Kügler
3ae042aa69 DesktopGrid now uses TimeLine.
svn path=/trunk/KDE/kdebase/workspace/; revision=798726
2008-04-19 00:28:35 +00:00
Sebastian Kügler
ad388f8aa4 rename mTimeLine to mTimeLineWindows to make it sufficiently clear that we have more than one timeline
svn path=/trunk/KDE/kdebase/workspace/; revision=798724
2008-04-19 00:12:28 +00:00
Sebastian Kügler
a827c19cf1 Minimizing windows now uses the new TimeLine feature. This way, they
accelerate towards the taskbar.

svn path=/trunk/KDE/kdebase/workspace/; revision=798723
2008-04-19 00:12:24 +00:00
Sebastian Kügler
b953f0a046 Introduce TimeLine, a class providing non-linear animation patterns
to KWin effects.

The class basically wraps QTimeLine right now, but it's easy to pop
in function implementing different animation timeline patterns.

Patches to the first effects using this TimeLine are coming up ...

svn path=/trunk/KDE/kdebase/workspace/; revision=798719
2008-04-18 23:57:05 +00:00
Cédric Borgese
25caa4315d Implements wobbly when closing window but disable it for now.
svn path=/trunk/KDE/kdebase/workspace/; revision=798649
2008-04-18 19:04:00 +00:00
Cédric Borgese
666d612295 Add wobblyness when opening windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=798624
2008-04-18 17:43:00 +00:00
Script Kiddy
7c8262068d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=798572

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-04-18 15:51:48 +00:00
Luboš Luňák
afa5700c7b Don't initialy minimize a window if it has some main window open,
but it was internall optimized away (e.g. one group transient plasma
dialog open, minimized, open another group transient dialog from plasma).


svn path=/trunk/KDE/kdebase/workspace/; revision=798569
2008-04-18 15:50:12 +00:00
Luboš Luňák
0af83a41ec Don't crash when XGrabKeyboard() fails for some reason.
svn path=/trunk/KDE/kdebase/workspace/; revision=798523
2008-04-18 14:04:11 +00:00
Cédric Borgese
c1b759bd10 Fix bad empty test.
svn path=/trunk/KDE/kdebase/workspace/; revision=798510
2008-04-18 13:06:29 +00:00
Cédric Borgese
f668280204 Follow the kwin effect ordering policy (http://lists.kde.org/?l=kwin&m=120395261420290&w=2)
svn path=/trunk/KDE/kdebase/workspace/; revision=798508
2008-04-18 13:05:27 +00:00
Luboš Luňák
26b79d9177 Use QVector instead of plain-C-error-prone-memory-leaking arrays.
svn path=/trunk/KDE/kdebase/workspace/; revision=798503
2008-04-18 12:57:16 +00:00
André Wöbbeking
8e27faa7a0 - use icon like the other effects do
- Encoding is not needed anymore

svn path=/trunk/KDE/kdebase/workspace/; revision=798501
2008-04-18 12:53:10 +00:00
André Wöbbeking
f0899e4b28 add icon
svn path=/trunk/KDE/kdebase/workspace/; revision=798498
2008-04-18 12:50:17 +00:00
Cédric Borgese
0b6bb6a95f Implement a wobbly like effect for kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=798476
2008-04-18 12:01:47 +00:00
Martin Gräßlin
a6e32ded65 Default animation duration should be the same in ui as in the effect
svn path=/trunk/KDE/kdebase/workspace/; revision=798111
2008-04-17 14:20:22 +00:00