censor/Censor
1
37
Fork
You've already forked Censor
3

bug: first-time saving with Save... or Ctrl+S fails #197

Closed
opened 2026年05月05日 15:02:55 +02:00 by mahlzahn · 0 comments

Description

First-time saving with Save... button or Ctrl+S is broken (from v0.5.0)

  1. when calling with input file argument, e.g.,
    censor tests/data/samples_censor/001-beautiful/beautiful.pdf
    
  2. when using GNOME’s "Open With..." functionality

Likely, regression of: !130

Log

Traceback (most recent call last):
 File "/usr/share/censor/censor/window.py", line 269, in save
 if not self.document_saved_once:
 ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Window' object has no attribute 'document_saved_once'
## Description First-time saving with `Save...` button or <kbd>Ctrl</kbd>+<kbd>S</kbd> is broken (from v0.5.0) 1. when calling with input file argument, e.g., ``` censor tests/data/samples_censor/001-beautiful/beautiful.pdf ``` 2. when using GNOME’s "Open With..." functionality Likely, regression of: !130 ## Log ```py Traceback (most recent call last): File "/usr/share/censor/censor/window.py", line 269, in save if not self.document_saved_once: ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Window' object has no attribute 'document_saved_once' ```
mahlzahn changed title from (削除) bug: first-time saving with Save... or <kbd>Ctrl</kbd>+<kbd>S</kbd> fails (削除ここまで) to bug: first-time saving with Save... or Ctrl+S fails 2026年05月05日 15:14:37 +02:00
mahlzahn added this to the v0.7.2 milestone 2026年05月05日 15:22:08 +02:00
mahlzahn modified the milestone from v0.7.2 to v0.8.0 2026年06月23日 11:25:16 +02:00
mahlzahn modified the milestone from v0.8.0 to v0.7.3 2026年07月09日 19:51:51 +02:00
Sign in to join this conversation.
No Branch/Tag specified
main
v0.7.3
v0.7.2
v0.7.1
v0.7.0
v0.6.0
v0.5.0
v0.4.0
v0.3.0
v0.2.0
v0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
censor/Censor#197
Reference in a new issue
censor/Censor
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?