Bug 406163

Summary: Qt 5.12.2 - Test failure - DolphinMainWindowTest::testNewFileMenuEnabled(home)
Product: [Applications] dolphin Reporter: Rik Mills <rikmills>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: elvis.angelaccio
Priority: NOR    
Version: 18.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Rik Mills 2019-04-02 19:36:50 UTC
SUMMARY

With Qt 5.12.2 the DolphinMainWindowTest::testNewFileMenuEnabled(home) test fails with:

FAIL!  : DolphinMainWindowTest::testNewFileMenuEnabled(home) Compared values are not the same
   Actual   (newFileMenu->isEnabled()): 0
   Expected (expectedEnabled)         : 1
   Loc: [/tmp/autopkgtest.AlAChC/build.UlA/src/src/tests/dolphinmainwindowtest.cpp(250)]

http://autopkgtest.ubuntu.com/packages/d/dolphin/disco/amd64

Linux: Ubuntu 19.04
KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.56
Qt Version: 5.12.2

Testing on an actual system, the menu does have the correct enabled/disabled status in home/root/trash, so fail is incorrect.
Comment 1 Elvis Angelaccio 2019-04-06 16:50:31 UTC
Yeah Qt 5.12 changed something which broke this test. Needs investigation.
Comment 2 Elvis Angelaccio 2019-04-07 20:50:09 UTC
Fixed with https://commits.kde.org/dolphin/30a335cbcf1268bd35e6916c3649ec1b40134858

The test was just broken and I don't know how it was possibly working before...