https://bugs.kde.org/show_bug.cgi?id=528994
Bug ID: 528994
Summary: Crash on shadow tokens issues
Classification: Frameworks and Libraries
Product: Union
Version First unspecified
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: CSS Input
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Affected component rules (shadow tokens referencing system shadow levels):
button.css: --pd-comp-button-container-shadow: var(--pd-sys-shadow-xs)
combobox.css: --pd-comp-combobox-shadow: var(--pd-sys-shadow-xs)
textfield.css: --pd-comp-textfield-shadow: var(--pd-sys-shadow-xs)
switch.css: --pd-comp-switch-handle-shadow: var(--pd-sys-shadow-xs)
tabs.css: --pd-comp-tab-shadow: var(--pd-sys-shadow-sm)
cards.css: --pd-comp-card-shadow: var(--pd-sys-shadow-xs),
--pd-comp-card-hovered-shadow: var(--pd-sys-shadow-sm)
popup.css: --pd-comp-tooltip-shadow, --pd-comp-menu-shadow,
--pd-comp-dialog-shadow
Basically, I noticed that Union doesn't support multi-layered shadows as I have
them in Penpot. So, I made a composite 1-layer shadow that could mimic the look
of the layered shadows from design. When I did this, some applications crash
every now and then. Previously I had hard-coded shadow values, then I thought
this is not good practice so I turned them into variables instead. It seems the
issue is that:
AbstractElement::layout() sets m_isValid = true when queryProperties() returns
null
QML/Kirigami path (union-ruleinspector) resolves these cross-file references
correctly. Only the QtWidgets backend crashes.
--
You are receiving this mail because:
You are watching all bug changes.