l10n daemon script
81c171e6c8
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:15 +02:00
l10n daemon script
0543714532
SVN_SILENT made messages (.desktop file)
2014-04-03 07:23:15 +02:00
Martin Gräßlin
b1429c0d60
Adjust to KDeclarative changes
2014-04-03 07:23:15 +02:00
Hrvoje Senjan
9042431106
Be less noisy when Qt5Multimedia is not present in build enviroment
2014-04-03 07:23:15 +02:00
Hrvoje Senjan
95ac83921b
Declare runtime dependency on Qt5Multimedia via CMake
...
It's imports are needed for the effect video playback
REVIEW: 114918
2014-04-03 07:23:15 +02:00
Hrvoje Senjan
e3a83463a1
Fix includes...
...
...and thus, build.
Jenkins will still fail due to:
"set(CMAKE_CXX_FLAGS "${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}")"
REVIEW: 114902
2014-04-03 07:23:15 +02:00
Mathieu Tarral
be506dee30
This patch adds a checkbox to enable/disable effects on startup
...
REVIEW: 114046
2014-04-03 07:23:15 +02:00
Martin Gräßlin
5f1e8ec2bd
Use RowLayout for the video, configure and about buttons
...
Simplifies the code as we don't have to anchor the buttons.
REVIEW: 114432
2014-04-03 07:23:15 +02:00
Martin Gräßlin
9e00284158
Show busy indicator during loading of video
...
We need to provide some feedback during downloading the video.
REVIEW: 114431
2014-04-03 07:23:15 +02:00
Martin Gräßlin
8e1aea4ec6
Adjust CMakeList to kf5 lib renaming
2014-04-03 07:23:15 +02:00
Martin Gräßlin
ca778481b7
Integrate video into the UI
...
A video button is shown if the model provides an url for a video.
If the button is pressed the video element is added in a similar way
to the aboutInfo and starts the video directly. Once the playback
stopped a play again button is shown.
If one clicks the video button again, the video gets hidden.
Room for improvement:
* add a button to open in external player
* ensure video is centered correctly in the list view
2014-04-03 07:23:15 +02:00
Martin Gräßlin
0bd7c5e0e2
Add support for videos in the model
2014-04-03 07:23:15 +02:00
Martin Gräßlin
6006a91e8a
Invoke the reinit Compositor signal when the advanced options changed
...
Therefore we track whether the options got changed and if they did
we emit the reinit signal once the configuration is saved.
2014-04-03 07:23:15 +02:00
Martin Gräßlin
450888df50
Fix connection to KWin through DBus
...
Not 100 % perfect yet as KWin needs to have the compositor connect
to the signals.
2014-04-03 07:23:15 +02:00
Martin Gräßlin
634b400caf
Fix reseting the checkboxed in the advanced part
2014-04-03 07:23:15 +02:00
Martin Gräßlin
f19acce59d
Implement the KCModule::defaults
2014-04-03 07:23:15 +02:00
Martin Gräßlin
e3c944feb2
Implement KCModule::load
2014-04-03 07:23:15 +02:00
Martin Gräßlin
891af9cf54
Handling saving the changes of the KCM
...
Save method added to the EffectView which invokes the specific methods
on the effect model and compositing object.
2014-04-03 07:23:15 +02:00
Martin Gräßlin
1dd1c8e51d
Add the compositingType as another property to Compositing
...
Methods added to the Model to map from row index to the backend
identifier and vice versa. That way the Compositing object can do
all the saving and loading.
2014-04-03 07:23:15 +02:00
Martin Gräßlin
3a8a0d73ea
Save complete state in Compositing QObject
...
* all properties extended to be writable and emit change signals
* contains load from and save to config functionality
* Compositing object in qml view is connected to the values of the
components. So changes are directly mapped from UI to business logic
2014-04-03 07:23:15 +02:00
Martin Gräßlin
bfab98839c
Fix typo
2014-04-03 07:23:15 +02:00
Martin Gräßlin
2ed5b375ea
Make EffectView::init private
...
Called from the ctor, no need to be public.
2014-04-03 07:23:15 +02:00
Martin Gräßlin
aa39bb192f
Connect changed from QML to the C++ side
...
Connected in the view and further emited as a signal our KCM
connects to.
2014-04-03 07:23:15 +02:00
Martin Gräßlin
befb2b8e8a
Drop the Apply button from the EffectView
...
We have an Apply and OK button in the KCModule, so we don't need one
in the view. A change signal is introduced and passed from the individual
items upwards, so that we can connect to it from the C++ side.
2014-04-03 07:23:14 +02:00
Martin Gräßlin
7372a7f784
KWinCompositing becomes a KCModule
...
Instead of a binary it's a library installed as a plugin. main.cpp
defines the KCModule which just loads the EffectView into a widget
container.
2014-04-03 07:23:14 +02:00
Martin Gräßlin
dd23f40c81
Clean up CMakeLists.txt
...
Find only required modules and not everything kde-workspace used to find.
Also properly set the target link targets.
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
ca453a9939
make it build
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
bf52f952b2
make it build
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
5ab8e740d4
Fix spacing
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
bd79162710
make it build
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
af25c1d11d
Try to fix the linking issues
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
d24a463a27
make it more simple
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
99dc27e896
Change the background color
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
de7b09b011
Enable effects by the service file should always be enabled,
...
if there is not a relevant entry in the kwinrc
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
d5a6dff6dd
Remove hard coded colors
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
bd3219b5a7
Add Color Correction support
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
748d2d327f
Add glSwapStrategy support
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
5448c7ce36
We are now able to suspend desktop effects for fullscreen windows
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
c79894945c
Add glScaleFilter and xrFilterScale support
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
e1308f8b40
Add Window Thumbnail support
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
d33c2afb81
Add animation speed Slider
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
083f670719
Rename effectStatus => updateEffectStatus method
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
12f8544b0f
Make sure that the enableWindowManagement and handleWindowManagement
...
will not crash
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
50dd943e7d
Check if the m_effectsList is valid before we try to access it
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
159bccc2d5
Use the new Singal and Slot syntax, now we are able to check
...
for errors at the build time.
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
f4e412f244
Add missing i18n
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
8bc4c3c85c
Description text should not be elide
...
when we click on the description button
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
44fad963a9
Add hint Label
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
a336e51867
Add missing i18n
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
8f6e40adbb
Add clear button to Search Field
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
14b66445e3
should be const
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
11c59b7abe
We don't need anymore the effectModel PROPERTY
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
842bacab23
Fix typo
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
afcc19815e
Now we are able to search our effects based on their name
...
and their description
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
853c817c80
make it build
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
578f43292b
Fix copyright
2014-04-03 07:23:14 +02:00
Antonis Tsiapaliokas
932bd40cb6
rename id myCheckBox => effectStatusCheckBox
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
857182ebac
Make sure that our description will only be elide when there is not enough space
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
67144780bd
Create a new QAbstractItemModel for our CompoBox.
...
In the feature we will need to hanlde some Wayland stuff
so we need our model to be smarter.
Also remove some left overs from the graphics system
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
ff08041bed
We don't need the findImage anymore.
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
11098706ce
Fix qml runtime errors
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
fcae304dac
Fix layout
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
c0a188b3f2
Remove Graphics System.
...
Graphics System is deprecated on Qt5 and it has been removed from KWin.
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
973a2e8f22
Remove deprecated ctor
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
fcff62c4b6
We don't neeed to reload our model anymore
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
081d1fc7c9
Don't load all the effects from the kwinrc.
...
Let KWin to handle that.
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
517e248c1c
Fix the coding style
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
4534cd03b9
EffectFilterModel::findImage should always return a QString
...
Also translate the rowIndex from the EffectFilterModel to the EffectModel
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
1f509b7c30
EffectModel is no more being exposed to the QML
...
Instead of the EffectModel we are using the FilterProxyModel
2014-04-03 07:23:13 +02:00
Martin Gräßlin
d9fcc9f9d5
Drop useless assignement
...
That's already in the property binding.
2014-04-03 07:23:13 +02:00
Martin Gräßlin
7d816f8198
Rename effectModel property to model
...
More consistant with other namings in QML.
2014-04-03 07:23:13 +02:00
Martin Gräßlin
81510d7e47
Make EffectModel a toplevel element in EffectView
...
The id is referenced all over the document which makes it nicer to
read if it is not a nested element.
2014-04-03 07:23:13 +02:00
Martin Gräßlin
5eb11849d4
Do not use a VisualDataModel
...
No need for this additional wrapper around the model.
2014-04-03 07:23:13 +02:00
Martin Gräßlin
934d675b73
Add missing Q_UNUSED
2014-04-03 07:23:13 +02:00
Martin Gräßlin
46c395e8ac
Specify override on overriden methods in model.h
...
Let's use C++11 - the good parts ;-)
2014-04-03 07:23:13 +02:00
Martin Gräßlin
cf5ba0378a
setRoleNames is deprecated
...
Instead implementing roleNames().
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
c32758c458
Add ComboBox for Compositing Type and for Graphics System
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
ed2cf5a8b5
Add Improved Window Management Support
...
When we click into the CheckBox the following effects are being enabled:
*kwin4_effect_desktopgrid
*kwin4_effect_presntwindows
*kwin4_effect_dialogparent
If one of the above effects gets disabled, then the checkbox is unchecked.
Our CheckBox can detect if our effects are enable at the start time.
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
cc375dab36
remove deprecated ctor
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
609c4c5470
Add ExclusiveGroup support to the checkboxes of the ListView.
...
Only ONE of the following effects can be active at the same
time.
*kwin4_effect_slideEnabled
*kwin4_effect_cubeslideEnabled
*kwin4_effect_fadedesktopEnabled
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
3ab4e1a84a
make it build and fix linking
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
025f3eba5a
KWidgets are gone. Make it build
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
16a066db78
Check if OpenGLisBroken
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
52fd2c12a2
Make all of our unit test to pass
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
e5da335fcf
Add unit test for our model
...
Add a QSortFilterProxyModel in order to search our effects
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
dac370fc61
Move effectStatus and syncConfig from EffectView class to EffectModel
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
f9706e0734
Make our dbus call async
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
34cccc91ed
Make our model able to be reloaded.
...
Also fix the coding style and make krazy happy.
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
f44691b61c
Move findImage method from EffectView to EffectModel
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
2f30411106
Make our QAbstractListModel smarter, give better names to
...
the enumenators.
Rename struct Effect to EffectData
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
abaf03c1d0
We should have only 1 proxy, not 2
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
8081e2eb53
Add buttons to the effect config dialog
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
fc662d175d
Add method findImage
...
Qt QuickControls require an abosolute path to the image
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
2431da8222
Buttons are enable only when they have something to do
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
837c44434d
Load the configuration UI for the Effects
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
51549d3ec9
Make our effects able to be enable and disable
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
32ee949a8d
Add an about button for the author and the license of the effect
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
738f730a62
Load the real effects from the system
2014-04-03 07:23:13 +02:00
Antonis Tsiapaliokas
e816a0823c
Replace -std=c++11 with -std=c++0x
...
c++0x is being supported for gcc < 4.6
2014-04-03 07:23:12 +02:00
Antonis Tsiapaliokas
4305fb79b8
Add support for c++11 and fix building issues
2014-04-03 07:23:12 +02:00
Antonis Tsiapaliokas
52326ac892
Fix license
2014-04-03 07:23:12 +02:00
Antonis Tsiapaliokas
1d6dee92fc
Initial commit
2014-04-03 07:23:12 +02:00
l10n daemon script
eef56c98b2
SVN_SILENT made messages (.desktop file)
2014-04-03 05:10:09 +00:00
Alex Richardson
5977545ee6
Fix invalid escape sequence
2014-03-25 22:17:15 +01:00
l10n daemon script
10f89d6019
SVN_SILENT made messages (.desktop file)
2014-03-24 04:35:26 +00:00
Martin Gräßlin
b274fb9297
InputRedirection emits a signal when the modifiers change
...
Used by Cursor to properly emit the mouseChanged signal which for
historic reasons includes the keyboard modifiers.
Again some fiddling around with the autotests and kcmrules needed to
make it compile. This needs improvement!
2014-03-19 14:14:56 +01:00
Martin Gräßlin
704e42163d
[kwin] Add missing includes
...
Were missing if built stand-alone.
2014-03-18 14:37:01 +01:00
Martin Gräßlin
18a37d7ee8
[kwin] Fix includes of kde4support headers
...
* drop unused headers
* use QExplicitlySharedDataPointer instead of KSharedPointer
* drop KDE/ from includes
2014-03-18 14:34:36 +01:00
Martin Gräßlin
9874187099
[kwin] Add a KWIN_SOURCE_DIR to the CMakeLists.txt
...
This is used to get to KWin's sources instead of
KDEBASE_WORKSPACE_SOURCE_DIR.
2014-03-18 12:08:14 +01:00
Martin Gräßlin
642f643dff
[kwin/kcmtabbox] Port away from kde4_add_ui_files
2014-03-18 11:51:35 +01:00
Martin Gräßlin
dbf2218338
[kwin] kde4_add_ui_files -> qt5_wrap_ui
...
Less deprecated CMake usage.
2014-03-18 11:06:56 +01:00
Martin Gräßlin
dc58fc2c32
[kwin/kcms] Another round of kdialog removals
2014-03-18 09:11:07 +01:00
Martin Gräßlin
7523c1e7d7
Integrate KWin::Cursor with InputRedirection
...
New inheriting class which uses the InputRedirection to track the cursor
position. It doesn't support warping of cursor.
This introduces a slight dependency loop in the startup. Cursor needs to
be created after the WaylandBackend to ensure that the operation mode is
set correctly. But the WaylandBackend itself is accessing Cursor. It
should be safe as inside the WaylandBackend it's only accessed after
callbacks.
2014-03-18 09:00:49 +01:00
Martin Gräßlin
8e4f8f0d9c
[kwin/kcms] Only link KCMUtils where needed
...
In some KCMs we don't use anything from KCMUtils but just KCModule
which is in ConfigWidgets.
2014-03-18 07:41:30 +01:00
Martin Gräßlin
2fad6dbf46
[kwin/kcmkwinoption] Remove unused kdialog.h include
...
It's kde4support and we don't have that.
2014-03-18 07:34:33 +01:00
Martin Gräßlin
74a4a1cd42
[kwin/kcmkwinoption] Remove not needed config-workspace.h include
...
There are no ifdefs taken from that code.
2014-03-18 07:32:45 +01:00
Aleix Pol
c72e519d9c
Remove KDE/ prefix in include directories
...
It's unneeded and deprecated since KF5.
2014-03-17 16:24:10 +01:00
Martin Gräßlin
abecbf2369
[kwin] Port away from deprecated functionality in KWindowSystem
...
Less warnings and more type safety.
2014-03-17 10:22:20 +01:00
Martin Gräßlin
b38722dc04
[kwin] Adjust to changes in NETRootInfo ctor
...
Takes flag types.
2014-03-17 08:30:58 +01:00
Martin Gräßlin
f74df28450
[kwin] Use KPluginTrader and json metadata to find KDecorations
...
* A KDecoration needs to include json metadata
* A KDecoration needs to be installed to kwin/kdecorations
* Aurorae and Oxygen adjusted
* kcmdeco locates all decorations through the KPluginTrader
* libkdecoration uses KPluginTrader to find the plugin
* config plugins also need to include json metadata with
X-KDE-PluginInfo-Name being the same as the decoration
* config plugins need to get installed to kwin/kdecorations/config
* kcmdeco locates the config plugin for a deco through the name
and KPluginTrader
REVIEW: 116765
2014-03-17 07:41:14 +01:00
l10n daemon script
4d9c6af719
SVN_SILENT made messages (.desktop file)
2014-03-14 07:37:21 +00:00
Martin Gräßlin
a51cbf7b9e
[kwin/kcmdeco] Show an information if close window by dbl click gets activated
...
The option changes the behavior of the menu button, thus we should point
out to the user that the behavior changes.
This is only done for Auroae configurations as other decorations have to
take care about it themselves.
CCBUG: 331462
REVIEW: 116715
2014-03-12 07:33:47 +01:00
Martin Gräßlin
9fc3aabc66
[kwin/aurorae] Default to no close on double click menu button
...
To increase consistency with other decorations and because it changes
the behavior of the menu button in an unexpected way we default to
double click menu button doesn't close the window.
BUG: 331462
FIXED-IN: 5.0
REVIEW: 116716
2014-03-11 15:46:21 +01:00
Martin Gräßlin
2675b5d4e7
Merge branch 'KDE/4.11'
...
Conflicts:
CMakeLists.txt
kcontrol/screensaver/screensaver.desktop
kdm/kfrontend/themes/elarun/KdmGreeterTheme.desktop
khotkeys/kcm_hotkeys/kcm_hotkeys.cpp
kinfocenter/main.cpp
kscreensaver/kblank_screensaver/blankscrn.cpp
kscreensaver/krandom_screensaver/random.cpp
kstyles/oxygen/config/main.cpp
kstyles/oxygen/demo/main.cpp
ksysguard/gui/ksysguard.cpp
kwin/clients/oxygen/demo/main.cpp
kwin/kcmkwin/kwincompositing/kwincompositing.desktop
kwin/tabbox/qml/clients/text/metadata.desktop
kwin/tabbox/qml/clients/window_strip/metadata.desktop
libs/plasmagenericshell/widgetsexplorer/package/metadata.desktop
plasma/desktop/applets/pager/package/metadata.desktop
plasma/desktop/shell/activitymanager/package/metadata.desktop
plasma/desktop/shell/data/layouts/org.kde.plasma-desktop.defaultPanel/contents/layout.js
plasma/desktop/shell/desktopcorona.cpp
plasma/desktop/shell/main.cpp
plasma/desktop/toolboxes/plasma-toolbox-desktoptoolbox.desktop
plasma/desktop/toolboxes/plasma-toolbox-paneltoolbox.desktop
plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml
plasma/generic/applets/systemtray/protocols/fdo/fdographicswidget.cpp
plasma/generic/applets/systemtray/protocols/fdo/fdographicswidget.h
plasma/generic/applets/systemtray/protocols/fdo/x11embeddelegate.cpp
plasma/generic/runners/nepomuksearch/plasma-runner-nepomuksearch.desktop
plasma/generic/wallpapers/color/plasma-wallpaper-color.desktop
plasma/generic/wallpapers/image/plasma-wallpaper-image.desktop
plasma/netbook/shell/nettoolbox/plasma-toolbox-nettoolbox.desktop
statusnotifierwatcher/statusnotifierwatcher.cpp
systemsettings/app/main.cpp
2014-03-10 21:21:16 +01:00
l10n daemon script
fbd985ae3d
SVN_SILENT made messages (.desktop file)
2014-03-10 07:33:17 +00:00
Martin Gräßlin
aee20b4a5a
Hide the OnAllDesktops button if there is only one virtual desktop
...
In KCommonDecoration the OnAllDesktops button gets hidden or shown
depending on the number of desktops. For that KDecoration is extended
by a new property which delegates to the bridge to return whether
onAllDesktops is available. In KWin Core this is implemented using
the number of desktops.
FEATURE: 321611
FIXED-IN: 5.0.0
REVIEW: 116076
2014-03-05 13:02:32 +01:00
Martin Gräßlin
4dff7888e3
[kwin] Drop build option to build without scripting
...
Scripting has proved it's point of being useful so it's time to turn it
into a mandatory part of KWin.
Also I start to use features provided by Scripting in more and more
parts of KWin core (e.g. sharing QQmlEngine) which makes it in the
long to complicated to have a build option and ifdefs for it.
REVIEW: 116587
2014-03-04 08:19:55 +01:00
Martin Gräßlin
59d91b9fd3
Use KPluginLoader to load the decoration config dialog
...
Straight forward update from KLibrary to KPluginLoader.
REVIEW: 115931
2014-03-03 14:20:08 +01:00
Martin Gräßlin
b3d3c45149
Use KPluginLoader to load our decoration plugins
...
This simplifies the plugin loading. Decorations just have to use
K_PLUGIN_FACTORY to specify how the KDecorationFactory needs to be
created. The KWIN_DECORATION macro is adjusted to generate the
boiler plate code, but it now needs to specify the name for the
pluginfactory and the KDecorationFactory.
This also transits the decoration abi version check to use
K_EXPORT_PLUGIN_VERSION which also simplifies the loading.
As a result the complete canLoad handling in DecorationPlugins is
removed.
REVIEW: 115930
2014-03-03 13:55:52 +01:00
Martin Gräßlin
3d6a77cdd7
[kwin/kcmdeco] Fix layout of button config dialog
2014-02-27 11:48:16 +01:00
Martin Gräßlin
4586767db8
[kwin] Use imported targets for all XCB libs
...
Requires 04f78489265b6e52cabd2980dfc417abeee3a695 from ECM
2014-02-25 15:48:39 +01:00
l10n daemon script
170c5a50bd
SVN_SILENT made messages (.desktop file)
2014-02-24 07:26:52 +00:00
Martin Gräßlin
b8f9fb254f
Fix config dialog of Aurorae decorations
...
Install the layout on the dialog not on the KCM.
2014-02-21 12:12:05 +01:00
Martin Gräßlin
b901928801
Fix position of buttons in decoration config dialog
...
Add after the main item, not before.
2014-02-21 12:08:31 +01:00
l10n daemon script
fab5def5e9
SVN_SILENT made messages (.desktop file)
2014-02-18 09:04:31 +00:00
l10n daemon script
6f8c3dd771
SVN_SILENT made messages (.desktop file)
2014-02-18 05:12:30 +00:00
Bhushan Shah
be8920d76c
kwin is now free of KDE4Support
...
REVIEW: 115760
2014-02-16 00:31:01 +05:30
Hrvoje Senjan
814ff851b4
Use correct Activities, they are now a proper framework
2014-02-13 20:06:33 +01:00
Martin Gräßlin
3ea8f0c217
[kwin/kcmdesktop] Don't crash if run on platform Wayland
...
Not much use currently as we don't have any desktops to configure,
but not crashing is nevertheless quite nice.
2014-02-11 15:27:28 +01:00
Martin Gräßlin
fdee4ea8c8
Adjust kde-workspace to introduction of flags in NET classes
2014-02-05 17:40:19 +01:00
Martin Gräßlin
9414d8f7f1
[kwin] Re-enable KActivities support
...
* KWin lists the activities in the Alt+F3 menu
* Kcmrules though looks wrong
2014-02-03 13:40:47 +01:00
Martin Gräßlin
a6c47e0314
[kwin] Add ProvidersUrl to *.knsrc
...
That at least inits the GHNS download dialog.
2014-02-03 13:04:12 +01:00
Martin Gräßlin
16c44810cb
[kwin] Drop more unused includes
...
--warnings
2014-02-03 11:45:35 +01:00
Martin Gräßlin
fcebfa799f
[kwin] Fix ordering
...
--warnings
2014-02-03 11:37:04 +01:00
Martin Gräßlin
014cdf9267
[kwin] Mark unused variables as unused
...
--warnings
2014-02-03 11:36:21 +01:00
Martin Gräßlin
981e7afa96
[kwin/kcmrules] Call setupUi before accessing the ui widgets
...
This caused a crash with Qt 5.3 dev branch as the widgets are null
before setupUi is called. Might be a bug in Qt but still it makes
sense to first call setupUi and then do further changes to the Ui.
2014-01-30 10:39:40 +01:00
Martin Gräßlin
823222567e
[kwin/kcmrules] Use a pointer for the KWindowInfo member variable
...
The reason for this change is that the default ctor of KWindowInfo
creates a broken object. Calling any method in it will result in a
crush. Thus it is scheduled for removal in kwindowsystem framework
causing this code to no longer compile.
The solution is to use a pointer and set it to null as long as the
window has not been detected yet. To ensure that this doesn't fail
badly an assert is added to the getter in DetectWidget.
2014-01-30 10:35:35 +01:00
Laurent Navet
d246518b9f
KWin: kwinoptions: port to KF5
...
CMakelist ui port to KF5
clean unneeded #include
Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
REVIEW: 115272
2014-01-24 14:15:34 +01:00
Laurent Navet
2fe4d47c15
KF5 port KButtonGroup -> QGroupBox
...
Replace deprecated KButtonGroup by QGroupBox
Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
REVIEW: 114423
2014-01-22 08:27:44 +01:00
l10n daemon script
551c0c49e6
SVN_SILENT made messages (.desktop file)
2014-01-20 04:05:30 +00:00
l10n daemon script
588ad2be66
SVN_SILENT made messages (.desktop file)
2014-01-19 06:36:32 +00:00
l10n daemon script
22a5e1109f
SVN_SILENT made messages (.desktop file)
2014-01-19 04:06:03 +00:00
Martin Gräßlin
544820793e
And another KNS3 build fix
2014-01-15 21:21:31 +01:00
Martin Gräßlin
930a6b5e05
Ensure the KDE4Support KNS headers are not included
...
This should hopefully unbreak the Jenkins build.
2014-01-15 20:32:40 +01:00
l10n daemon script
eac8a41fed
SVN_SILENT made messages (.desktop file)
2014-01-15 04:10:52 +00:00
l10n daemon script
45c3835fd7
SVN_SILENT made messages (.desktop file)
2014-01-14 07:28:35 +00:00
l10n daemon script
1f5b73941d
SVN_SILENT made messages (.desktop file)
2014-01-14 04:06:51 +00:00
Matteo De Carlo
aad36da80b
Replace NULL with nullptr in kcmkwin
...
Replacing all NULL to nullptr in all the files in kcmkwin folder
(also substituting some "0" used as nullptr with nullptr)
REVIEW: 114803
2014-01-08 10:30:38 +01:00
l10n daemon script
723dce4e4c
SVN_SILENT made messages (.desktop file)
2014-01-08 06:31:01 +00:00
l10n daemon script
ff562dc8bf
SVN_SILENT made messages (.desktop file)
2014-01-08 04:01:27 +00:00
Martin Gräßlin
2837550cbb
[kcm-kwintabbox] Add properties brightness and saturation to ThumbnailItem
...
This was missing from what is available in KWin core. The brightness and
saturation are implemented using a custom shader which uses the same
logic as what we use in the scene shader.
2014-01-03 16:54:07 +01:00
Martin Gräßlin
19d567ef7f
[kcm-kwintabbox] Use QQuickItem for Thumbnail instead of QQuickPaintedItem
...
We are only rendering an image, so it's better to load the image into a
texture. This allows to properly scale the example preview which
magically fixes all the layouting problems which used to be there.
2014-01-03 14:10:17 +01:00
Martin Gräßlin
33921a9535
[kcm-kwintabbox] Add a debug message on failed QML loading
...
If the Layout Preview fails to load the Qml, at least show a debug
message to see what's going wrong.
2014-01-03 11:24:23 +01:00
l10n daemon script
938332b6ac
SVN_SILENT made messages (.desktop file)
2013-12-23 06:26:56 +00:00
l10n daemon script
63165c870f
SVN_SILENT made messages (.desktop file)
2013-12-23 03:57:54 +00:00
Mihail Ivchenko
26f390f4ed
[kwin/kcm-tabbox] Implemented ExampleClientModel::longestCaption()
...
REVIEW: 114608
2013-12-22 12:38:05 +01:00
Martin Gräßlin
5339d28389
[kwin] Drop old kwincompositing KCM
...
It's going to be replaced by kwin-compositing-kcm, see
https://projects.kde.org/projects/playground/base/kwin-compositing-kcm
2013-12-16 13:27:56 +01:00
Martin Gräßlin
1d7ee61741
[kwin] Register QAbstractItemModel as a qml type in TabBox
...
It's needed if we don't import any Plasma components.
2013-12-16 11:48:41 +01:00
Laurent Navet
17d28f2639
KF5 port KTabWidget -> QTabWidget
...
Replace deprecated KTabWidget with QTabWidget
Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
REVIEW: 114465
2013-12-16 10:10:17 +01:00
Martin Gräßlin
2486e8e36e
[kwin/kcmdeco] Add missing i18n call
2013-12-14 16:10:32 +01:00
Laurent Navet
2f62a2d1b8
KF5 Port KIntNumInput->QSpinBox
...
Replace deprecated KIntNumImput with QSpinBox
Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
REVIEW: 114413
2013-12-13 08:54:42 +01:00
Laurent Navet
88fc43beeb
kwin : replace Q_FOREACH with for(a:b)
...
replace Q_FOREACH loops with newer for (a:b) notation
Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
REVIEW: 114222
2013-12-13 08:54:34 +01:00
Martin Gräßlin
f5340a27c5
[kwin/tabbox] Drop define TABBOX_KCM
...
No longer needed as the preview does not include the tabboxhandler
any more.
2013-12-12 11:29:25 +01:00
Martin Gräßlin
f63797d3b1
[kcm-kwintabbox] Fix icon in preview
2013-12-12 11:26:57 +01:00
Martin Gräßlin
058a5da2dd
[kcm-kwintabbox] Adjust Preview to the new Switcher API
...
Needs to implement a dummy switcher item. As the root item of the
switchers are no longer QQuickItem derived it cannot use a QQuickView.
Instead a component gets created and the switcher is just shown on the
primary screen. It's a more appropriate preview now which is not
put into a dialog window.
To make it more realistic (and to be able to dismiss it) the preview
grabs keyboard and mouse and closes itself if escape, return, enter or
space is pressed.
As well clicking outside the preview window closes the preview.
2013-12-12 11:19:16 +01:00
Martin Gräßlin
2e78144a14
[kcm-kwintabbox] Add clipTo property to thumbnailitem implementation
2013-12-12 10:10:47 +01:00
Martin Klapetek
54bc491c46
Port to KF5 renaming changes
2013-12-11 21:41:47 +01:00
Martin Gräßlin
c063978591
Adjust to new KGlobalAccel framework
2013-12-10 07:38:54 +01:00
l10n daemon script
68ce64de5c
SVN_SILENT made messages (.desktop file)
2013-12-07 06:21:08 +00:00
Martin Gräßlin
e92d02ab61
[kwin] Remove include of kdemacros.h from kwinglobals
...
Instead we generate an export header for kdeinit_kwin and use it
to declare the KWIN_EXPORT. With this change our libs don't include
any KDE4Support headers any more. One step closer to no KDE4Support.
2013-12-06 08:37:16 +01:00
Aleix Pol
f8468b4043
Drop KDE4Support in kde-workspace/kwin
...
REVIEW: 114316
2013-12-05 20:24:02 +01:00
Martin Gräßlin
a4169ae35f
Remove unneeded KDebug include
...
REVIEW: 114289
2013-12-05 09:40:48 +01:00
Martin Gräßlin
affa7da944
[kcm-kwinrules] Add option for window decoration scheme
2013-11-25 10:21:21 +01:00
Martin Gräßlin
23a510c0b5
[kdecorations] Add a ::palette() to the decoration API
...
The ::palette() in KDecoration and KCommonDecoration returns the
QPalette the decoration should use for the decorated window. The
call delegates into the bridge and KWin core might provide a special
QPalette for a given Client depending on the _KDE_NET_WM_COLOR_SCHEME
property.
2013-11-25 09:44:23 +01:00
l10n daemon script
f9a9ecceb8
SVN_SILENT made messages (.desktop file)
2013-11-25 04:11:42 +00:00
l10n daemon script
1885a90393
SVN_SILENT made messages (.desktop file)
2013-11-24 06:42:15 +00:00
l10n daemon script
8484628fd0
SVN_SILENT made messages (.desktop file)
2013-11-24 04:09:32 +00:00
l10n daemon script
4abba66bf0
SVN_SILENT made messages (.desktop file)
2013-11-23 06:30:36 +00:00
l10n daemon script
551988ebd4
SVN_SILENT made messages (.desktop file)
2013-11-23 03:52:00 +00:00
Martin Gräßlin
20d03d5754
[kcmkwindesktop] Adjust to changes in NETRootInfo
2013-11-18 13:50:18 +01:00
l10n daemon script
d36319ebbe
SVN_SILENT made messages (.desktop file)
2013-11-17 06:36:34 +00:00
l10n daemon script
833d1f85c2
SVN_SILENT made messages (.desktop file)
2013-11-17 04:07:54 +00:00
Aleix Pol
7b110f0671
Improve CMake usage
...
It's basically a run of the port-cmake.sh script in here, mostly the changes
are the following:
- Using KF5::* targets
- Using the proper macros, following recent developments in frameworks
2013-11-15 13:37:47 +01:00
Martin Gräßlin
07294b49f2
[kcmdeco] Use new DecorationButton types for describing the buttons
...
Rather heavy change to get the kcm to no longer use the string based
definition of the buttons on the left and right.
2013-11-14 09:41:52 +01:00
Martin Gräßlin
f03104ac17
[kcmdeco] Connect PreviewItem to factory's recreateDeco signal
2013-11-14 09:41:52 +01:00
Martin Gräßlin
3ea18be574
[kcmdeco] Move KDecorationPreviewOptions into the Model
...
We need to have it around and not in the Preview widget to be able
to update the options when the buttons change.
2013-11-14 09:41:52 +01:00
Martin Gräßlin
aab6037c4a
[kcmdeco] KIcon -> QIcon::fromTheme
2013-11-14 09:41:52 +01:00
Martin Gräßlin
b150d9ddc1
[kcmdeco] Clean up includes
2013-11-14 09:41:52 +01:00
Martin Gräßlin
a98dbd7460
[kcmdeco] Drop the old preview code
...
All the rendering to QPixmap code in the Model and the Preview is
deleted as it's no longer used.
The model still has the plugin for the border size functionality.
This probably needs a change in the API to make it completely bound
to the decoration and not a global thing.
2013-11-14 09:41:52 +01:00
Martin Gräßlin
1674824e79
[kcmdeco] Introduce a new PreviewItem for rendering QWidget based decos in QML
...
Using a QQuickPaintedItem for the rendering. The item gets the library
name from the model and loads the decoration with its own decoration
plugin. Thus each preview has its own plugin which eliminates the need to
constantly recreate the decoration as it is done with the preview.
Having a QQuickItem gives new possibilities. The item accepts hover
events and forwards them as enter and leave events to the widgets inside
the decoration. By that the mouse interaction of e.g. Oxygen is still
functional. If the decoration uses the new update approach the bridge is
forwarding the updates to the item and triggering a repaint so we even
have animations in the preview although the widget is never shown.
2013-11-14 09:41:52 +01:00
Martin Gräßlin
d6bf62eb3e
[kdecorations] Drop initialParentWidget()
...
No longer needed for creating the preview and not set in our main
bridge. Thus it can go and we just use NULL as the parent widget.
2013-11-14 09:41:50 +01:00
Martin Gräßlin
51ee2e86d1
[kdecorations] Introduce new way to schedule updates in composited case
...
The PaintRedirector calls the new method KDecoration::render and passes
it's PaintDevice and the region to update to it. A decoration can
implement this method and provide an optimized implementation for the
painting which does not go through the deco's QWidget at all. In addition
the decoration can invoke an update() slot which will schedule a repaint
in the PaintRedirector and thus completely replaces the need for
intercepting paint events on the QWidget and also allows to add QWindow
based decorations in future.
2013-11-14 09:41:50 +01:00
Martin Gräßlin
62ae322e70
[kwin/tabbox] Re-add dependency to kdeclarative
2013-11-13 10:59:38 +01:00
l10n daemon script
da4610f06a
SVN_SILENT made messages (.desktop file)
2013-11-13 06:29:31 +00:00
l10n daemon script
4edf01bd62
SVN_SILENT made messages (.desktop file)
2013-11-13 03:59:37 +00:00
David Edmundson
59e3d0e099
kde4_install_icons -> ecm_install_icons
...
REVIEW: 113600
2013-11-04 13:24:41 +01:00
l10n daemon script
feeb45445b
SVN_SILENT made messages (.desktop file)
2013-11-03 06:20:25 +00:00
l10n daemon script
865bcdce38
SVN_SILENT made messages (.desktop file)
2013-11-03 03:52:50 +00:00
Bhushan Shah
935851a2b5
kDebug -> qDebug in kwin
2013-11-01 17:00:41 +05:30
Aurélien Gâteau
05b6de1002
${KDE4Support_LIBRARIES} => KF5::KDE4Support
...
Fixes a few link errors
2013-10-29 13:00:46 +01:00
l10n daemon script
e01d259072
SVN_SILENT made messages (.desktop file)
2013-10-21 04:05:04 +00:00
Thomas Lübking
9bf14c2653
Merge branch 'KDE/4.11'
...
Conflicts:
kwin/clients/aurorae/src/aurorae.cpp
2013-10-20 19:40:48 +02:00
Thomas Lübking
3692549170
fix deco config updates
...
- B2 linked to the wrong slot (instead of changed signal)
- border size change was not written (for B2, Laptop etc)
- Aurorae didn't recreate decos when required
BUG: 325946
FIXED-IN: 4.11.3
REVIEW: 113229
2013-10-20 19:37:14 +02:00
Sebastian Kügler
b68867463e
Change KF5::plasma to KF5::Plasma
...
Library name has changed in plasma-framework to bring it in line with
KF5:CamelCasing naming.
2013-10-16 01:36:56 +02:00
l10n daemon script
ad3449f3b1
SVN_SILENT made messages (.desktop file)
2013-10-09 06:54:18 +00:00
l10n daemon script
23fbf4395f
SVN_SILENT made messages (.desktop file)
2013-10-09 04:14:36 +00:00
Sebastian Kügler
1c3e540507
kde4_add_kdeinit_executable becomes kf5_add_kdeinit_executable
2013-10-08 01:00:27 +02:00
Sebastian Kügler
63b2a8f84a
Add KCompletion to targets
2013-10-04 22:14:58 +02:00
Sebastian Kügler
c542fda7af
Add KService and KCompletion to targets
2013-10-04 22:14:17 +02:00
Martin Gräßlin
a63ca0c311
Fix linking and includes
...
Seems like there were some changes, we need more explicit linking.
2013-10-02 15:23:56 +02:00
Martin Gräßlin
93a94d3f1f
Welcome back decoration KCModule!
...
And with that all kwinkcms are ported modulo kwincompositing which
is going to be replaced.
2013-10-01 14:05:59 +02:00
Martin Gräßlin
d1559341d6
[kcmdeco] Adjust linking for the KCM
2013-10-01 14:05:59 +02:00
Martin Gräßlin
9013f4ac8f
[kcmdeco] Use QtQuick2 for the decoration preview list
...
This introduces quite some changes. We cannot include a QQuickView
directly in the QWidget based UI as a replacement for the
QDeclarativeView used before.
Instead a QScrollArea is used as replacement for the view and a
QQuickView is embedded into a widget container in the scroll area's
view port. This allows us to keep the existing semantic of having a
native scroll bar synced with the list view. It might be an idea to
change this to QtQuickControls in future.
As the list view is now only inside the scroll area we do not need to
pass the slider width to the root context and can by that more easily
calculate the width of one decoration.
2013-10-01 14:05:59 +02:00
Martin Gräßlin
9caba1cb8d
[kcmdeco] Fix finding of all Aurorae themes
2013-10-01 14:05:59 +02:00
Martin Gräßlin
0288f42bc0
[kcmdeco] Handle reset of factory in new way
...
Reset on the factory cannot be invoked directly anymore. The factory
connects to change signals and emits a signal in case the decorations
need to be re-created. So we need to connect to this signal whenever
we expect that a change might trigger a recreation.
2013-10-01 14:05:59 +02:00
Martin Gräßlin
95bf0bb84f
[kcmdeco] Add override to all virtual methods in preview.h
...
One method changed, so make sure it hits a compile error if we
change another one.
2013-10-01 14:05:59 +02:00
Martin Gräßlin
127d68486d
[kcmdeco] Drop componentData()
2013-10-01 14:05:59 +02:00
Martin Gräßlin
f402fb9ea2
[kcmdeco] No QStringLiteral in a Q_FOREACH
...
Interesting compile error. Switching to modern for loop fixes the
issue.
2013-10-01 14:05:59 +02:00
Martin Gräßlin
0efe2462ee
[kcmdeco] kcmshell4 -> kcmshell5
2013-10-01 14:05:59 +02:00
Martin Gräßlin
fe0493e63d
[kcmdeco] Adjust includes
2013-10-01 14:05:58 +02:00
Martin Gräßlin
bd60db95f0
[kcmdeco] Adjust to new KAboutData
2013-10-01 14:05:58 +02:00
Martin Gräßlin
a4f55070f2
[kcmdeco] KIcon -> QIcon::fromTheme
2013-10-01 14:05:58 +02:00
Martin Gräßlin
2ff2164ba0
[kcmdeco] Use KConfigLoader instead of Plasma::ConfigLoader
2013-10-01 14:05:58 +02:00
Martin Gräßlin
56722972a7
[kcmdeco] Adjust to kdecoration changes
...
There are no unstable classes any more.
2013-10-01 14:05:58 +02:00
Martin Gräßlin
8681c69d60
[kcmdeco] slots/signals -> Q_SLOTS/Q_SIGNALS
2013-10-01 14:05:58 +02:00
Martin Gräßlin
97572f3dbb
[kcmtabbox] kcmshell4 -> kcmshell5
2013-10-01 07:27:21 +02:00
Martin Gräßlin
ea0233df3b
Welcome back KCM to configure Alt+Tab and friends
2013-10-01 07:17:27 +02:00
Martin Gräßlin
ffd1bb1dec
[kcmtabbox] Adjust target link libraries to get it compile again
2013-10-01 07:16:56 +02:00
Martin Gräßlin
db89652175
[kcmtabbox] Preview goes QtQuick
...
QQuickView instead of a QDeclarativeView. As background a white element
is used.
2013-10-01 07:15:11 +02:00
Martin Gräßlin
06033f1263
[kcmtabbox] Fix includes
2013-09-30 15:13:14 +02:00
Martin Gräßlin
81301d42ac
[kcmtabbox] slots -> Q_SLOTS
2013-09-30 15:12:36 +02:00
Martin Gräßlin
5c23434b6d
[kcmtabbox] Adjust to new API
...
* no componentData()
* no insertCatalog()
2013-09-30 15:11:34 +02:00
Martin Gräßlin
a560147d70
[kcmtabbox] KIcon -> QIcon::fromTheme
2013-09-30 15:09:07 +02:00
Martin Gräßlin
3a54d6bd42
[kcmtabbox] Adjust to new global shortcut handling
...
* KAction -> QAction
* init of KActionCollection
2013-09-30 15:07:49 +02:00
Martin Gräßlin
2baa345d10
[kcm-tabbox] Use a QQuickPaintedItem for the ThumbnailItem
2013-09-30 15:02:58 +02:00
Sebastian Kügler
ab08d3da9b
Don't look for plasma headers under KDE
2013-09-30 11:32:16 +02:00
Martin Gräßlin
4ddaea4824
Welcome back KWin Scripts KCM!
...
Currently not of much use as installing a local script is disabled and
GHNS dialog seems broken.
2013-09-30 11:19:36 +02:00
Martin Gräßlin
c118b1147d
[kwinscripts] Adjust target link libraries for kwinscripts KCM
2013-09-30 11:19:02 +02:00
Martin Gräßlin
2e47f34398
[kwinscripts] Disable installing a local script for the moment
...
Plasma::Package changed in a way that it's not just a trivial change
to get it compile again.
2013-09-30 11:17:40 +02:00
Martin Gräßlin
469a0c255c
[kwinscript] Adjustments to obsoleted members
...
* KAboutData
* removing insert catalog
* KIcon -> QIcon::fromTheme
* missing moc
2013-09-30 11:16:36 +02:00
Martin Gräßlin
5bdb960413
[kwinscripts] kcmshell4 -> kcmshell5
2013-09-30 11:14:33 +02:00
Martin Gräßlin
6ada27e294
[kwinscripts] slots -> Q_SLOTS
2013-09-30 11:14:05 +02:00
Martin Gräßlin
2017f82670
[kwinscripts] KFileDialog -> QFileDialog
2013-09-30 11:13:38 +02:00
Martin Gräßlin
098b8ef75d
Welcome back kwinrules KCM!
2013-09-30 09:57:25 +02:00
Martin Gräßlin
98b5f64c38
[kwinrules] Adjust linking of kwinrules KCM to Qt5/KF5
2013-09-30 09:56:35 +02:00
Martin Gräßlin
dd0537fd49
[kwinrules] kcmshell4 -> kcmshell5
2013-09-30 09:55:38 +02:00
Martin Gräßlin
689b221583
[kwinrules] workaround for assert in QFormLayout
2013-09-30 09:55:13 +02:00
Martin Gräßlin
5b1f4a4131
[kwinrules] Use KWin::Cursor to map Qt::CursorShape to an X cursor
...
Needed for grabbing the pointer.
2013-09-30 09:53:56 +02:00
Martin Gräßlin
7d21d612fe
[kwinrules] Use native event filter for mouse button release detection
...
The event filtering on Qt level does not work any more. The information
is not updated properly. Grabbing the mouse through QWidget resets the
cursor shape to the default shape, so it cannot be used.
As we don't want Qt to ever see the events it's a good idea to use a
native event filter to filter the events away before they are delivered
to Qt.
To simplify the handling the grabber widget is put into a QScopedPointer.
2013-09-30 09:53:01 +02:00
Martin Gräßlin
3956c73c53
[kwinrules] KIcon -> QIcon::fromTheme
2013-09-30 08:44:57 +02:00
Martin Gräßlin
6dd47092f7
[kwinrules] drop componentData()
2013-09-30 08:44:16 +02:00
Martin Gräßlin
e2afaacdb6
[kwinrules] Adjust to new KAboutData
2013-09-30 08:43:40 +02:00
Martin Gräßlin
e8e8c210b6
[kwinrules] KFileDialog -> QFileDialog
2013-09-30 08:43:09 +02:00
Martin Gräßlin
5eb7a22ef8
[kwinrules] slots/signals -> Q_SLOTS/Q_SIGNALS
2013-09-30 08:01:46 +02:00
Martin Gräßlin
a957eedc61
Welcome back kwinoption config modules
...
* Actions
* Advanced
* Focus
* Moving
* Window Behavior
2013-09-30 07:32:53 +02:00
Martin Gräßlin
acb02be357
[kwinoptions] kcmshell4 -> kcmshell5
2013-09-30 07:32:23 +02:00
Martin Gräßlin
d4735333d5
[kwinoptions] Adjust target link libraries for Qt5/KF5
2013-09-30 07:31:40 +02:00
Martin Gräßlin
65516b64b7
[kwinoptions] Add missing includes
2013-09-30 07:30:06 +02:00
Martin Gräßlin
4413859084
[kwinoptions] Drop componentData()
2013-09-30 07:29:38 +02:00
Martin Gräßlin
e1e76f9e17
[kwinoptions] Port KAboutData
...
Not sure whether it's still useful given the plugin data, but it's such
a nice who's who of the first KDE developer generation.
2013-09-30 07:27:48 +02:00
Martin Gräßlin
d70ad3b275
[kwinoptions] slots -> Q_SLOTS
2013-09-30 07:26:46 +02:00
Martin Gräßlin
62a0a08a0e
Welcome back KWin screen edges KCM
...
Screenedges KCM is adjusted to build against Qt5. Most notable
changes:
* no longer links kworkspace as ScreenPreviewWidget got moved into
the KCM
* ui file is adjusted to not crash (see git log of kcmdesktop)
2013-09-29 10:27:48 +02:00
Martin Gräßlin
a4a436807f
Make the ScreenPreviewWidget useable again
...
Removes the functionality for Plasma::Wallpapers as that doesn't exist
any more and is not needed by the Screenedges KCM. The KCM still has
way too many functionality, but that can stay for the moment as it's
probably best to reimplement the monitor and the actions in QML.
2013-09-29 10:27:48 +02:00
Martin Gräßlin
fc41374111
Move ScreenPreviewWidget from kworspace libs to KWin's screenedges kcm
...
The ScreenPreviewWidget doesn't make much sense any more for the general
useage as it's not QML based and thus not suited for any usage in Plasma.
This means that features like previewing the Plasma wallpaper cannot
work any more.
The Widget is only used in a few KCMs (KDM, Screensavers, Screenedges).
Currently we expect that KDM and legacy X Screensavers won't make it into
the next release, it makes sense to just move the widget to screenedges
where it's still useful.
This change has been discussed with notmart.
2013-09-29 10:27:47 +02:00
Martin Gräßlin
5d185a9adc
Welcome back to kcmkwin - so far only desktop
...
Note to people compiling from source: it's only the default of the
cmake variable which got changed. You have to delete the variable
from the cache to get this change.
2013-09-27 13:45:25 +02:00
Martin Gräßlin
f8e4dcc115
Explicitly set verticalSpacing in QFormLayouts of kcm kwindesktop
...
Without a set verticalSpacing in QFormLayout the code hits an assert
in Qt.
2013-09-27 13:43:52 +02:00
Martin Gräßlin
72c76ce423
Port KCMDesktop to Qt 5
2013-09-27 13:43:15 +02:00
Anselmo L. S. Melo
d258759ac9
Port from KTemporaryFile to QTemporaryFile
...
REVIEW: 112742
2013-09-24 08:07:41 -03:00
Martin Gräßlin
969e6b85e7
Merge branch 'master' into frameworks-scratch
...
Conflicts:
CMakeLists.txt
kwin/client.cpp
kwin/effects/highlightwindow/highlightwindow.cpp
kwin/libkwineffects/kwingltexture.cpp
kwin/libkwineffects/kwinxrenderutils.cpp
kwin/scene_opengl.cpp
kwin/workspace.cpp
plasma/desktop/applets/kickoff/CMakeLists.txt
plasma/desktop/applets/taskmanager/package/contents/code/tools.js
plasma/desktop/applets/taskmanager/package/contents/ui/Task.qml
plasma/desktop/applets/taskmanager/package/contents/ui/main.qml
plasma/desktop/applets/taskmanager/package/metadata.desktop
plasma/desktop/applets/taskmanager/plugin/textlabel.h
plasma/desktop/applets/tasks/CMakeLists.txt
plasma/desktop/applets/tasks/package/metadata.desktop
plasma/desktop/applets/tasks/tasks.cpp
plasma/desktop/toolboxes/plasma-toolbox-desktoptoolbox.desktop
plasma/generic/applets/activitybar/activitybar.cpp
plasma/generic/wallpapers/color/plasma-wallpaper-color.desktop
plasma/generic/wallpapers/image/plasma-wallpaper-image.desktop
2013-09-24 11:28:38 +02:00
l10n daemon script
24f68febf1
SVN_SILENT made messages (.desktop file)
2013-09-09 06:48:54 +00:00
l10n daemon script
52cea9285d
SVN_SILENT made messages (.desktop file)
2013-09-09 04:11:16 +00:00
Thomas Lübking
5f1d913a11
Merge branch 'KDE/4.11'
2013-08-27 08:11:11 +02:00
Thomas Lübking
29e230dca3
enforce reactivation threshold to be 50ms bigger
...
than actication threshold.
Things don't work otherwise.
BUG: 323588
FIXED-IN: 4.11.1
REVIEW: 112125
2013-08-27 07:53:02 +02:00
Anselmo L. S. Melo
00d507b7ff
Porting kcmkwin to Qt5/KF5: QStandardPaths
...
REVIEW: 111975
2013-08-13 17:55:49 -03:00
l10n daemon script
3b2f744b49
SVN_SILENT made messages (.desktop file)
2013-08-13 07:25:19 +00:00
l10n daemon script
df17849412
SVN_SILENT made messages (.desktop file)
2013-08-13 04:19:10 +00:00
Sebastian Kügler
08a53e6a11
Remove K_EXPORT_PLUGIN macros
...
Include .moc file in configs_builtins.cpp, and reenable the build of the
configs.
REVIEW:111940
2013-08-08 13:47:25 +02:00
Martin Gräßlin
9291b18cee
Merge branch 'master' into frameworks-scratch
...
Conflicts:
CMakeLists.txt
kwin/effects.cpp
kwin/effects/logout/logout.cpp
kwin/effects/presentwindows/main.qml
kwin/effects/presentwindows/presentwindows.cpp
kwin/effects/presentwindows/presentwindows.h
kwin/effects/zoom/zoom_config.cpp
kwin/libkwineffects/kwinglutils_funcs.cpp
kwin/libkwineffects/kwinxrenderutils.cpp
kwin/nvidiahack.cpp
kwin/xcbutils.h
plasma/desktop/containments/desktop/plasma-containment-desktop.desktop
plasma/generic/wallpapers/image/image.cpp
plasma/generic/wallpapers/image/plasma-wallpaper-image.desktop
2013-08-07 10:10:06 +02:00
l10n daemon script
71a4814f4c
SVN_SILENT made messages (.desktop file)
2013-08-05 06:54:55 +00:00
l10n daemon script
30aac961f0
SVN_SILENT made messages (.desktop file)
2013-08-05 04:16:04 +00:00
l10n daemon script
ba0be05c78
SVN_SILENT made messages (.desktop file)
2013-08-04 04:29:45 +00:00
l10n daemon script
2f46414ea7
SVN_SILENT made messages (.desktop file)
2013-07-31 06:46:21 +00:00
l10n daemon script
50dfc83d2e
SVN_SILENT made messages (.desktop file)
2013-07-31 04:07:19 +00:00
l10n daemon script
8cae78b2d8
SVN_SILENT made messages (.desktop file)
2013-07-30 07:20:00 +00:00
l10n daemon script
68bf8072b2
SVN_SILENT made messages (.desktop file)
2013-07-30 04:11:51 +00:00
l10n daemon script
87a7569100
SVN_SILENT made messages (.desktop file)
2013-07-27 04:01:18 +00:00
Thomas Lübking
0b4d56a326
Merge branch 'KDE/4.11'
2013-07-24 21:05:16 +02:00
Thomas Lübking
10e7ef75ba
harmonize combo/lineedit enabling connections
...
BUG: 322650
FIXED-IN: 4.11
REVIEW: 111627
2013-07-24 21:04:08 +02:00
Martin Gräßlin
9ab751042a
Drop X11_XCB library dependency
...
We don't need it anymore - the xcb connection is also provided by
QX11Info.
2013-07-24 09:58:43 +02:00
l10n daemon script
467b772a90
SVN_SILENT made messages (.desktop file)
2013-07-21 04:08:51 +00:00
l10n daemon script
52461e5885
SVN_SILENT made messages (.desktop file)
2013-07-20 06:40:25 +00:00
Thomas Lübking
f97fa509ae
align initial slider and desscription
...
BUG: 322522
FIXED-IN: 4.11
REVIEW: 111565
2013-07-19 21:19:49 +02:00
l10n daemon script
205c557f89
SVN_SILENT made messages (.desktop file)
2013-07-05 03:48:50 +00:00
l10n daemon script
dcd670692b
SVN_SILENT made messages (.desktop file)
2013-07-01 03:54:58 +00:00
Casian Andrei
0c20edb250
Enable color correction check box for the appropriate compositing types
...
REVIEW: 111055
2013-06-24 21:33:12 +03:00
l10n daemon script
5510335da9
SVN_SILENT made messages (.desktop file)
2013-06-24 03:57:22 +00:00
l10n daemon script
502d003ef5
SVN_SILENT made messages (.desktop file)
2013-06-23 04:02:47 +00:00
l10n daemon script
a2e9957860
SVN_SILENT made messages (.desktop file)
2013-06-10 03:46:39 +00:00
l10n daemon script
31fb163a07
SVN_SILENT made messages (.desktop file)
2013-06-07 03:40:35 +00:00
l10n daemon script
34c8d6feb6
SVN_SILENT made messages (.desktop file)
2013-06-05 04:54:40 +00:00
l10n daemon script
020f6fd612
SVN_SILENT made messages (.desktop file)
2013-05-30 04:29:57 +00:00
Oliver Henshaw
47acf4ee9a
Merge remote-tracking branch 'origin/KDE/4.10' into master
...
Conflicts:
kwin/scripting/scripting.cpp
powerdevil/daemon/actions/bundled/powerdevildimdisplayaction.desktop
solid-actions-kcm/device-actions/solid-device-SerialInterface.desktop
2013-05-28 17:36:53 +01:00
Oliver Henshaw
b61bca0f3d
add qml import paths in correct order
...
addImportPath prepends the path to importPathList so we must add our
paths in reverse order.
Based on the fix for kdeclarative.cpp in kdelibs
400b9f2e9d10386bb175b6123fe0cdaafeaffe61
REVIEW: 110670
2013-05-28 17:23:19 +01:00
Oliver Henshaw
2d5ebd3b8d
Replace foreach with java-style iterator
...
In preparation for reversing the loop.
REVIEW: 110670
2013-05-28 17:23:09 +01:00
l10n daemon script
3a0999688f
SVN_SILENT made messages (.desktop file)
2013-05-24 03:35:07 +00:00
Yuri Chornoivan
0ef7822d65
Fix typos
2013-05-23 08:34:36 +03:00
Thomas Lübking
e5028bb7fc
redesign focus config GUI
...
REVIEW: 110001
2013-05-22 22:24:23 +02:00
l10n daemon script
a3b09b7ac4
SVN_SILENT made messages (.desktop file)
2013-05-22 03:36:01 +00:00
Martin Gräßlin
0ccb774309
Fix Typo
2013-05-21 09:27:38 +02:00
Script Kiddy
7e1386f415
SVN_SILENT made messages (.desktop file)
2013-05-18 10:23:03 +02:00
Script Kiddy
d2c32dc36e
SVN_SILENT made messages (.desktop file)
2013-05-17 14:36:18 +02:00
Script Kiddy
e5316fa9d9
SVN_SILENT made messages (.desktop file)
2013-05-17 09:43:27 +02:00
Martin Gräßlin
dfec59c60e
Port getStringProperty to XCB
2013-05-13 08:48:19 +02:00
Montel Laurent
dd8cf0b678
normalize signal/slot
2013-05-11 14:09:15 +02:00
Script Kiddy
68ddc5f236
SVN_SILENT made messages (.desktop file)
2013-05-11 10:34:17 +02:00
Script Kiddy
44c8899fee
SVN_SILENT made messages (.desktop file)
2013-05-10 11:04:42 +02:00
Fredrik Höglund
f06990a7e7
kwin: Refactor the UI for compositing type selection
...
Remove the "Use OpenGL 2 shaders" checkbox, and add "OpenGL 2.0"
and "OpenGL 3.1" options in the compositing type combobox.
2013-05-08 18:33:01 +02:00
Script Kiddy
5a32f8e813
SVN_SILENT made messages (.desktop file)
2013-05-06 09:31:10 +02:00
Script Kiddy
dfd72523b1
SVN_SILENT made messages (.desktop file)
2013-05-02 09:17:01 +02:00
Script Kiddy
52a831d89f
SVN_SILENT made messages (.desktop file)
2013-05-01 13:47:48 +02:00
Script Kiddy
ffc0e62f9d
SVN_SILENT made messages (.desktop file)
2013-05-01 09:12:42 +02:00
Script Kiddy
0922410d5b
SVN_SILENT made messages (.desktop file)
2013-04-30 17:35:40 +02:00
Jaime Torres
4ec0f64ea3
initialize a member and initialize a boolean
...
one less valgrind warning and one cppcheck warning less
REVIEW: 107603
2013-04-29 18:14:50 +02:00
Thomas Lübking
4ec1a9bb3a
rules kcm, detection use X11 to grab the pointer
...
BUG: 318437
REVIEW: 110078
FIXED-IN: 4.11
2013-04-28 17:39:16 +02:00
Thomas Lübking
551c9f4c22
expose ElectricBorderCornerRatio to config GUI
...
BUG: 308993
FIXED-IN: 4.11
REVIEW: 109683
2013-04-28 17:39:16 +02:00
Will Stephenson
aa8fd5f86c
Fix copy and paste error in desktop file
2013-04-26 23:40:26 +02:00
Martin Gräßlin
8037e6529c
Rename ThumbnailItem to WindowThumbnailItem
...
This is for discrimination from the to be added DesktopThumbnailItem.
The name for QML is unchanged to keep the public API stable.
2013-04-24 11:43:22 +02:00
Martin Gräßlin
badc7a2bc4
Remove show outline from TabBox
...
It's an option doing pretty much the same as the highlight of selected
window option. But it is known to conflict especially with some Plasma
themes.
BUG: 310935
FIXED-IN: 4.11
REVIEW: 110140
2013-04-24 10:02:57 +02:00
Thomas Lübking
8cf6e39eab
general tabbox support for screenedges
...
REVIEW: 109362
BUG: 316288
FIXED-IN: 4.11
2013-04-16 22:07:07 +02:00
Thomas Lübking
56d39cb327
remove moveResizeMaximized GUI
...
REVIEW: 110000
2013-04-16 22:07:05 +02:00
Thomas Lübking
adf3509647
fix initial tabs in rules kcm
2013-04-16 22:07:05 +02:00
Thomas Lübking
e7050f64a8
fix flickable bounds when filtering
...
REVIEW: 105027
BUG: 318096
FIXED-IN: 4.10.3
2013-04-09 19:00:41 +02:00
Thomas Lübking
85691c519e
fix flickable bounds when filtering
...
REVIEW: 105027
BUG: 318096
FIXED-IN: 4.10.3
2013-04-09 18:56:16 +02:00
Àlex Fiestas
8116322f93
Make activities really optional in KWin
...
KWin is already able to work without activities but there was some code
left in the rules GUI.
REVIEW: 109815
2013-04-08 17:43:57 +02:00
Script Kiddy
a66fb373b7
SVN_SILENT made messages (.desktop file)
2013-04-04 14:47:50 +02:00
Script Kiddy
6fc4e30441
SVN_SILENT made messages (.desktop file)
2013-04-04 09:29:03 +02:00
Thomas Lübking
158d060b5f
turn "ignore geometry" forcerule into a setrule
...
and btw. replace legacy "ignoreposition" by "ignoregeometry"
this will allow to use "apply initially" as "force" used to act
(ignore position on placement) and "force" to prevent clients
from reconfiguring themselves (to not break a tabgroup or to just
not be annoying)
BUG: 311720
CCBUG: 252314
REVIEW: 109691
FIXED-IN: 4.11
2013-03-28 20:31:08 +01:00
Ralf Jung
8b2b48b966
Fix Lanczos filter description
...
REVIEW: 109750
2013-03-27 09:49:53 +01:00
Yuri Chornoivan
e8806dfe56
Fix typo: stragtegy->strategy
2013-03-25 08:20:07 +02:00
Thomas Lübking
6fb5353cab
remove moveResizeMaximized option
...
REVIEW: 103948
BUG: 91703
BUG: 299245
FIXED-IN: 4.11
- The setting is ignored, the decoration always gets a "true" for it
- moving a maximized window requires breaking a "strong" snap (1/16 of screen height - unless you use quick maximization)
- all snapping is done towards the client, not the frame
- QuickTileMode is exported to the decoration (just as the maximizeMode) so that it can fix the bordersize alongside that.
2013-03-24 22:26:48 +01:00
Thomas Lübking
903c95dd52
add GUI config to select the swapstrategy
...
REVIEW: 109322
2013-03-24 22:26:48 +01:00
Martin Gräßlin
0c86d31ff2
Remove kde4_no_enable_final from CMakeLists.txt
...
Tried to build KWin with enable final: it doesn't work. So if nobody uses
it, we don't need it in the CMakeLists to make it work.
Also it's removed in KF5 which means that removing it right now removes
differences in the build system.
REVIEW: 109357
2013-03-14 12:32:06 +01:00
Martin Gräßlin
98a04893a6
Use mgraesslin@kde.org for my mail address in Copyright and AboutData
2013-03-12 13:17:53 +01:00
Martin Gräßlin
60c42b7a34
s/KLocale/KLocalizedString/g
...
Many headers included KLocale to use i18n and co. But those methods are
defined in KLocalizedString and not in KLocale.
With KF5 klocale.h does no longer include KLocalizedString causing lots
of compile errors.
2013-03-07 13:59:15 +01:00
Martin Gräßlin
32b6ef42b9
Strip module path from all Qt #include <>
...
Done with:
fixqt4headers.pl --strip-modules
REVIEW: 109176
2013-03-06 10:26:56 +01:00
Martin Gräßlin
5ea22e362d
CMake Cleanup: empty endif
2013-03-06 10:14:15 +01:00
Thomas Lübking
049cb66b22
update previews after de/installing a deco
...
CCBUG: 310613
REVIEW: 109266
FIXED-IN: 4.10.2
2013-03-05 19:25:23 +01:00
Thomas Lübking
ad521412a0
update previews after de/installing a deco
...
CCBUG: 310613
REVIEW: 109266
FIXED-IN: 4.10.2
2013-03-05 19:22:02 +01:00
Martin Gräßlin
898e120be9
Extract messages from scripts and scripting module
...
Messages in scripts are written to kwin_scripts.pot, messages in
scripting are written to kwin_scripting.pot. The cataloges are loaded in
the configuration interfaces and in main kwin.
REVIEW: 108975
2013-03-04 10:29:25 +01:00
Martin Gräßlin
3809f58dbb
Store multiple shortcuts separated by " - " instead of space
...
Space is a valid shortcut part. E.g. "Volume Up".
KConfig update script for 4.11 is added to migrate existing and erroneous
rules taking into account that space is a valid key.
BUG: 305434
FIXED-IN: 4.11
REVIEW: 108942
2013-02-25 13:30:17 +01:00
Script Kiddy
0bd6e413b2
SVN_SILENT made messages (.desktop file)
2013-02-13 00:36:34 +01:00
Script Kiddy
9af0232217
SVN_SILENT made messages (.desktop file)
2013-02-12 19:49:11 +01:00
Martin Gräßlin
2aed7b13d1
Cleanup the Preview rendering of Window Decorations
...
The preview code still contained all the old logic for embedding the
preview into another widget. Most of the code had been dead for quite
some time.
The only preview rendering code now is the one to render into a pixmap.
This is actually changed to render the widget directly at the right
position obsoleting the previous widget positioning code.
The no preview available label is dropped as it did not get rendered into
the pixmap at all.
Last but not least we fake that compositing is on. This has always been
the case for Aurorae themes and just looks better. Especially on Oxygen I
had always had some corruption when rendering this preview with
compositing disabled.
REVIEW: 108777
2013-02-12 11:51:17 +01:00
Script Kiddy
084df811d2
SVN_SILENT made messages (.desktop file)
2013-02-09 13:41:29 +01:00
Script Kiddy
c14c152cb5
SVN_SILENT made messages (.desktop file)
2013-02-09 09:05:22 +01:00
Luigi Toscano
9668273441
Merge branch 'KDE/4.10'
2013-02-08 00:28:52 +01:00
Luigi Toscano
ce5e47be5d
Extract previously untranslated UI messages.
...
CCMAIL: kde-i18n-doc@kde.org
CCMAIL: kwin@kde.org
2013-02-08 00:26:48 +01:00
Martin Gräßlin
fcae2f3c12
Merge branch 'KDE/4.10'
2013-02-06 09:27:00 +01:00
Martin Gräßlin
511d490d42
Remove obsoleted moveresizemode from KCM Rules
...
BUG: 313826
FIXED-IN: 4.10.1
REVIEW: 108669
2013-02-06 09:22:58 +01:00
Martin Gräßlin
b6d92ed4e1
Subtract slider width from width for a preview
...
This caused the generated preview to be larger than the area it is
rendered into and the reason for being scaled down.
REVIEW: 108793
2013-02-06 08:19:21 +01:00
Script Kiddy
dad894d830
SVN_SILENT made messages (.desktop file)
2013-02-06 08:18:00 +01:00
Script Kiddy
7d16cef10e
SVN_SILENT made messages (.desktop file)
2013-02-05 21:32:15 +01:00
Script Kiddy
d9191d1485
SVN_SILENT made messages (.desktop file)
2013-02-01 08:50:51 +01:00
Marco Martin
baf21f6b34
Merge branch 'KDE/4.10'
...
Conflicts:
plasma/generic/applets/batterymonitor/metadata.desktop
plasma/generic/applets/lock_logout/metadata.desktop
2013-01-31 17:00:02 +01:00
Script Kiddy
f193c56957
SVN_SILENT made messages (.desktop file)
2013-01-31 16:31:28 +01:00
Script Kiddy
ca2cf4d697
SVN_SILENT made messages (.desktop file)
2013-01-31 12:00:36 +01:00
Script Kiddy
1416c8d62c
SVN_SILENT made messages (.desktop file)
2013-01-30 16:27:26 +01:00
Script Kiddy
2ea65eb18e
SVN_SILENT made messages (.desktop file)
2013-01-26 13:21:28 +01:00
Script Kiddy
7d821f3814
SVN_SILENT made messages (.desktop file)
2013-01-26 09:04:17 +01:00
Thomas Lübking
9ae3cd3618
turn labels into checkboxes
...
BUG: 313228
2013-01-23 21:28:26 +01:00
Thomas Lübking
6ea8909ae4
keep tabbox kcm more on the left
...
CC: kde@privat.broulik.de
2013-01-23 21:28:26 +01:00
Thomas Lübking
671f84debc
turn labels into checkboxes
...
BUG: 313228
2013-01-23 21:27:47 +01:00
Thomas Lübking
36378925e7
Check max viewport and texture dimensions
...
REVIEW: 106917
2013-01-23 21:27:46 +01:00
Thomas Lübking
e642c5cb9d
Use the NULL Uuid instead of "ALL"
...
to indicate "on all activities"
REVIEW: 107855
2013-01-23 21:27:45 +01:00
Thomas Lübking
d4e12dc815
keep tabbox kcm more on the left
...
CC: kde@privat.broulik.de
2013-01-23 21:27:44 +01:00
Martin Gräßlin
5cd223f051
Improved resolving whether a window is on local machine
...
Most windows use the hostname in WM_CLIENT_MACHINE, but there are windows
using the FQDN (for example libreoffice). So instead of "foo" it is
"foo.local.net" or similar. The logic so far has been unable to properly
determine whether windows with FQDN are on the local system.
In order to solve this problem the handling is split out into an own
class which stores the information of hostname and whether it is a local
machine. This is to not query multiple times. To determine whether the
Client is on the local system getaddrinfo is used for the own hostname
and the FQDN provided in WM_CLIENT_MACHINE. If one of the queried
names matches, we know that it is on the local machine. The old logic to
compare the hostname is still used and getaddrinfo is only a fallback in
case hostname does not match.
The problem with getaddrinfo is, that it accesses the network and by that
could block. To circumvent this problem the calls are moved into threads
by using QtConcurrent::run.
Obviously this brings disadvantages. When trying to resolve whether a
Client is on the local machine and a FQDN is used, the information is
initially wrong. The new ClientMachine class emits a signal when the
information that the system is local becomes available, but for some
things this is just too late:
* window rules are already gathered
* Session Management has already taken place
In both cases this is an acceptable loss. For window rules it just needs
a proper matching of the machine in case of localhost (remote hosts are
not affected). And the case of session management is very academic as it
is unlikely that a restoring session contains remote windows.
BUG: 308391
FIXED-IN: 4.11
REVIEW: 108235
2013-01-21 16:00:49 +01:00
Aaron Seigo
de008fe200
Merge branch 'KDE/4.10'
2013-01-16 16:17:20 +01:00
Script Kiddy
3cddfdecff
SVN_SILENT made messages (.desktop file)
2013-01-16 12:37:47 +01:00
Martin Gräßlin
6b790c1608
Fix incorrect enum name
...
Sorry for breaking compilation of master...
2013-01-15 15:18:56 +01:00
Martin Gräßlin
6acae45205
Support for new decoration border sizes BorderNoSides and BorderNone
...
BorderNoSides is what is known from Oxygen as "No Side Borders". The name
should indicate that there is only a border at the bottom. BorderNone is
a mode with no borders at all.
The new enums are added to KDecoration and the KCM so that all decos can
make use of it.
Aurorae is adjusted to support the new sizes for QML themes (it breaks
the old svg based themes) and Plastik makes use of it, by rendering a
one-pixel border around the window, which illustrates that it's still up
to the decoration to decide how to make use of the setting.
REVIEW: 108164
2013-01-15 15:07:22 +01:00
Martin Gräßlin
5f4935fc66
Merge branch 'KDE/4.10'
...
Conflicts:
kwin/workspace.cpp
2013-01-14 15:43:01 +01:00
Script Kiddy
88f998a924
SVN_SILENT made messages (.desktop file)
2013-01-14 12:46:29 +01:00
Martin Gräßlin
51ce05e445
Use a more sane default for delay focus and autoraise in FFM
...
At the same time ensuring that KCM and KWin::Options use the same value.
Should be ported to KConfigXT some day.
REVIEW: 108288
2013-01-11 08:57:42 +01:00
Martin Gräßlin
b5ed419ec6
Remove all Q_WS_X11 ifdefs
...
Not sure why some KCMs used the define, but complete KWin is not compiled
for WIN32 and the define is useless in Qt 5 anyway.
REVIEW: 108319
2013-01-11 08:35:47 +01:00
Weng Xuetian
d24ed172cb
Merge remote-tracking branch 'origin/KDE/4.10'
2013-01-10 03:04:28 -05:00
Martin Gräßlin
be30716c97
Add walk through desktops shortcuts to Virtual Desktops KCM
...
BUG: 306404
FIXED-IN: 4.11
REVIEW: 108287
2013-01-10 08:27:23 +01:00
Martin Gräßlin
11f9d9f5c1
Use KPushButton for GHNS in Effects KCM
...
Also rename to proper name "Get New Effects ...".
BUG: 309724
FIXED-IN: 4.11
REVIEW: 108286
2013-01-10 08:25:45 +01:00
Weng Xuetian
b266b2fb2d
fix kwintabbox kcm layout
...
gridlayout doesn't work with spacer to center some widget. use BoxLayout
instead.
2013-01-09 15:06:30 -05:00
Martin Gräßlin
ad65af23d7
Remove unused code
...
SVN_SILENT
2013-01-08 11:08:56 +01:00
Albert Astals Cid
dec63fb987
Merge remote-tracking branch 'origin/KDE/4.10'
2013-01-07 11:04:39 +01:00