Repository navigation
Description
What happened
In a local DB graph, selected blocks → Copy / Export as… → Text silently leaves out children and grandchildren belonging to a Text-property value. The value title and an ordinary outline child are retained. The omission occurs in the preview and in the actual saved .txt file.
The source graph is unchanged. This is loss from the exported text, not deletion from the graph. The same selection exported as EDN contains the property descendants and imports them correctly into another local graph.
Environment
- Official
logseq/logseqmaster22263c36204c86949df6cb4bfa278be0aa215353 - Native Electron development app, Logseq DB 2.0.1
- Electron 42.3.0 / Chromium 148.0.7778.180
- Debian GNU/Linux 13, x86_64
- Local disposable DB graphs, sync off; no production source changes
- Observed October 1, 2026. Web app and authenticated sync were not tested
Reproduction
- In a local DB graph, create a page
QA-Text-Transferwith two root blocks:QA transfer owner, with ordinary childQA ordinary childQA transfer control
- On
QA transfer owner, add a new propertyQA Transfer Note, type Text, with Multiple values off. - Enter
QA property valueas its value. Open/zoom into the property value if necessary, and give that value childQA value child, with grandchildQA value grandchild. - Return to the page and reload. Confirm the ownership below: the value child/grandchild are under the property's value; the ordinary child is directly under the owner.
- Select both root blocks and all their descendants. One keyboard route is to edit the owner's text, press Escape to select the block, then Shift+Down to extend through the control root. Verify the entire fixture is selected.
- Right-click the selected text/blank area (not a bullet that would change selection), choose Copy / Export as…, and select Text.
- Keep remove properties unchecked, open blocks only (skip collapsed children) unchecked, and level <= all. The fixture can be fully expanded.
- Inspect the preview, then click Save to file and inspect the resulting
.txt. - Close the export dialog, reload the source, and repeat steps 5–8.
Source ownership:
QA transfer owner
QA Transfer Note = QA property value
[child of the value] QA value child
QA value grandchild
[ordinary child of the owner] QA ordinary child
QA transfer control
Actual result
Both property descendants are absent. The saved Text output is:
- QA transfer owner
QA Transfer Note:: QA property value
- QA ordinary child
- QA transfer control
There is no warning that part of the selected subtree was omitted.
Expected result
With properties included, all levels selected, and collapsed children not excluded, Text export should include the Text value's child and grandchild as well as the ordinary outline child. Their relationship to the property value should remain understandable.
Frequency and controls
- 2/2 independent export-dialog openings on the same fixture, including a repeat after source reload, showed the omission
- The actual saved Text file was inspected and matched the incomplete preview
- The same selected fixture's native EDN contained all six titles and the correct property-owned hierarchy
- First EDN import into a different local graph retained the complete hierarchy and root order after reload
- Editing only the imported grandchild persisted in the destination; reloading the original graph showed its original grandchild unchanged
Exact EDN control from the native exporter:
{:pages-and-blocks
[{:page {:block/title "QA-Text-Transfer"},
:blocks
[{:block/title "QA transfer owner",
:build/properties
{:user.property/QATransferNote-iT9hu8yC
{:build/property-value :block,
:block/title "QA property value",
:build/children
[{:block/title "QA value child",
:build/children [{:block/title "QA value grandchild"}]}]}},
:build/children [{:block/title "QA ordinary child"}]}
{:block/title "QA transfer control"}]}],
:properties
{:user.property/QATransferNote-iT9hu8yC
{:db/cardinality :db.cardinality/one,
:logseq.property/type :default,
:block/title "QA Transfer Note"}},
:logseq.db.sqlite.export/export-type :selected-nodes}Related reports and source hypothesis
This is closely related to closed #1107, fixed for Markdown mirror by logseq/logseq#13106. This report specifically covers the current selected-block Text export path. Closed #756 covers EDN property-child export/import; that control passed here. Open #1218 / logseq/logseq#13309 concerns scalar/list formatting, which is a different symptom.
A read-only source trace suggests a missing caller option, not a newly proven general exporter failure: selection export's content config does not supply :export-default-property-values-as-blocks?. The common property export helper only visits the value's children when that flag is true, whereas Markdown mirror explicitly enables it. This is a source hypothesis consistent with the UI/file observations, not a runtime trace or proof of when the gap was introduced.
Activity
yuxi-liu-wired commentedon Oct 27, 2026
Fixed in logseq/logseq#13887 (fix(export): Text property values in exports and the Markdown mirror; no repeated blocks in selected-block EDN). Its description has the cause and the test that pins it; it fails on current master and passes with the fix.
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export
fix(export): keep the children of Text property values in text export