Bug 471261

Summary: `plasma-discover --feedback` briefly opens the main window again
Product: [Applications] Discover Reporter: Nate Graham <nate>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: minor CC: aleixpol, justin.zobel, nicolas.fella, olib141
Priority: NOR Keywords: qt6
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=423493
Latest Commit: Version Fixed In:

Description Nate Graham 2023-06-20 09:46:08 UTC
STEPS TO REPRODUCE
1. run `plasma-discover --feedback` in Konsole

OBSERVED RESULT
Discover's main window briefly appears, then disappears in a flash

EXPECTED RESULT
That doesn't happen

ADDITIONAL INFORMATION
This happened in the past, but was fixed in Plasma 5; see Bug 423493. But it appears to be back in Plasma 6.
Comment 1 Justin Zobel 2023-06-22 14:42:53 UTC
Cannot reproduce this, I only get a dump of info in konsole:


Qt WebEngine seems to be initialized from a plugin. Please set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute and QSGRendererInterface::OpenGLRhi using QQuickWindow::setGraphicsApi before constructing QGuiApplication.
org.kde.plasma.libdiscover: Didn't find any Discover backend!
org.kde.plasma.libdiscover: Couldn't find any backends
qt.qml.typeresolution.cycle: Cyclic dependency detected between "file:///usr/lib64/qt6/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml" and "file:///usr/lib64/qt6/qml/org/kde/desktop/private/TextFieldContextMenu.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between "file:///usr/lib64/qt6/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml" and "file:///usr/lib64/qt6/qml/org/kde/desktop/Menu.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between "file:///usr/lib64/qt6/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "file:///usr/lib64/qt6/qml/org/kde/desktop/Menu.qml"
org.kde.plasma.libdiscover: fetch ratings! false
BasicSystemInformation: Application version
BasicSystemInformation: Platform information
BasicSystemInformation: Qt version information
BasicUsageStatistics: Launches count
BasicUsageStatistics: Usage time
DetailedSystemInformation: Locale information
DetailedSystemInformation: OpenGL information
DetailedSystemInformation: Screen parameters
DetailedUsageStatistics: Application Source Name
Comment 2 Justin Zobel 2023-06-22 14:50:05 UTC
Discussed with Nate and he gets it because he has backends. I have a minimal build with no backends, so I don't see the issue.

He mentioned Discover shouldn't load the backends if passing this argument as they aren't neeeded.