diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-16 21:12:03 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-16 21:12:03 +0200 |
| commit | 255733d3d3d6db4714f64edc1557c7f05fe43fcb (patch) | |
| tree | 2e6879b30178f6bf853cd1dab2a91d39092d3685 /desktop/shell.qml | |
| parent | cf99dde4805f1792d6a56156b6a0338aa684005c (diff) | |
| download | quickshell-255733d3d3d6db4714f64edc1557c7f05fe43fcb.tar.gz quickshell-255733d3d3d6db4714f64edc1557c7f05fe43fcb.zip | |
docs: FileView.setText writes nothing for empty text on an unloaded path
Found from use: a note saved with an empty body got an index entry and no
file, because setText with an empty string on a path the view has not loaded
creates nothing and reports no error, with or without atomicWrites.
While confirming that, the neighbouring note turned out to be wrong too:
blockLoading does not make reload() synchronous. Measured on a regular file
and on /proc/stat, reload() then text() returned the contents from before
the reload, and only waitForJob() between them returned the new ones. The
FileView docs say the same. Perf.qml reloads and reads without waitForJob,
so a sample reads the previous interval; not changed here.
Diffstat (limited to 'desktop/shell.qml')
0 files changed, 0 insertions, 0 deletions
