Commit graph

5141 commits

Author SHA1 Message Date
Luboš Luňák
2a87593638 Add a global configuration option for animation speed. See description
of Effect::animationTime() for how-to-use.
TODO: Effects need to reload config after doing the change in the kcm.
NOTE: Default TimeLine constructor now creates invalid object, it is
necessary to explicitly call setDuration() in order to ensure all
animations respect this setting.

CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=854690
2008-08-30 07:25:54 +00:00
Luboš Luňák
d3bc4b05d5 QSpinBox step of 1 with pixels is not really convenient.
svn path=/trunk/KDE/kdebase/workspace/; revision=854684
2008-08-30 06:52:10 +00:00
Luboš Luňák
9a0124fc96 Check every screen, topleft and bottomright corners, should catch more problems.
Also remove the unnecessary XSync().


svn path=/trunk/KDE/kdebase/workspace/; revision=854556
2008-08-29 19:23:16 +00:00
Luboš Luňák
fd2e9b54cb Funny how awesome ideas are often so awfully simple. Test whether compositing
really works by simply trying to do it and test the result - create a small
testing window with known content, do the same with it like with normal
windows, grab the screen contents, compare with the original, doesn't match? -> fail.
It still would be nice to have something similar for performance.


svn path=/trunk/KDE/kdebase/workspace/; revision=854549
2008-08-29 19:02:36 +00:00
Luboš Luňák
8e5f95a9d6 Make a more explicit distinction between using normalized and non-normalized
texture coordinates - it cost me hours to find out why something was misdrawing :(.


svn path=/trunk/KDE/kdebase/workspace/; revision=854546
2008-08-29 18:54:28 +00:00
Luboš Luňák
3528630f80 Qt4/KDE4 dialog ctors don't accept object name or modal flag.
svn path=/trunk/KDE/kdebase/workspace/; revision=854326
2008-08-29 12:03:12 +00:00
Martin Gräßlin
95c30f158f Cube/Cylinder/Sphere can be used for "walk through desktop" functionality. This new mode has to be enabled in the settings. Default is off. Mouse functionality is disabled in this tab box mode.
CCBUG: 169888

svn path=/trunk/KDE/kdebase/workspace/; revision=854275
2008-08-29 09:22:36 +00:00
Luboš Luňák
19a9dd4095 Fix the flicker caused by unredirecting code - apparently setting the same
shape with X is not a no-op.


svn path=/trunk/KDE/kdebase/workspace/; revision=854107
2008-08-28 20:43:40 +00:00
Luboš Luňák
15ff73fabb I heard this interesting idea that the panel could show window previews directly,
without tooltips.


svn path=/trunk/KDE/kdebase/workspace/; revision=853780
2008-08-28 09:33:31 +00:00
Martin Gräßlin
7e3c351ddf Reworked UI for sphere configuration. Based on rework of cube config (r853730).
Adding slider to configure the sphere cap deformation.

svn path=/trunk/KDE/kdebase/workspace/; revision=853745
2008-08-28 08:36:46 +00:00
Martin Gräßlin
9235ea4f82 Reworked UI for cylinder configuration. Based on rework of cube config (r853730).
svn path=/trunk/KDE/kdebase/workspace/; revision=853738
2008-08-28 08:02:12 +00:00
Martin Gräßlin
c6cac7dde5 Reworked the UI for cube configuration. There are two tabs (basic and advanced) now and the whole UI is more clearly arranged.
svn path=/trunk/KDE/kdebase/workspace/; revision=853730
2008-08-28 07:42:52 +00:00
Martin Gräßlin
1e1b0ef7c6 Added sphere cap deformations. This is influenced by config parameter "CapDeformation" (no UI yet) which ranges from 0 (sphere) to 100 (flat). Default is sphere.
CCMAIL: <lmurray@undefinedfire.com>

svn path=/trunk/KDE/kdebase/workspace/; revision=853464
2008-08-27 19:02:14 +00:00
Lucas Murray
cc6e98cec9 If restoring a window that was maximized on a different screen don't restore to the old screen.
BUG: 169928

svn path=/trunk/KDE/kdebase/workspace/; revision=853323
2008-08-27 14:50:10 +00:00
Luboš Luňák
a42ccaa4ba Virtuals don't work normally in dtors, call in overriden dtor too.
svn path=/trunk/KDE/kdebase/workspace/; revision=853290
2008-08-27 13:21:20 +00:00
Script Kiddy
9751da77f8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=853252
2008-08-27 12:41:04 +00:00
Lucas Murray
9a52d3c709 Added feature to only invert the colours of selected windows
Fixed shader alpha blending
CCMAIL: kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=853224
2008-08-27 12:20:34 +00:00
Lucas Murray
faf7477fdb Force window switching mode to use the regular grid as well as putting all windows on the same screen if using a multi-monitor system. Also fixed the incorrectly highlighted window when window switching is first activated.
svn path=/trunk/KDE/kdebase/workspace/; revision=853112
2008-08-27 08:29:09 +00:00
Lucas Murray
7ce5cea00d Allow clicking of windows when in window switching mode.
svn path=/trunk/KDE/kdebase/workspace/; revision=852767
2008-08-26 14:41:26 +00:00
Lucas Murray
14dd4db702 Rearrange when a new window is displayed.
svn path=/trunk/KDE/kdebase/workspace/; revision=852749
2008-08-26 14:06:09 +00:00
Martin Gräßlin
e197a53ca9 Easy to use config options to select the effect for window switching (alt+tab) and for desktop switching. So now more searching through all effects to enable one effect and disable the conflicting effects.
svn path=/trunk/KDE/kdebase/workspace/; revision=852627
2008-08-26 07:31:57 +00:00
Script Kiddy
a9a4ca7db5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=852518
2008-08-25 23:01:08 +00:00
Luboš Luňák
7704c8f3fa Apparently it is possible to switch compositing between starting
and getting a zero-timeout timer.


svn path=/trunk/KDE/kdebase/workspace/; revision=852355
2008-08-25 19:49:42 +00:00
Luboš Luňák
53f5283601 Simplify activeScreen() code, from Hans Meine <meine@informatik.uni-hamburg.de>.
svn path=/trunk/KDE/kdebase/workspace/; revision=852322
2008-08-25 19:02:22 +00:00
Luboš Luňák
85fd06103f Better wording for active mouse screen.
svn path=/trunk/KDE/kdebase/workspace/; revision=852320
2008-08-25 18:56:50 +00:00
Martin Gräßlin
64dc9b1be6 Make cylinder and sphere work with multi screen setup. Span on all screens is only option as scaling on one screen results in abstract art. So the option is removed from config dialog.
svn path=/trunk/KDE/kdebase/workspace/; revision=852200
2008-08-25 14:12:12 +00:00
Lucas Murray
255889ca65 FEATURE: Two new layout modes for the present windows effect
BUG: Keyboard operation now works correctly in present windows on multi-monitor setups

svn path=/trunk/KDE/kdebase/workspace/; revision=852066
2008-08-25 09:17:15 +00:00
Martin Gräßlin
a59111148c Cube & co becomes zoomable (usage: + and -). Adding also a config option to define the default zoom.
svn path=/trunk/KDE/kdebase/workspace/; revision=852059
2008-08-25 08:19:39 +00:00
Nick Shaforostoff
4e9d2d3a25 improvement: make systemsettings more 1024x600 netbooks friendly
svn path=/trunk/KDE/kdebase/workspace/; revision=851963
2008-08-25 02:22:56 +00:00
Luboš Luňák
14ae8d2dc9 Support for unredirecting fullscreen windows, i.e. games etc. can paint directly
and not be slowed down by going through compositing. Turned on and no UI option
in the naive hope that it won't cause any real problems. Maybe effects doing
window previews should get API to suspend unredirect though.


svn path=/trunk/KDE/kdebase/workspace/; revision=851742
2008-08-24 13:32:57 +00:00
Luboš Luňák
09d81b7e87 Cache the result of XQueryTree().
svn path=/trunk/KDE/kdebase/workspace/; revision=851667
2008-08-24 10:35:45 +00:00
Martin Gräßlin
c67256e037 Option for Compiz like mouse dragging in cube effects. That is cube is closed on release of mouse button. Option is disabled by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=851485
2008-08-23 20:10:01 +00:00
Luboš Luňák
818070d3aa Keep fullscreen windows covering the whole screen when it is the topmost
window on its xinerama screen.
FEATURE: 126817


svn path=/trunk/KDE/kdebase/workspace/; revision=851204
2008-08-23 09:20:42 +00:00
Bram Schoenmakers
a707d588c3 Forward port r851037: Respect option "Show window button tooltips"
svn path=/trunk/KDE/kdebase/workspace/; revision=851041
2008-08-22 19:24:43 +00:00
Lucas Murray
31cc37e089 Switched over duration counters to the TimeLine class.
svn path=/trunk/KDE/kdebase/workspace/; revision=850953
2008-08-22 16:25:40 +00:00
Luboš Luňák
ffc4bc5040 Make sure idling does not actually cause big load by a repeating
quick timer caused by dynamically adjusting the next repaint
when using vsync. Ideally there should be no idle ticks at all,
somewhen later.
BUG: 154270
CCBUG: 155694


svn path=/trunk/KDE/kdebase/workspace/; revision=850941
2008-08-22 15:57:31 +00:00
Martin Gräßlin
5fff9923ec Magiclamp supports now panels which are not positioned at the bottom of the screen.
svn path=/trunk/KDE/kdebase/workspace/; revision=850763
2008-08-22 09:40:46 +00:00
Albert Astals Cid
817977f2e0 HIG fixes from our usability overlady
I'm commiting them because they seem quite straighforward fixes

If anyone disagrees please comment to Celeste so we can have a more refined HIG

CCMAIL: celeste@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=849678
2008-08-19 22:06:15 +00:00
Luboš Luňák
80d1090738 Really funny ... who can spot the mistake?
svn path=/trunk/KDE/kdebase/workspace/; revision=849426
2008-08-19 14:43:50 +00:00
Script Kiddy
1608a1f918 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=849357
2008-08-19 11:51:07 +00:00
Script Kiddy
4725aee74d SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/runtime/kstyles/; revision=848738
2008-08-18 11:02:41 +00:00
Martin Gräßlin
3341354228 Adding test if cylinder and sphere effects are supported by the hardware, so that they can't be activated if not supported.
svn path=/trunk/KDE/kdebase/workspace/; revision=848633
2008-08-18 09:52:33 +00:00
Martin Gräßlin
d5be0f8da5 - limit the number of left/right rotations. Cube will not rotate endless if cursor keys are being pressed
- fix vertical mouse movement

svn path=/trunk/KDE/kdebase/workspace/; revision=848624
2008-08-18 09:39:48 +00:00
Martin Gräßlin
a09f473662 We should reload cylinder/sphere and not cube if there have been changes.
svn path=/trunk/KDE/kdebase/workspace/; revision=848421
2008-08-17 17:03:55 +00:00
Martin Gräßlin
bde94eae24 Own configuration dialog for cylinder and sphere effect, they do not use cube's config any longer. Nevertheless the effects use same global shortcut as cube.
svn path=/trunk/KDE/kdebase/workspace/; revision=848314
2008-08-17 11:51:27 +00:00
Script Kiddy
08f115ebe9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=848302
2008-08-17 11:16:45 +00:00
Martin Gräßlin
e7ef7b6975 Config option for selecting the wallpaper/skydome.
svn path=/trunk/KDE/kdebase/workspace/; revision=848178
2008-08-17 09:11:53 +00:00
Martin Gräßlin
f54e0f9932 Sphere caps
svn path=/trunk/KDE/kdebase/workspace/; revision=848068
2008-08-16 19:22:45 +00:00
Script Kiddy
7dd4832e71 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=847922
2008-08-16 13:04:23 +00:00
Luboš Luňák
4318f74c17 Don't ask for confirmation when changing compositing settings
that cannot really affect whether it works or not.


svn path=/trunk/KDE/kdebase/workspace/; revision=847404
2008-08-15 11:10:00 +00:00