Commit graph

7494 commits

Author SHA1 Message Date
Thomas Lübking
cbe8b6fb93 * replace qhash by qmap and avoid side-effect prone QHash::operator[]
* use TimeLine data memeber instead pointer to prevent leaking
* only setTransformed() if there's really a current animation, not if "a window we know is mapped"
* therefore use a poperty to know whether the effect manages a deleted window
* set the TRANSFORMED flag in prePaintWindow as it should be

CCBUG: 242693


svn path=/trunk/KDE/kdebase/workspace/; revision=1192388
2010-11-02 20:35:28 +00:00
Thomas Lübking
4b0278ff86 * replace qhash by qmap and avoid side-effect prone QHash::operator[]
* use TimeLine data memeber instead pointer to prevent leaking
* only setTransformed() if there's really a current animation, not if "a window we know is mapped"
* therefore use a poperty to know whether the effect manages a deleted window
* set the TRANSFORMED flag in prePaintWindow as it should be

BUG: 242693


svn path=/trunk/KDE/kdebase/workspace/; revision=1192387
2010-11-02 20:33:54 +00:00
Script Kiddy
3d59e00295 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1192255
2010-11-02 11:32:25 +00:00
Chani Armitage
0e7e1aa077 stop using deprecated API, and use activity icons
svn path=/trunk/KDE/kdebase/workspace/; revision=1192050
2010-11-01 19:53:22 +00:00
Chani Armitage
03165ff8eb delete session data for deleted activities
svn path=/trunk/KDE/kdebase/workspace/; revision=1192049
2010-11-01 19:53:20 +00:00
Chani Armitage
54cba6fe22 use the new API to tell which activities are open
svn path=/trunk/KDE/kdebase/workspace/; revision=1192048
2010-11-01 19:53:17 +00:00
Martin Gräßlin
f2c142e8fb Use Lanczos in Boxswitch also during animation.
Thanks to the caching the animation does not cause performance problems any more.

svn path=/trunk/KDE/kdebase/workspace/; revision=1191948
2010-11-01 14:37:04 +00:00
Martin Gräßlin
e0a1eae9ec Use Lanczos in desktop grid
svn path=/trunk/KDE/kdebase/workspace/; revision=1191904
2010-11-01 12:17:05 +00:00
Martin Gräßlin
382d5b15d3 Ignore Paint Clipper when rendering to FBO.
See Review Request http://svn.reviewboard.kde.org/r/4329/

svn path=/trunk/KDE/kdebase/workspace/; revision=1191903
2010-11-01 12:09:53 +00:00
Martin Gräßlin
3e689ff201 Cache generated Lanczos textures.
This provides a significant performance improvement especially for Present Windows.
Whenever a lanczos resampling is done the resulted texture is cached, till the
window is damaged or a texture of different size is required. This means that
for a taskbar thumbnail the resampling only occurs once unless the window is damaged
and for present windows it only occurs when the windows are resized and then only
after the windows have already been moved. Highlighting windows does not cause
a resampling any more.
See review request http://svn.reviewboard.kde.org/r/5708/

svn path=/trunk/KDE/kdebase/workspace/; revision=1191874
2010-11-01 10:46:11 +00:00
Script Kiddy
28b61d557a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1191852
2010-11-01 09:55:38 +00:00
Script Kiddy
633a2ff59d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1191511

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Autumn/metadata.desktop
M	wallpapers/Blue_Wood/metadata.desktop
M	wallpapers/Ethais/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/Grass/metadata.desktop
M	wallpapers/Hanami/metadata.desktop
M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
2010-10-31 09:11:11 +00:00
Script Kiddy
ea54dd32d7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1191243
2010-10-30 08:47:27 +00:00
Rohan Ramdas Prabhu
b66cb70d34 Added:
workspace.clientSetKeepAbove
client.onSetKeepAbove

Documentation updated. Please refer to kwsapi.html for more details.

