Commit graph

9852 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
6489b95c2a Fix horizontal extend of horizontal separators in Window Behavior -> Window Actions
REVIEW: 107777
2012-12-17 14:40:55 +01:00
Script Kiddy
a2472524c2 SVN_SILENT made messages (.desktop file) 2012-12-17 07:49:07 +01:00
Thomas Lübking
2f80548304 defer all member destruction to next event cycle
BUG: 311018
FIXE-IN: 4.10
2012-12-14 22:36:40 +01:00
Thomas Lübking
b0e0378c77 fix wobblynnoyance kcfg group
BUG: 311382
FIXED-IN: 4.10
2012-12-14 22:36:40 +01:00
Thomas Lübking
77ff44216a invalidate old shade_below before searching a new
for the search could be implicitly skipped and we end up
with a dangeling pointer

BUG: 311340
FIXED-IN: 4.10
2012-12-14 22:36:39 +01:00
Thomas Lübking
5faa328f04 clip boundingshaped regions in xrender backend
BUG: 311216
FIXED-IN: 4.10
2012-12-14 22:36:39 +01:00
Thomas Lübking
eebabeb636 kick pointless nominalCursor calculation
likely just copypasta from a broken kcm and gets
us a wrong dimensioned cursor texture

BUG: 310497
FIXED-IN: 4.10
2012-12-14 22:36:39 +01:00
Thomas Lübking
3964785830 special tab/backtab handling to align kglobalaccel
BUG: 310476
FIXED-IN: 4.10
REVIEW: 107441
2012-12-14 22:36:39 +01:00
Thomas Lübking
334fc51ef6 fix kwinoptions layouts
THIS INTRODUCES NEW STRINGS, see
http://lists.kde.org/?l=kde-i18n-doc&m=135403060327161&w=2

REVIEW: 107083
BUG: 310623
2012-12-14 22:36:39 +01:00
Script Kiddy
dda5cbea69 SVN_SILENT made messages (.desktop file) 2012-12-13 07:29:15 +01:00
Script Kiddy
974e0e9c7d SVN_SILENT made messages (.desktop file) 2012-12-09 07:14:36 +01:00
Script Kiddy
a5bec484f6 SVN_SILENT made messages (.desktop file) 2012-12-05 07:19:24 +01:00
Script Kiddy
068419656f SVN_SILENT made messages (.desktop file) 2012-12-03 07:26:16 +01:00
Script Kiddy
49a373b681 SVN_SILENT made messages (.desktop file) 2012-12-01 08:03:43 +01:00
Albert Astals Cid
79043da553 Merge remote-tracking branch 'origin/KDE/4.9'
In krunner/interfaces/default/interface.cpp kept the code from master as instructed by aseigo

Conflicts:
	CMakeLists.txt
	kcontrol/autostart/autostart.desktop
	kcontrol/screensaver/screensaver.desktop
	kwin/kwin.notifyrc
	powerdevil/powerdevil.notifyrc
	solid/solid-actions-kcm/device-actions/solid-device-AcAdapter.desktop
	solid/solid-actions-kcm/device-actions/solid-device-Battery.desktop
	solid/solid-actions-kcm/solid-actions.desktop
2012-11-30 22:09:10 +01:00
Script Kiddy
92a45bc7b9 SVN_SILENT made messages (.desktop file) 2012-11-30 11:31:37 +01:00
Script Kiddy
5fc8da9ad7 SVN_SILENT made messages (.desktop file) 2012-11-30 07:40:50 +01:00
Thomas Lübking
ee9d526b27 don't use textured mousecursor unless required
REVIEW: 107424
BUG: 276391
FIXED-IN: 4.9.4
(cherry picked from commit 19750d2405602553f573295a2a400be669e71453)
2012-11-29 20:38:30 +01:00
Thomas Lübking
939f04d260 fix screen switching for more than two screens
BUG: 264041
FIXED-IN: 4.9.4
(cherry picked from commit 217895fb13cf7498841a288a777f575cdd249efc)
2012-11-29 20:38:23 +01:00
Thomas Lübking
1c83b957cc queue all menu caused window ops
BUG: 310658
REVIEW: 107462
FIXED-IN: 4.10
2012-11-29 20:17:36 +01:00
Thomas Lübking
a6931c774f fix screen switching for more than two screens
BUG: 264041
FIXED-IN: 4.10
2012-11-29 20:17:36 +01:00
Thomas Lübking
026fe92c7f don't use textured mousecursor unless required
REVIEW: 107424
BUG: 276391
FIXED-IN: 4.10
2012-11-29 20:17:36 +01:00
Script Kiddy
5a9a6d3b8a SVN_SILENT made messages (.desktop file) 2012-11-28 07:36:20 +01:00
Martin Gräßlin
6f90843365 Escape HTML command in window caption before passing to QML
Escaping is performed in the model instead of the UI as each of the QML
files needed to be fixed and it is likeley that the issue would come up
again. In the model it's hopefully fixed for good.

BUG: 309960
FIXED-IN: 4.9.4
REVIEW: 107431
2012-11-27 20:57:42 +01:00
Martin Gräßlin
3bad8ed12f Escape HTML command in window caption before passing to QML
Escaping is performed in the model instead of the UI as each of the QML
files needed to be fixed and it is likeley that the issue would come up
again. In the model it's hopefully fixed for good.

BUG: 309960
FIXED-IN: 4.9.4
REVIEW: 107431
2012-11-27 20:55:48 +01:00
Cedric Bellegarde
3183b98012 Fix appmenu button placement in style preview (Thanks to Hugo) 2012-11-27 12:54:11 +01:00
Cedric Bellegarde
fec03d7708 Remove workaround, grab keyboard/mouse manually.
BUG: 310476
REVIEW: 107455
2012-11-27 11:43:44 +01:00
Martin Gräßlin
0ffc8cefc7 Remove not-needed cast to int
The compared values are uint, so there's no need to cast and it is
incorrect in this case.

