Skip to content

Added "Erase Metadata" option#702

Open
Zzooouhh wants to merge 2 commits into
mate-desktop:masterfrom
Zzooouhh:patch-1
Open

Added "Erase Metadata" option#702
Zzooouhh wants to merge 2 commits into
mate-desktop:masterfrom
Zzooouhh:patch-1

Conversation

@Zzooouhh
Copy link
Copy Markdown
Contributor

@Zzooouhh Zzooouhh commented Jun 3, 2026

Sometimes I want to open up a document file cleanly from the start, resetting the stored data for last visited page number, zoom level etc. so here is a little option to wipe those metadata clean for the target file before opening it afresh.

Copy link
Copy Markdown
Member

@vkareh vkareh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice feature, thanks for adding it.

For context to other reviewers, since this is one of the more esoteric features in GLib: GIO stores GVFS metadata on files as you interact with them. You can see any file's metadata with gio info file.pdf | grep atril and unset any metadata attribute with gio set -d file.pdf metadata::atril::<attribute-name>. The problem is that there's no way to unset them all at once. There's interesting info about this very same issue in Evince here: https://mail.gnome.org/archives/evince-list/2018-July/msg00003.html

Comment thread shell/main.c Outdated
Comment thread shell/main.c
Comment thread shell/main.c
Comment thread shell/main.c Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants