Bug 397418

Summary: ThemeTest::testCompositingChange() fails if windows manager is running
Product: [Frameworks and Libraries] libplasma Reporter: Ralf Habacker <ralf.habacker>
Component: libplasmaAssignee: Marco Martin <notmart>
Status: CONFIRMED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.49.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ralf Habacker 2018-08-13 11:44:31 UTC
theme test on a system with a running windows manager fails with the following message: 

********* Start testing of ThemeTest *********
Config: Using QtTest library 5.11.1, Qt 5.11.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 4.8.5)
QDEBUG : ThemeTest::initTestCase() org.kde.kwindowsystem: Loaded plugin "/usr/lib64/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so" for platform "xcb"
PASS   : ThemeTest::initTestCase()
PASS   : ThemeTest::loadSvgIcon()
PASS   : ThemeTest::testColors()
FAIL!  : ThemeTest::testCompositingChange() '!KWindowSystem::compositingActive()' returned FALSE. ()
   Loc: [/home/xxx/src/kf5/plasma-framework/autotests/themetest.cpp(211)]
PASS   : ThemeTest::cleanupTestCase()
Totals: 4 passed, 1 failed, 0 skipped, 0 blacklisted, 285ms
********* Finished testing of ThemeTest *********

In this case it would be better to skip the test with a related message so as not to block other tests.
Comment 1 Nate Graham 2020-11-24 19:15:44 UTC
Still an issue today.