Bug 487346 - Feature Request: Speak beginning from current page
Summary: Feature Request: Speak beginning from current page
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2024-05-22 02:26 UTC by alphabitserial
Modified: 2024-08-19 20:16 UTC (History)
2 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 alphabitserial 2024-05-22 02:26:52 UTC
SUMMARY

Currently, Okular has the following options for text-to-speech as far as I'm aware:
- Tools → Speak Whole Document
- Tools → Speak Current Page
- Select a text block → Right-click context menu → "Speak Text"

I'm requesting the inclusion of an additional option to the Tools menu, which would be functionally identical to "Speak Whole Document" except that it begins speech from the current page, as opposed to page 1 of the document.

One use case for this feature is in resuming the reading of long texts. I have several books which are hundreds of pages long, which I normally read in multiple sessions. When I come back to a book, currently I need to either select Speak Current Page for each new page of the book, or I need to select the text from the beginning of where I'm starting some end point several pages later. Another use case is for skipping e.g. table of contents, copyright/publisher info, etc. which are sometimes located at the beginning of a book.
Comment 1 Albert Astals Cid 2024-08-19 20:16:36 UTC
Git commit 7a0c0eae4786882ee5ab81b8b190c09cd18227be by Albert Astals Cid, on behalf of Athul Raj Kollareth.
Committed on 19/08/2024 at 20:16.
Pushed by aacid into branch 'master'.

Feature: speak from current page

Add option to start Text-to-Speech from current page.

M  +23   -0    part/pageview.cpp
M  +1    -0    part/pageview.h
M  +1    -0    part/part.cpp
M  +2    -1    part/part.rc

https://invent.kde.org/graphics/okular/-/commit/7a0c0eae4786882ee5ab81b8b190c09cd18227be