Bug 471261 - `plasma-discover --feedback` briefly opens the main window again
Summary: `plasma-discover --feedback` briefly opens the main window again
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: master
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-06-20 09:46 UTC by Nate Graham
Modified: 2023-09-11 19:38 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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