REVIEW: 107469
2012-11-26 16:37:30 +01:00
Martin Gräßlin
b0da055850 Do not check whether -session cmd argument is passed to kwin in kdemain
This got used to check whether the session is being restored and only if
the session was not being restored the multi-head checks used to be
performed. Since 299a78772b823d28cf3c48aff696cfb978d0ae7e the multi-head
checks are no longer bound to not restoring the session which obsoletes
the remaining checks.

REVIEW: 107468
2012-11-26 16:36:22 +01:00
Martin Gräßlin
b28a663f21 Fix C++11 narrowing conversation warning
SVN_SILENT
2012-11-26 11:04:30 +01:00
Hugo Pereira Da Costa
6ec1e49e92 Extend window border to the masked rounded corners in non compositing mode
CCBUG: 230013
2012-11-26 10:57:23 +01:00
Martin Gräßlin
46cab7eb6f Remove unused variable from KCommonDecoration::region
Following the approach as in KDecoration::region
SVN_SILENT
2012-11-26 10:30:20 +01:00
Martin Gräßlin
876b427dfb Fix some C++11 narrowing conversation warnings
Thanks to Jurica Vukadin for providing the patch.

REVIEW: 106994
2012-11-26 10:27:02 +01:00
Martin Gräßlin
a6f963ec4a Invert logic of init_ok in SceneOpenGL
In case that one of the checks in SceneOpenGL failed the ctor of the
sub-class continued and set init_ok to true although it should have been
set to false.

Now init_ok starts with true and if a check fails it is set to false.
For 4.11 we should consider using an exception here - variables to check
that init code works are just no proper solution.

REVIEW: 107420
2012-11-26 10:14:10 +01:00
Martin Gräßlin
bcfc0269ae Create the decoration listing after the KCModule has been shown
If the decoration listing gets initialized directly in the ctor as it
used to be, there is the chance of the list being not rendered in case
that there are multiple KCMs in one container and one has to switch to
the decoration KCM. This is the case for e.g. opening the KWin
configuration through the Alt+F3 menu. But that never happened when
going through Systemsettings as there (at least with English) it is
listed as the first module.

BUG: 310613
FIXED-IN: 4.10
2012-11-26 10:05:17 +01:00
Script Kiddy
e6f0f5bcf7 SVN_SILENT made messages (.desktop file) 2012-11-26 07:08:50 +01:00
Martin Gräßlin
18cccad806 Introduce a templated animationTime overload for the KConfigXT case
This method can be used to get the animationTime in case a configuration
class generated through KConfigXT is used. In general the configuration
stores the magic value 0 for a property "duration". This magic value
indicates that a hard-coded default value should be used.

So the common logic to test the stored value for 0 and then either pass
the stored value or the default value to animationTime is encapsulated
in this method in a generic way.

A MyEffect can use it in the following way:
animationTime<MyEffectConfig>(200);

BUG: 310646
FIXED-IN: 4.10
REVIEW: 107460
2012-11-25 20:19:31 +01:00
Martin Gräßlin
40400167b9 Only wrap duration once in animationTime()
The zoomDuration is already wrapped in animationTime() during
reconfigure. So doing it twice is wrong.

REVIEW: 107463
2012-11-25 20:18:07 +01:00
Script Kiddy
313b1833bc SVN_SILENT made messages (.desktop file) 2012-11-25 07:01:07 +01:00
Dario Cambié
a7fa887e49 Disable fallapart effect for not-visible windows
REVIEW: 106823
2012-11-24 16:24:26 +01:00
Martin Gräßlin
420e226b12 Pass the parameter passed to KDecoration::region() to KCommonDecoration
Adjusts for possible future use.
REVIEW: 107443
2012-11-24 11:35:29 +01:00
Script Kiddy
f1935659a4 SVN_SILENT made messages (.desktop file) 2012-11-24 11:25:04 +01:00
Martin Gräßlin
85d2f1cb61 Export QEasingCurve to scripted Effects
That allows reference QEasingCurve::Type to be used in the animate
functions.

REVIEW: 107265
2012-11-24 10:19:59 +01:00
Script Kiddy
378aadcb1d SVN_SILENT made messages (.desktop file) 2012-11-24 07:33:07 +01:00
Cedric Bellegarde
89d35aa958 Use a real Qt::Popup menu => TODO: fix workaround 2012-11-23 12:44:53 +01:00
Martin Gräßlin
feb352c84c Suppress unused variable warning
SVN_SILENT
2012-11-22 14:34:34 +01:00
Martin Gräßlin
b2512b1479 Increase KWIN_EFFECT_API_VERSION_MINOR for 4.10 2012-11-22 12:49:22 +01:00
Martin Gräßlin
533e3e5adf Move circulateDesktopApplications into DBusInterface
It is not used anywhere inside KWin at all and the DBus method is not
used anywhere inside KDE's repositories (according to lxr). Because of
that marked as deprecated and going to die with Qt 5.

REVIEW: 107406
2012-11-22 09:49:08 +01:00
Martin Gräßlin
5a2504b19e Remove not implemented method from Workspace 2012-11-22 09:44:12 +01:00
Emil Sedgh
3108112cbf Revert "Window shortcuts now toggle (raise/minimize) windows."
We're in a feature freeze.

This reverts commit 776d131206c20097b5ad672179598373f7d8ac8e.
2012-11-22 11:42:11 +03:30