Bug 435104 - Removing author for annotations in settings is undone almost immediately
Summary: Removing author for annotations in settings is undone almost immediately
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.11.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-29 10:40 UTC by Erik Quaeghebeur
Modified: 2021-03-29 19:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2021-03-29 10:40:26 UTC
SUMMARY
I need to create a review of a paper with anonymous annotations. If I remove the author field content in Okular settings, it is put back automatically, so that it becomes undoable to create anonymous annotations. That should not happen; my preferences should persist. I could live with it persisting only for as long as the Okular instance is open.

STEPS TO REPRODUCE
1. Remove author in Okular settings
2. Annotate
3. Annotate
…

OBSERVED RESULT
At some point, new annotations get my name as author again, instead of an empty string.

EXPECTED RESULT
Annotations keep having no author.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Comment 1 Yuri Chornoivan 2021-03-29 16:25:26 UTC
It is possible to put a space (' ') into the field. The temporary solution to remove all metadata can be as follows:

https://sc015020.medium.com/removing-metadata-from-pdf-files-using-exiftool-and-qpdf-20090b75d7f0
Comment 2 Albert Astals Cid 2021-03-29 17:00:40 UTC
I don't underrand what you mean.

New anotations always get your username, you say that sometimes they don't?

Could you please record a video and upload it somewhere so we could see what you do and we could understand it better?
Comment 3 Yuri Chornoivan 2021-03-29 17:12:41 UTC
(In reply to Albert Astals Cid from comment #2)
> I don't underrand what you mean.
> 
> New anotations always get your username, you say that sometimes they don't?
> 
> Could you please record a video and upload it somewhere so we could see what
> you do and we could understand it better?

In the "Annotations" page of the configuration dialog, remove all data from the "Author" field. Press "OK" to close the dialog. Although no messages appear, Okular restores the previous "Author" field content. It can be seen in the new annotations.
Comment 4 Albert Astals Cid 2021-03-29 17:19:30 UTC
(In reply to Yuri Chornoivan from comment #3)
> (In reply to Albert Astals Cid from comment #2)
> > I don't underrand what you mean.
> > 
> > New anotations always get your username, you say that sometimes they don't?
> > 
> > Could you please record a video and upload it somewhere so we could see what
> > you do and we could understand it better?
> 
> In the "Annotations" page of the configuration dialog, remove all data from
> the "Author" field. Press "OK" to close the dialog. Although no messages
> appear, Okular restores the previous "Author" field content. It can be seen
> in the new annotations.

That doesn't happen here. Which version is that on?
Comment 5 Yuri Chornoivan 2021-03-29 17:22:19 UTC
(In reply to Albert Astals Cid from comment #4)
> (In reply to Yuri Chornoivan from comment #3)
> > (In reply to Albert Astals Cid from comment #2)
> > > I don't underrand what you mean.
> > > 
> > > New anotations always get your username, you say that sometimes they don't?
> > > 
> > > Could you please record a video and upload it somewhere so we could see what
> > > you do and we could understand it better?
> > 
> > In the "Annotations" page of the configuration dialog, remove all data from
> > the "Author" field. Press "OK" to close the dialog. Although no messages
> > appear, Okular restores the previous "Author" field content. It can be seen
> > in the new annotations.
> 
> That doesn't happen here. Which version is that on?
Comment 6 Yuri Chornoivan 2021-03-29 17:23:44 UTC
(In reply to Albert Astals Cid from comment #4)
> (In reply to Yuri Chornoivan from comment #3)
> > (In reply to Albert Astals Cid from comment #2)
> > > I don't underrand what you mean.
> > > 
> > > New anotations always get your username, you say that sometimes they don't?
> > > 
> > > Could you please record a video and upload it somewhere so we could see what
> > > you do and we could understand it better?
> > 
> > In the "Annotations" page of the configuration dialog, remove all data from
> > the "Author" field. Press "OK" to close the dialog. Although no messages
> > appear, Okular restores the previous "Author" field content. It can be seen
> > in the new annotations.
> 
> That doesn't happen here. Which version is that on?

Oops... My bad. Cannot reproduce now (1.11.70 + patches). Sorry.
Comment 7 Erik Quaeghebeur 2021-03-29 19:28:42 UTC
(In reply to Albert Astals Cid from comment #4)
> (In reply to Yuri Chornoivan from comment #3)
> > 
> > In the "Annotations" page of the configuration dialog, remove all data from
> > the "Author" field. Press "OK" to close the dialog. Although no messages
> > appear, Okular restores the previous "Author" field content. It can be seen
> > in the new annotations.
> 
> That doesn't happen here. Which version is that on?

So that likely means that this bug was fixed somewhere after 1.11.3. I guess this may be closed as fixed then. I can reopen in case it is still present after I upgrade.