https://bugs.kde.org/show_bug.cgi?id=527677

            Bug ID: 527677
           Summary: LibreOffice Writer (qt6 VCL plugin) crashes in
                    ButtonElement::update() / QString::operator= when
                    interacting with an edit field
    Classification: Frameworks and Libraries
           Product: Union
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: QtWidgets Output
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

DESCRIPTION
With Union set as application style, LibreOffice Writer crashes reproducibly.
The crash happens inside UnionWidgetsStyle.so while LibreOffice's qt6 VCL
plugin draws a native control (drawComplexControl) when the mouse pointer
merely hovers over a spin field in the sidebar.

STEPS TO REPRODUCE
1. Set application style to Union.
2. Start LibreOffice Writer (qt6 VCL plugin, Wayland).
3. Open the sidebar (View > Sidebar), switch to the "Page" deck.
4. Move the mouse pointer over the "Width" spin field (Format section). No
click needed.

OBSERVED RESULT
Writer freezes briefly, then aborts (SIGABRT from LibreOffice's signal handler
after a SIGSEGV in Union).

EXPECTED RESULT
No crash. With Breeze as application style the same steps work fine.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux, Wayland
KDE Plasma Version: 6.8.1
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0
Union: 6.8.1
LibreOffice: 26.8.1 (Arch package libreoffice-fresh 26.8.1-2)

ADDITIONAL INFORMATION
gdb itself aborted on the core dump, so this is the systemd-coredump trace;
Union frames resolved via debuginfod.archlinux.org:

#9  QString::operator=(const QString&)                         libQt6Core.so.6
#10 ButtonElement::update()                                   
UnionWidgetsStyle.so
#11 ElementCache::detail::element<QStyle::ContentsType, 15>   
UnionWidgetsStyle.so
#12 ElementCache::element<QStyle::ComplexControl, 4, ...>     
UnionWidgetsStyle.so
#13 UnionStyle::drawComplexControl(...)                       
UnionWidgetsStyle.so
#14-15                                                        
libvclplug_qt6lo.so
#16 OutputDevice::DrawNativeControl(...)                       libvcllo.so
...
#43 vcl::Window::PaintImmediately()                            libvcllo.so
#44 vcl::Window::Invalidate(InvalidateFlags)                   libvcllo.so
#45 Edit::PreNotify(NotifyEvent&)                              libvcllo.so
...
#55 QApplicationPrivate::sendMouseEvent(...)                  
libQt6Widgets.so.6

Possibly related (different crash site): bug 527246 (Spectacle,
UnionStyle::drawControl), bug 527410 (LibreOffice rendering issues with Union).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to