svn path=/trunk/KDE/kdebase/workspace/; revision=1191158
2010-10-29 19:06:54 +00:00
Script Kiddy
d369afbb68 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1190960
2010-10-29 09:23:47 +00:00
Script Kiddy
15723970ae SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1190592
2010-10-28 08:31:33 +00:00
Frederik Schwarzer
c37fab55b0 remove full stop: non of the other kcm comments has one
svn path=/trunk/KDE/kdebase/workspace/; revision=1190442
2010-10-27 16:54:05 +00:00
Kevin Ottens
ff61f40d8d Don't rely on the kdgstream typedef which is deprecated. Use QDebug
directly.

svn path=/trunk/KDE/kdebase/workspace/; revision=1190379
2010-10-27 14:16:56 +00:00
Martin Gräßlin
0174887114 Extend quick tiling to quarter of screen.
When moving a window to the upper or lower quarter of a screen edge the window will be quick tiled to the responsible quarter of the screen.
Moving the window to the middle half of the screen will do the normal quicktiling to half of screen, quick maximization at top screen is unchanged.
Thanks to Arthur Arlt for his first code contribution to KDE.
See Review Request http://reviewboard.kde.org/r/5661
CCMAIL: arre2000@gmx.de

svn path=/trunk/KDE/kdebase/workspace/; revision=1190361
2010-10-27 13:16:36 +00:00
Martin Gräßlin
545801de62 Unset noBorder when switching from Netbook to Desktop Shell.
Check on reloading of settings if the no borders for maximized windows option got disabled.
If it got disabled unset the no border option for all maximized windows to get the borders back.
BUG: 222045
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/workspace/; revision=1189981
2010-10-26 14:43:29 +00:00
Script Kiddy
3f9333c44c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1189884
2010-10-26 09:57:26 +00:00
Fredrik Höglund
e56c899fc1 Work around a bug in the GLSL compiler in Mesa 7.9.
BUG: 255230
FIXED-IN: 4.5.3

svn path=/trunk/KDE/kdebase/workspace/; revision=1189731
2010-10-25 17:59:31 +00:00
Script Kiddy
e3e475b214 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1189543
2010-10-25 08:59:54 +00:00
Martin Gräßlin
357f9f4174 Disable KWin shadow for the effect widgets in present windows and desktop grid
svn path=/trunk/KDE/kdebase/workspace/; revision=1189411
2010-10-25 01:40:36 +00:00
Martin Gräßlin
723f7d1a81 Delay showing the close window button in present window to prevent accidential closing of windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=1189407
2010-10-25 01:33:44 +00:00
Martin Gräßlin
134314a5dc Don't rearrange windows when close view is added/deleted.
Caused funny movements in present windows alt+tab mode.

svn path=/trunk/KDE/kdebase/workspace/; revision=1189401
2010-10-25 00:45:41 +00:00
Script Kiddy
65bc7eed90 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1189214
2010-10-24 09:03:07 +00:00
Script Kiddy
7823235ac6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1188900
2010-10-23 09:30:54 +00:00
Pavel Heimlich
7da91a552a Qt macros should not be followed by ;. Fix build with Sun Studio.
svn path=/trunk/KDE/kdebase/workspace/; revision=1188803
2010-10-23 07:02:17 +00:00
Martin Gräßlin
bc5ade425b Show Tooltips when hovering Aurorae Tabs.
Using the Plasma ToolTipManager to provide the same tooltips as in the tasks applet.
Currently only icons and title are displayed for tabs. Preview will be added as soon
as the tab's WId is exported by KWin core.
Unfortunately the tooltips are missing translucency.
FEATURE: 228436
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/workspace/; revision=1188226
2010-10-21 18:19:01 +00:00
Andreas Demmer
e5044f2fb5 fade plasmoids too, but at double speed
svn path=/trunk/KDE/kdebase/workspace/; revision=1188163
2010-10-21 15:07:34 +00:00
Script Kiddy
1871c2fee8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1188056
2010-10-21 08:44:18 +00:00
Chani Armitage
f3edd534ba Activity session support
this implements dbus methods in kwin for saving & restoring activities.
internally, kwin creates "sub-sessions" in kwin and ksmserver to
represent the saved activities. ksmserver doesn't need to know what
activities are :)

