Bug 397418 - ThemeTest::testCompositingChange() fails if windows manager is running
Summary: ThemeTest::testCompositingChange() fails if windows manager is running
Status: CONFIRMED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasma (other bugs)
Version First Reported In: 5.49.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-13 11:44 UTC by Ralf Habacker
Modified: 2020-11-24 19:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.