Bug 439223

Summary: Wrap long text lines in ToC entries (instead of elide)
Product: [Applications] okular Reporter: stardust <mikimouse1188>
Component: generalAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: kde.podagric, postix, shenlebantongying
Priority: NOR    
Version: 21.04.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: an example to explain my point in Bug 439223

Description stardust 2021-06-27 13:41:47 UTC
SUMMARY
it would be very efficient and nice if we have a wrapped text style in TOC sidebar(as in firefox) instead of elided text in toc in okular. whenever toc has long text it gets very hard and annoying to resize sidebar every time someone have to read the toc and it takes a lot of screen. i reied to explain well , i hope u got my point. looking forward for this feature. :)
A kde lover living at moon

STEPS TO REPRODUCE
1. open a pdf with long TOCs




SOFTWARE/OS VERSIONS 
Linux/KDE Plasma: manjaro 
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
reddit post: https://www.reddit.com/r/kde/comments/o8tn18/request_for_a_feature_in_okular_many_times_some/?utm_source=share&utm_medium=web2x&context=3
Comment 1 stardust 2021-06-27 13:54:51 UTC
Created attachment 139690 [details]
an example to explain my point in Bug 439223
Comment 2 shenlebantongying 2021-12-16 11:50:28 UTC
There is a stalled merge request, but seems stalled 
https://invent.kde.org/graphics/okular/-/merge_requests/449
Comment 3 shenlebantongying 2022-05-23 09:43:42 UTC
Wrapping long text is problematic if they occupy too many rows (and it happens very often if the outline titles are long).  I don't think this is a good solution.

I suggest an alternative solution: "hover to show a tooltip that displays the whole title".