at the moment the code includes some fake information; it will be
changed to use the real stuff once the activities service code is in.

svn path=/trunk/KDE/kdebase/workspace/; revision=1187793
2010-10-20 12:41:51 +00:00
Andreas Demmer
4ca657dc45 add fade animation and duration settings to dashboard effect
svn path=/trunk/KDE/kdebase/workspace/; revision=1187687
2010-10-20 06:33:55 +00:00
Pavel Heimlich
44d7167c69 fix build, properly initialize QString
svn path=/trunk/KDE/kdebase/workspace/; revision=1187633
2010-10-19 22:43:42 +00:00
Pavel Heimlich
2a1de10460 fix build. properly initialize QString
svn path=/trunk/KDE/kdebase/workspace/; revision=1187632
2010-10-19 22:42:05 +00:00
Thomas Lübking
6356c736f8 catch dangeling pointer in the desktopbutton hash
BUG: 244813

svn path=/trunk/KDE/kdebase/workspace/; revision=1187537
2010-10-19 18:34:19 +00:00
Script Kiddy
1e9a63c3f4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1187411
2010-10-19 09:48:57 +00:00
Script Kiddy
f6c2b0f355 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1187085
2010-10-18 08:57:57 +00:00
Thomas Lübking
4c6bd603da blast!
svn path=/trunk/KDE/kdebase/workspace/; revision=1186892
2010-10-17 20:30:33 +00:00
Thomas Lübking
647eaa8afb raise alt+tab selected window w/o compositing (requires highlight windows option to be checked)
unlink composited window highlighting from the tabbox
-> results in semi-legacy behaviour w/o activating the selected window

BUG: 227344

svn path=/trunk/KDE/kdebase/workspace/; revision=1186871
2010-10-17 19:49:07 +00:00
Script Kiddy
04fc514c52 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1186710
2010-10-17 09:10:25 +00:00
Martin Gräßlin
de9375c06a Do not cause a full repaint on mouse movement when not zoomed.
CCMAIL: mail@dipe.org

svn path=/trunk/KDE/kdebase/workspace/; revision=1186415
2010-10-16 09:36:11 +00:00
Martin Gräßlin
42abed4d34 New StartupFeedback effect
This is an OpenGL effect to replace the startup notification used
by KRunner. It provides the same functionality without the need
to move and shape windows and supports translucent icons.
The effect registers a manager selection which is honoured by KRunner
to not start the startup notification if the effect has registerd
the selection.
See Review Request http://reviewboard.kde.org/r/5529/

svn path=/trunk/KDE/kdebase/workspace/; revision=1186408
2010-10-16 08:50:38 +00:00
Script Kiddy
326d5bd48b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1186391
2010-10-16 08:32:59 +00:00
Script Kiddy
8cba846dfb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1186160
2010-10-15 09:10:36 +00:00
Script Kiddy
2bd7a5a4e4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1185783
2010-10-14 08:44:46 +00:00
Martin Gräßlin
aa4e2c0c54 Print useful version information for nouveau.
Unknown, unknown just looks bad given that we will have more
nouveau users in future. Neither the vendor, nor the renderer
nor the version string contains a version number. The information
most close to a version number is the gallium number. Other
possible number would be OpenGL version or Mesa version in the
GL version string, but those information is not used in other
Mesa drivers.

svn path=/trunk/KDE/kdebase/workspace/; revision=1184526
2010-10-10 17:40:43 +00:00
Martin Gräßlin
f31d32250f Make EffectFrames work with Nouveau driver.
This worksaround a problem with the nouveau driver causing
the text frames to be incorrectly rendered. We need to keep
the QPixmap around as long as we have a texture created from
that texture.
This applies for the text and the unstyled effect frame. For
the frames generated from Plasma's FrameSvgs it is not required.
Addresses freedesktop.org bug 30286

svn path=/trunk/KDE/kdebase/workspace/; revision=1184458
2010-10-10 11:26:00 +00:00
Script Kiddy
bb088b9805 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1184436
2010-10-10 08:43:51 +00:00