bc7f41bdbf
Currently internal window test fails because several internal clients outlive tests where each one of them was created. Given that the scene doesn't specify the context object when it creates screenScaleChanged connection, we may call windowGeometryShapeChanged on a deleted scene object. ASAN output: ================================================================= ==23416==ERROR: AddressSanitizer: heap-use-after-free on address 0x60800005ffe0 at pc 0x7fdfb0451c26 bp 0x7fffc32fefb0 sp 0x7fffc32fefa8 READ of size 8 at 0x60800005ffe0 thread T0 #0 0x7fdfb0451c25 in QHash<KWin::Toplevel*, KWin::Scene::Window*>::findNode(KWin::Toplevel* const&, unsigned int*) const /usr/include/qt5/QtCore/qhash.h:933 #1 0x7fdfb044c1eb in QHash<KWin::Toplevel*, KWin::Scene::Window*>::contains(KWin::Toplevel* const&) const /usr/include/qt5/QtCore/qhash.h:908 #2 0x7fdfb04369c1 in KWin::Scene::windowGeometryShapeChanged(KWin::Toplevel*) /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/scene.cpp:440 #3 0x7fdfb045c017 in void std::__invoke_impl<void, void (KWin::Scene::*&)(KWin::Toplevel*), KWin::Scene*&, KWin::Toplevel*&>(std::__invoke_memfun_deref, void (KWin::Scene::*&)(KWin::Toplevel*), KWin::Scene*&, KWin::Toplevel*&) /usr/include/c++/9/bits/invoke.h:73 #4 0x7fdfb045ba9c in std::__invoke_result<void (KWin::Scene::*&)(KWin::Toplevel*), KWin::Scene*&, KWin::Toplevel*&>::type std::__invoke<void (KWin::Scene::*&)(KWin::Toplevel*), KWin::Scene*&, KWin::Toplevel*&>(void (KWin::Scene::*&)(KWin::Toplevel*), KWin::Scene*&, KWin::Toplevel*&) /usr/include/c++/9/bits/invoke.h:95 #5 0x7fdfb045bc84 in void std::_Bind<void (KWin::Scene::*(KWin::Scene*, KWin::Toplevel*))(KWin::Toplevel*)>::__call<void, , 0ul, 1ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) /usr/include/c++/9/functional:400 #6 0x7fdfb045b7c0 in void std::_Bind<void (KWin::Scene::*(KWin::Scene*, KWin::Toplevel*))(KWin::Toplevel*)>::operator()<, void>() /usr/include/c++/9/functional:484 #7 0x7fdfb045b3c2 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, std::_Bind<void (KWin::Scene::*(KWin::Scene*, KWin::Toplevel*))(KWin::Toplevel*)> >::call(std::_Bind<void (KWin::Scene::*(KWin::Scene*, KWin::Toplevel*))(KWin::Toplevel*)>&, void**) /usr/include/qt5/QtCore/qobjectdefs_impl.h:146 #8 0x7fdfb045abd4 in void QtPrivate::Functor<std::_Bind<void (KWin::Scene::*(KWin::Scene*, KWin::Toplevel*))(KWin::Toplevel*)>, 0>::call<QtPrivate::List<>, void>(std::_Bind<void (KWin::Scene::*(KWin::Scene*, KWin::Toplevel*))(KWin::Toplevel*)>&, void*, void**) /usr/include/qt5/QtCore/qobjectdefs_impl.h:256 #9 0x7fdfb045a5b6 in QtPrivate::QFunctorSlotObject<std::_Bind<void (KWin::Scene::*(KWin::Scene*, KWin::Toplevel*))(KWin::Toplevel*)>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/qt5/QtCore/qobjectdefs_impl.h:439 #10 0x7fdfa5794137 in QMetaObject::activate(QObject*, int, int, void**) (/usr/lib64/libQt5Core.so.5+0x2b3137) #11 0x7fdfafeea2ca in KWin::Toplevel::screenScaleChanged() /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/build/kwin_autogen/EWIEGA46WW/moc_toplevel.cpp:834 #12 0x7fdfb0425712 in KWin::Toplevel::checkScreen() /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/toplevel.cpp:538 #13 0x7fdfafee3221 in KWin::Toplevel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/build/kwin_autogen/EWIEGA46WW/moc_toplevel.cpp:371 #14 0x7fdfa5793fd7 in QMetaObject::activate(QObject*, int, int, void**) (/usr/lib64/libQt5Core.so.5+0x2b2fd7) #15 0x7fdfafedefca in KWin::Screens::changed() /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/build/kwin_autogen/EWIEGA46WW/moc_screens.cpp:276 #16 0x7fdf9a199281 in operator() /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/plugins/platforms/virtual/screens_virtual.cpp:45 #17 0x7fdf9a199c7b in call /usr/include/qt5/QtCore/qobjectdefs_impl.h:146 #18 0x7fdf9a199b50 in call<QtPrivate::List<bool>, void> /usr/include/qt5/QtCore/qobjectdefs_impl.h:256 #19 0x7fdf9a199afc in impl /usr/include/qt5/QtCore/qobjectdefs_impl.h:439 #20 0x7fdfa5794137 in QMetaObject::activate(QObject*, int, int, void**) (/usr/lib64/libQt5Core.so.5+0x2b3137) #21 0x7fdf9a17a37b in KWin::VirtualBackend::virtualOutputsSet(bool) /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/build/plugins/platforms/virtual/KWinWaylandVirtualBackend_autogen/EWIEGA46WW/moc_virtual_backend.cpp:177 #22 0x7fdf9a18c476 in KWin::VirtualBackend::setVirtualOutputs(int, QVector<QRect>, QVector<int>) /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/plugins/platforms/virtual/virtual_backend.cpp:141 #23 0x7fdf9a1794e2 in KWin::VirtualBackend::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/build/plugins/platforms/virtual/KWinWaylandVirtualBackend_autogen/EWIEGA46WW/moc_virtual_backend.cpp:94 #24 0x7fdfa577794a in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const (/usr/lib64/libQt5Core.so.5+0x29694a) #25 0x7fdfa57790d1 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) (/usr/lib64/libQt5Core.so.5+0x2980d1) #26 0x45a3e0 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) /usr/include/qt5/QtCore/qobjectdefs.h:444 #27 0x44bf37 in KWin::InternalWindowTest::testScale() /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/autotests/integration/internal_window.cpp:693 #28 0x4562ec in KWin::InternalWindowTest::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/build/autotests/integration/testInternalWindow_autogen/include/internal_window.moc:169 #29 0x7fdfa577794a in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const (/usr/lib64/libQt5Core.so.5+0x29694a) #30 0x7fdfaf047962 (/usr/lib64/libQt5Test.so.5+0x19962) #31 0x7fdfaf048352 (/usr/lib64/libQt5Test.so.5+0x1a352) #32 0x7fdfaf048910 (/usr/lib64/libQt5Test.so.5+0x1a910) #33 0x7fdfaf048cda in QTest::qRun() (/usr/lib64/libQt5Test.so.5+0x1acda) #34 0x7fdfaf048edb in QTest::qExec(QObject*, int, char**) (/usr/lib64/libQt5Test.so.5+0x1aedb) #35 0x455d7b in main /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/autotests/integration/internal_window.cpp:807 #36 0x7fdfa5002bca in __libc_start_main (/lib64/libc.so.6+0x26bca) #37 0x415029 in _start (/home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/build/bin/testInternalWindow+0x415029) 0x60800005ffe0 is located 64 bytes inside of 96-byte region [0x60800005ffa0,0x608000060000) freed by thread T0 here: #0 0x7fdfb2042595 in operator delete(void*, unsigned long) (/usr/lib64/libasan.so.5+0x10d595) #1 0x7fdf98774c4e in KWin::SceneQPainter::~SceneQPainter() /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/plugins/scenes/qpainter/scene_qpainter.cpp:70 #2 0x7fdfb03fef41 in KWin::Compositor::stop() /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/composite.cpp:451 #3 0x7fdfb03fffe6 in KWin::Compositor::reinitialize() /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/composite.cpp:527 #4 0x7fdfb03ffe2f in KWin::Compositor::configChanged() /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/composite.cpp:517 #5 0x7fdfaffaf481 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KWin::Compositor::*)()>::call(void (KWin::Compositor::*)(), KWin::Compositor*, void**) /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #6 0x7fdfaffa4deb in void QtPrivate::FunctionPointer<void (KWin::Compositor::*)()>::call<QtPrivate::List<>, void>(void (KWin::Compositor::*)(), KWin::Compositor*, void**) /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #7 0x7fdfaff9c765 in QtPrivate::QSlotObject<void (KWin::Compositor::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/qt5/QtCore/qobjectdefs_impl.h:414 #8 0x7fdfa5794137 in QMetaObject::activate(QObject*, int, int, void**) (/usr/lib64/libQt5Core.so.5+0x2b3137) #9 0x7fdfafed441e in KWin::Options::configChanged() /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/build/kwin_autogen/EWIEGA46WW/moc_options.cpp:1790 #10 0x7fdfb02584c6 in KWin::Options::updateSettings() /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/options.cpp:772 #11 0x7fdfaff461db in KWin::Workspace::slotReconfigure() /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/workspace.cpp:897 #12 0x446f67 in KWin::InternalWindowTest::testModifierClickUnrestrictedMove() /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/autotests/integration/internal_window.cpp:620 #13 0x45624d in KWin::InternalWindowTest::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/build/autotests/integration/testInternalWindow_autogen/include/internal_window.moc:166 #14 0x7fdfa577794a in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const (/usr/lib64/libQt5Core.so.5+0x29694a) #15 0x7fdfaf047962 (/usr/lib64/libQt5Test.so.5+0x19962) #16 0x7fdfaf048352 (/usr/lib64/libQt5Test.so.5+0x1a352) previously allocated by thread T0 here: #0 0x7fdfb204110f in operator new(unsigned long) (/usr/lib64/libasan.so.5+0x10c10f) #1 0x7fdf98774992 in KWin::SceneQPainter::createScene(QObject*) /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/plugins/scenes/qpainter/scene_qpainter.cpp:58 #2 0x7fdf9878db95 in KWin::QPainterFactory::create(QObject*) const /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/plugins/scenes/qpainter/scene_qpainter.cpp:870 #3 0x7fdfb03f9488 in KWin::Compositor::setupStart() /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/composite.cpp:238 #4 0x7fdfb0404ca4 in KWin::WaylandCompositor::start() /home/jenkins/workspace/Plasma/kwin/kf5-qt5 SUSEQt5.12/composite.cpp:862 #5 0x7fdfaffaf481 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KWin::Compositor::*)()>::call(void (KWin::Compositor::*)(), KWin::Compositor*, void**) /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #6 0x7fdfaffa4deb in void QtPrivate::FunctionPointer<void (KWin::Compositor::*)()>::call<QtPrivate::List<>, void>(void (KWin::Compositor::*)(), KWin::Compositor*, void**) /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #7 0x7fdfaff9c765 in QtPrivate::QSlotObject<void (KWin::Compositor::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/qt5/QtCore/qobjectdefs_impl.h:414 #8 0x7fdfa57a0df1 (/usr/lib64/libQt5Core.so.5+0x2bfdf1) SUMMARY: AddressSanitizer: heap-use-after-free /usr/include/qt5/QtCore/qhash.h:933 in QHash<KWin::Toplevel*, KWin::Scene::Window*>::findNode(KWin::Toplevel* const&, unsigned int*) const Shadow bytes around the buggy address: 0x0c1080003fa0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fa 0x0c1080003fb0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fa 0x0c1080003fc0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fa 0x0c1080003fd0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fa 0x0c1080003fe0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fa =>0x0c1080003ff0: fa fa fa fa fd fd fd fd fd fd fd fd[fd]fd fd fd 0x0c1080004000: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd 0x0c1080004010: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 05 fa 0x0c1080004020: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00 0x0c1080004030: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 04 0x0c1080004040: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 01 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==23416==ABORTING (EE) failed to read Wayland events: Connection reset by peer |
||
---|---|---|
autotests | ||
cmake/modules | ||
colorcorrection | ||
data | ||
decorations | ||
doc | ||
effects | ||
helpers | ||
kcmkwin | ||
kconf_update | ||
libinput | ||
libkwineffects | ||
platformsupport | ||
plugins | ||
qml | ||
scripting | ||
scripts | ||
tabbox | ||
tests | ||
xwl | ||
.arcconfig | ||
.arclint | ||
abstract_client.cpp | ||
abstract_client.h | ||
abstract_opengl_context_attribute_builder.cpp | ||
abstract_opengl_context_attribute_builder.h | ||
abstract_output.cpp | ||
abstract_output.h | ||
abstract_wayland_output.cpp | ||
abstract_wayland_output.h | ||
activation.cpp | ||
activities.cpp | ||
activities.h | ||
appmenu.cpp | ||
appmenu.h | ||
atoms.cpp | ||
atoms.h | ||
client.cpp | ||
client.h | ||
client_machine.cpp | ||
client_machine.h | ||
CMakeLists.txt | ||
composite.cpp | ||
composite.h | ||
config-kwin.h.cmake | ||
COPYING | ||
cursor.cpp | ||
cursor.h | ||
dbusinterface.cpp | ||
dbusinterface.h | ||
debug_console.cpp | ||
debug_console.h | ||
debug_console.ui | ||
deleted.cpp | ||
deleted.h | ||
effectloader.cpp | ||
effectloader.h | ||
effects.cpp | ||
effects.h | ||
egl_context_attribute_builder.cpp | ||
egl_context_attribute_builder.h | ||
events.cpp | ||
fixqopengl.h | ||
focuschain.cpp | ||
focuschain.h | ||
geometry.cpp | ||
geometrytip.cpp | ||
geometrytip.h | ||
gestures.cpp | ||
gestures.h | ||
globalshortcuts.cpp | ||
globalshortcuts.h | ||
group.cpp | ||
group.h | ||
HACKING.md | ||
idle_inhibition.cpp | ||
idle_inhibition.h | ||
input.cpp | ||
input.h | ||
input_event.cpp | ||
input_event.h | ||
input_event_spy.cpp | ||
input_event_spy.h | ||
internal_client.cpp | ||
internal_client.h | ||
keyboard_input.cpp | ||
keyboard_input.h | ||
keyboard_layout.cpp | ||
keyboard_layout.h | ||
keyboard_layout_switching.cpp | ||
keyboard_layout_switching.h | ||
keyboard_repeat.cpp | ||
keyboard_repeat.h | ||
killwindow.cpp | ||
killwindow.h | ||
kwin.kcfg | ||
kwin.notifyrc | ||
kwinbindings.cpp | ||
KWinDBusInterfaceConfig.cmake.in | ||
layers.cpp | ||
logind.cpp | ||
logind.h | ||
main.cpp | ||
main.h | ||
main_wayland.cpp | ||
main_wayland.h | ||
main_x11.cpp | ||
main_x11.h | ||
Mainpage.dox | ||
manage.cpp | ||
Messages.sh | ||
modifier_only_shortcuts.cpp | ||
modifier_only_shortcuts.h | ||
moving_client_x11_filter.cpp | ||
moving_client_x11_filter.h | ||
netinfo.cpp | ||
netinfo.h | ||
onscreennotification.cpp | ||
onscreennotification.h | ||
options.cpp | ||
options.h | ||
org.kde.kappmenu.xml | ||
org.kde.kwin.ColorCorrect.xml | ||
org.kde.kwin.Compositing.xml | ||
org.kde.kwin.Effects.xml | ||
org.kde.kwin.OrientationSensor.xml | ||
org.kde.KWin.VirtualDesktopManager.xml | ||
org.kde.KWin.xml | ||
orientation_sensor.cpp | ||
orientation_sensor.h | ||
osd.cpp | ||
osd.h | ||
outline.cpp | ||
outline.h | ||
outputscreens.cpp | ||
outputscreens.h | ||
overlaywindow.cpp | ||
overlaywindow.h | ||
placement.cpp | ||
placement.h | ||
platform.cpp | ||
platform.h | ||
pointer_input.cpp | ||
pointer_input.h | ||
popup_input_filter.cpp | ||
popup_input_filter.h | ||
README.md | ||
rootinfo_filter.cpp | ||
rootinfo_filter.h | ||
rules.cpp | ||
rules.h | ||
scene.cpp | ||
scene.h | ||
screenedge.cpp | ||
screenedge.h | ||
screenlockerwatcher.cpp | ||
screenlockerwatcher.h | ||
screens.cpp | ||
screens.h | ||
settings.kcfgc | ||
shadow.cpp | ||
shadow.h | ||
shell_client.cpp | ||
shell_client.h | ||
shortcutdialog.ui | ||
sm.cpp | ||
sm.h | ||
tabgroup.cpp | ||
tabgroup.h | ||
tabletmodemanager.cpp | ||
tabletmodemanager.h | ||
TESTING.md | ||
thumbnailitem.cpp | ||
thumbnailitem.h | ||
toplevel.cpp | ||
toplevel.h | ||
touch_hide_cursor_spy.cpp | ||
touch_hide_cursor_spy.h | ||
touch_input.cpp | ||
touch_input.h | ||
udev.cpp | ||
udev.h | ||
unmanaged.cpp | ||
unmanaged.h | ||
useractions.cpp | ||
useractions.h | ||
utils.cpp | ||
utils.h | ||
virtual_terminal.cpp | ||
virtual_terminal.h | ||
virtualdesktops.cpp | ||
virtualdesktops.h | ||
virtualdesktopsdbustypes.cpp | ||
virtualdesktopsdbustypes.h | ||
virtualkeyboard.cpp | ||
virtualkeyboard.h | ||
virtualkeyboard_dbus.cpp | ||
virtualkeyboard_dbus.h | ||
was_user_interaction_x11_filter.cpp | ||
was_user_interaction_x11_filter.h | ||
wayland_cursor_theme.cpp | ||
wayland_cursor_theme.h | ||
wayland_server.cpp | ||
wayland_server.h | ||
window_property_notify_x11_filter.cpp | ||
window_property_notify_x11_filter.h | ||
workspace.cpp | ||
workspace.h | ||
x11eventfilter.cpp | ||
x11eventfilter.h | ||
xcbutils.cpp | ||
xcbutils.h | ||
xkb.cpp | ||
xkb.h | ||
xkb_qt_mapping.h |
KWin
KWin is an easy to use, but flexible, composited Window Manager for Xorg windowing systems (Wayland, X11) on Linux. Its primary usage is in conjunction with a Desktop Shell (e.g. KDE Plasma Desktop). KWin is designed to go out of the way; users should not notice that they use a window manager at all. Nevertheless KWin provides a steep learning curve for advanced features, which are available, if they do not conflict with the primary mission. KWin does not have a dedicated targeted user group, but follows the targeted user group of the Desktop Shell using KWin as it's window manager.
KWin is not...
- a standalone window manager (c.f. openbox, i3) and does not provide any functionality belonging to a Desktop Shell.
- a replacement for window managers designed for use with a specific Desktop Shell (e.g. GNOME Shell)
- a minimalistic window manager
- designed for use without compositing or for X11 network transparency, though both are possible.
Contacting KWin development team
- mailing list: kwin@kde.org
- IRC: #kwin on freenode
Support
Application Developer
If you are an application developer having questions regarding windowing systems (either X11 or Wayland) please do not hesitate to contact us. Preferable through our mailing list. Ideally subscribe to the mailing list, so that your mail doesn't get stuck in the moderation queue.
End user
Please contact the support channels of your Linux distribution for user support. The KWin development team does not provide end user support.
Reporting bugs
Please use KDE's bugtracker and report for product KWin.
Developing on KWin
Please refer to hacking documentation for how to build and start KWin. Further information about KWin's test suite can be found in TESTING.md.
Guidelines for new features
A new Feature can only be added to KWin if:
- it does not violate the primary missions as stated at the start of this document
- it does not introduce instabilities
- it is maintained, that is bugs are fixed in a timely manner (second next minor release) if it is not a corner case.
- it works together with all existing features
- it supports both single and multi screen (xrandr)
- it adds a significant advantage
- it is feature complete, that is supports at least all useful features from competitive implementations
- it is not a special case for a small user group
- it does not increase code complexity significantly
- it does not affect KWin's license (GPLv2+)
All new added features are under probation, that is if any of the non-functional requirements as listed above do not hold true in the next two feature releases, the added feature will be removed again.
The same non functional requirements hold true for any kind of plugins (effects, scripts, etc.). It is suggested to use scripted plugins and distribute them separately.