Bug 512337 - Add “Copy link to current highlight” command to generate a shareable URL that opens the document on the exact page and restores the highlighted text
Summary: Add “Copy link to current highlight” command to generate a shareable URL that...
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-19 09:11 UTC by tjswysqh
Modified: 2025-11-28 08:56 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tjswysqh 2025-11-19 09:11:50 UTC
ARRAY(0x559e2691a778)
Comment 1 Albert Astals Cid 2025-11-27 14:40:13 UTC
Needs less ARRAY(0x559e2691a778) and more description
Comment 2 tjswysqh 2025-11-28 00:58:23 UTC
**English Description:**

**Feature Request: "Copy Link to Current Highlight" Command**

Add a "Copy link to current highlight" command that generates a shareable URL. When opened, this URL will:
- Launch Okular and automatically load the source document
- Navigate directly to the exact page containing the highlight
- Restore and reveal the previously highlighted text selection

This feature mirrors browser-style anchor linking, enabling seamless integration with external knowledge management tools (e.g., Obsidian, Anki, Notion). Users can embed these links in notes, flashcards, or documents to create bidirectional references, significantly enhancing cross-application workflows and research efficiency.

---

**中文描述:**

**功能需求:添加“复制当前高亮链接”命令**

增加“复制当前高亮链接”命令,用于生成可分享的 URL。该 URL 实现以下功能:
- 启动 Okular 并自动加载源文档
- 直接跳转至包含高亮的精确页面
- 恢复并显示先前高亮的文本选区

此功能借鉴浏览器的锚点链接机制,可无缝集成外部知识管理工具(如 Obsidian、Anki、Notion)。用户可将链接嵌入笔记、记忆卡片或文档中,创建双向引用,显著提升跨应用工作流程与研究效率。
Comment 3 tjswysqh 2025-11-28 01:00:26 UTC
(In reply to Albert Astals Cid from comment #1)
> Needs less ARRAY(0x559e2691a778) and more description

thanks to your telling me.i dont enter " ARRAY(0x559e2691a778)",maybe it just be a clipboard or input error.
sorry about its misleading.