Bug 377454 - Please add ability to "edit outlines (table of contents)"
Summary: Please add ability to "edit outlines (table of contents)"
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 427465 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-03-10 11:39 UTC by yousifjkadom
Modified: 2021-08-12 19:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yousifjkadom 2017-03-10 11:39:05 UTC
Pleas kindly add ability to edit bookmarks. It should be as following:

A) by right click on a specific bookmark, should lead to appearance of a right click list involving the following:

- delete
- rename
- action: (2 choices either open or not)

B) by left click a specific bookmark & maintain left clicking then scroll up or down, user can change position of this bookmark within bookmarks tree (I mean by that change depth of bookmark).

C) user should be able to remove all bookmarks by: left click any bookmark to select it, then press "Ctrl+A" to select all of bookmarks, then user right click over this global selection when right click list appear containing "delete" option by which user can delete all bookmarks.

You can put independent option to "delete all bookmarks" in other way.

Best.
Comment 1 yousifjkadom 2017-03-10 11:47:56 UTC
Sorry ! I used wrongly "bookmarks". No I mean "Outlines" of PDF which appear in Okular under title of "Contents". 

I edit Title of this subject but I can not edit my 1st post. Please edit it & replace any "bookmarks" by "outline".
Comment 2 yousifjkadom 2017-05-08 09:50:04 UTC
Hi. I read change log of new release 1.1 which say:

Allow to create bookmarks from the TOC. Commit. Fixes bug #190203

But I'm on Fedora 24 & new release may be delayed for some weeks before arrive.

Please does this address this bug 377454 or not ? I mean does now possible to edit already created outline of contents that already created by other programs (delete, rename, ..... ) as I suggest here or just add new outline (bookmark) ?
Comment 3 Gilbert Assaf 2017-05-08 13:05:10 UTC
Hi, I am sorry, but this fix is for bug #190203 only.
It allows you to create bookmarks for outline elements from the Table of Contents, which are automatically named after that item.
Comment 4 Albert Astals Cid 2017-05-08 22:12:45 UTC
> does this address this bug 377454 or not ? 

No

> I mean does now possible to edit already created outline of contents 

No

> just add new outline (bookmark) ?

You can't do that either
Comment 5 yousifjkadom 2020-04-24 20:26:13 UTC
Hi dear Okular developers. This feature by no way, Okular is the best program to implement it. All other features can be taken by other applications unless this feature.

See this please:
https://gitlab.com/scarpetta/pdfmixtool/-/issues/43

It is much easier for "PDF Mix Tool" to include any feature unless "outlines". Creating, editing, deleting outlines of PDF should be implemented within a program like Okular. In fact no better than Okular to handle this feature.

Please take this seriously .....

Thank you for your very hard efforts to developing Okular & continuously adding so useful features to it.
Comment 6 yousifjkadom 2020-04-26 16:08:14 UTC
Hi dear developers team.

I'm ready to donate Okular to implement this feature (create/edit/delete) outlines of PDF & other 2 issues which are:

https://bugs.kde.org/show_bug.cgi?id=380154
https://bugs.kde.org/show_bug.cgi?id=379631

I'm ready to support you to implement these 3 feature requests. If you are accept, then replay me.

This is not only for my use, but for all Linux users, as long Okular is open source & free application .....

Best.
Comment 7 yousifjkadom 2020-07-25 06:25:18 UTC
Hi. I discovered a backend support this feature ! It is pikepdf - see:
https://github.com/pikepdf/pikepdf

See documentation:
https://pikepdf.readthedocs.io/en/latest/
Specifically about outlines edit, see:
https://pikepdf.readthedocs.io/en/latest/topics/outlines.html

See the PR for this feature that already merged:
https://github.com/pikepdf/pikepdf/pull/82
Comment 8 yousifjkadom 2020-07-25 06:29:44 UTC
By the way, pikepdf has ability to edit document info (title, author, ....). I'm already opened an issue about this then I closed it - see:
https://bugs.kde.org/show_bug.cgi?id=377460

Kindly, re-evaluate closed issue 377460 & see if need to be re-opened or remain closed.

Thank you.
Comment 9 Laura David Hurka 2021-08-12 19:09:38 UTC
IMHO it wouldn’t make sense to implement this only for PDF, it would be confusing if it doesn’t work with, say, EPUB, although the interface of Okular is otherwise the same. Therefore, I set the component to general.

(As long as Okular keeps the viewer-but-not-editor objective, I don’t expect this feature to be considered. Sorry.)
Comment 10 Laura David Hurka 2021-08-12 19:44:43 UTC
*** Bug 427465 has been marked as a duplicate of this bug. ***