Bug 486397 - plasmoidviewer crashes (core dump) for widgets that use QtWebEngine
Summary: plasmoidviewer crashes (core dump) for widgets that use QtWebEngine
Status: REPORTED
Alias: None
Product: Plasma SDK
Classification: Plasma
Component: plasmoidviewer (show other bugs)
Version: 6.0.4
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-01 11:01 UTC by Karl Ove Hufthammer
Modified: 2024-09-08 20:52 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Ove Hufthammer 2024-05-01 11:01:04 UTC
SUMMARY
When using plasmoidviewer to open a Plasma widget which uses QtWebEngine, the application immediately crashes.


STEPS TO REPRODUCE
1. From the command-line, run either
    plasmoidviewer --applet org.kde.plasma_applet_dict
    or
    plasmoidviewer --applet org.kde.plasma.webbrowser‘

OBSERVED RESULT
A window is briefly shown, but then plasmoidviewer crashes with an error message ending with:

  QtWebEngineQuick::initialize() must be called from the Qt gui thread.
  Aborted (core dumped)


EXPECTED RESULT
No crash and a working standalone Plasma widget shown.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240425
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2500 CPU @ 3.30GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2


ADDITIONAL INFORMATION
The crash also happens when using plasmawindowed:

    plasmawindowed org.kde.plasma_applet_dict

However, it does not happen when adding the widgets to the desktop, and it does not seem to happen for widgets that don’t use QtWebEngine.
Comment 1 Karl Ove Hufthammer 2024-07-26 20:16:19 UTC
Still crashing in version 6.1.3.