| Summary: | split view feature | ||
|---|---|---|---|
| Product: | [Applications] okular | Reporter: | Eugenio Yime <eugenio.yime> |
| Component: | general | Assignee: | Aviral Singh <aviral02singh> |
| Status: | ASSIGNED --- | ||
| Severity: | wishlist | CC: | andresimi, ashark, aviral02singh, b7.10110111, bluedzins, bugzillas, david.cortes.rivera, doc.evans, droidgoo, enrico.tagliavini, fischer, flyos, gerion.entrup, germano.massullo, home1, jonas743, julien.michot.fr, kde-2011.08, koukasio, loreaujy, m.weghorn, martin.marmsoler, me, musikolo, nate, nplatis, null, postix, priv, sameer, schmidt.simon, sedgeboy, soltesz.andras, steffenjost, tprotopopescu, tyler, Vdragon.Taiwan, vmorenomarin, zaliste |
| Priority: | VHI | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| URL: | https://invent.kde.org/graphics/okular/-/issues/92#note_1275376 | ||
| See Also: |
https://bugs.kde.org/show_bug.cgi?id=434357 https://bugs.kde.org/show_bug.cgi?id=339971 |
||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Bug Depends on: | |||
| Bug Blocks: | 174958 | ||
| Attachments: |
this, but with a pdf
Mockup of Okular Split View feature |
||
|
Description
Eugenio Yime
2008-08-26 12:28:12 UTC
(Shorten title a bit.) I need this! :) *** Bug 176483 has been marked as a duplicate of this bug. *** *** This bug has been confirmed by popular vote. *** This bug is related to the following bugs: Bug 155515: Switch to tabbed interface This bug requests for Okular to have tabs like Dolphin. Bug 174958: Side by Side mode This bug requests a special mode for the split view feature in which all non-critical vertical elements (elements that take up horizontal width) are removed to allow for two side-by-side documents to be shown at the maximum zoom level possible. It is not a dupe of this bug as it suggests extreme measures, such as trimming the page margins and removing interface elements. (In reply to comment #5) > This bug is related to the following bugs: > > Bug 155515: Switch to tabbed interface > This bug requests for Okular to have tabs like Dolphin. No, that bug is not related to this at all. You can perfectly have a split view in Okular for the same document with the current SDI (single document interface), and viceversa (multiple documents but no split view at all). > No, that bug is not related to this at all.
I suppose that you are right.
Absolutely, this would be great. Personally I'd like the split to be top-bottom so you have have the references section of a document in the bottom pane and the main text in the top pane. *** Bug 216872 has been marked as a duplicate of this bug. *** As a quick interim solution, could we have View -> Open in new Window like in Kate? This would quickly open another Okular instance on the same document at the same page. One can then arrange the windows underneath each other or side by side. *** Bug 248410 has been marked as a duplicate of this bug. *** I agree with #8, top-down splitting would be very useful to view references. On a large screen, you can still have the full page on top, and a small area for references below. *** Bug 174958 has been marked as a duplicate of this bug. *** Note that bug #174958, marked as a dupe of this one, requests the ability to open two different PDF files in separate panes, not necessarily the same PDF in both panes. (In reply to comment #10) > As a quick interim solution, could we have > > View -> Open in new Window > > like in Kate? This would quickly open another Okular instance on the same > document at the same page. One can then arrange the windows underneath each > other or side by side. That's totally what I would vote for https://forum.kde.org/viewtopic.php?f=251&t=111417&sid=9864a80774a8d2a5b762f474a7d073f4&p=266622#p266622 This would be a really useful feature. I especially agree with #8 and #12, top-bottom splitting would be really handy to be able to check references and endnotes. This is already possible in konqueror, open a pdf and then Window -> Split View Left/Right. Would be nice if okular had this too as it tends to use less memory. *** Bug 342002 has been marked as a duplicate of this bug. *** Also wish that annotation can be synced between both views. I also think this would be an important feature. Now I can only do this with 2 separate Okular windows which is not as easy to handle than a well implemented split feature. *** Bug 383329 has been marked as a duplicate of this bug. *** *** Bug 384851 has been marked as a duplicate of this bug. *** This enhancement has great potential - it gets my vote! *** Bug 389951 has been marked as a duplicate of this bug. *** Is there any chance this feature gets eventually implemented? I'm asking because it was originally requested over 9 years ago, and I see nothing that suggests it's coming anytime in the future. Thank you and long live Okular! There's always a chance! But this is a mostly volunteer project, and it needs a developer to do the work. You, maybe? ;) https://community.kde.org/Get_Involved/development Sounds fair! Can you please pass me a link to the source code? This said, I had no intention of pushing, because as you said, open source software is all good will... ;-) Feel free to read the documentation I linked to, which will help you find what you're looking for! Does KDE allow a bounty program? It's not in our power to allow or dis-allow anything. Feel free to post a bounty if you'd like. *** Bug 401131 has been marked as a duplicate of this bug. *** *** Bug 420699 has been marked as a duplicate of this bug. *** *** Bug 188784 has been marked as a duplicate of this bug. *** I want to indicate that workaround with konqueror (as noted in comment 17) still works. SUMMARY a single PDF can only be viewed one page at a time forcing one to scroll between different parts of the document. STEPS TO REPRODUCE 1. open pdf in okular 2. find a table on one page 3. find the text describing it on another page 4. try to understand the table OBSERVED RESULT constantly scrolling back and forth between the table and text EXPECTED RESULT be able to split the view of the PDF into two separate scroll-able regions of the screen so that both the table and the text are visible at the same time. similar to how a spreadsheet applications have the horizontal divider you can pull down to split the view and give two independent scroll bars. other suggestions about opening multiple instances of the PDF don't work because you can only have one instance of a document open at a time in okular, they cant be in separate windows or separate tabs unless you make a copy of the document and rename it. Created attachment 183045 [details]
this, but with a pdf
need to be able to split the view of the PDF into independent scroll-able regions
I've been studying this feature request and the related duplicates. I'm interested in working for the 'Split View' for a single document. Before I dive in, has there been any recent architectural discussion on whether this should be implemented using QSplitter or via a new tab-based approach? Also would the community prefer more a vertical split or a horizontal one (or should I add a toggle button between the two modes) ? Thanks! Just my 2-cents, but given the form factor of current screens, I expect vertical split to be more popular than horizontal one. (In reply to Aviral Singh from comment #37) > Also would the community prefer more a vertical split or a horizontal one (or should I add a toggle button between the two modes) ? My personal opinion is: it would be great to have both of them in a similar way to the Konsole split view options (In reply to flyos from comment #38) > vertical split to be more popular than horizontal one. I believe so too, for the proof of concept I am shipping a vertical split and then the horizontal split functionality can be built on top of it later :) Created attachment 188113 [details]
Mockup of Okular Split View feature
since pdfs are basically extra long scroll-able vertical documents as in Continuous View, my thought is that it would be far more convenient to split the window horizontally with two separate scroll-able regions that could be resized as needed.
this would better address OP's use case of needing to refer to as small section of one part of the document while reading another section.
see attached.
makes perfect sense! i believe that the split view should be initially a horizontal split which can then be opted to have a vertical split instead as well, the reason for my concern with having a vertical split is because nowadays everyone has an 16x9 view monitor and horizontal splitting isn't taking advantage of that extra space as far as reading text is concerned, because in horizontal view one would need to scroll more often making it a bit more frustating i guess. does this sound good? maybe I'll add options for splitting horizontally or vertically directly in the Menu>view tab, so one can enjoy their own preferences > --- Comment #38 from flyos@mailoo.org ---
> Just my 2-cents, but given the form factor of current screens, I expect
> vertical split to be more popular than horizontal one.
This is my preferred workflow. I can fit two or three document windows side-by-side across my monitor, depending on the contents and the relative zoom required for each.
Stacking documents vertically provides a much more limited view of each document, such that I can't see a full figure in one window at the same time as more than a few lines in the other.
(In reply to Tyler from comment #43) > > --- Comment #38 from flyos@mailoo.org --- > > Just my 2-cents, but given the form factor of current screens, I expect > > vertical split to be more popular than horizontal one. > > This is my preferred workflow. I can fit two or three document windows > side-by-side across my monitor... my work flow would involve having a pdf, as reference—alongside other work. so devoting the entire screen to the pdf defeats my ability to have other work alongside it—while still seeing two parts of the pdf at the same time. it also forces me to scan the entire pdf page for the reference material instead of allowing me to frame just the part i need to see. There's a discussion in invent for this issue. Please see especially the comment by ratijas: https://invent.kde.org/graphics/okular/-/issues/92#note_1275376 > What KDE/Qt really needs is a generalized Document model and WindowController integration, > akin to whatever AppKit does on Apple, then you'd get these tabs for free in every program across the fleet, > and no case-by-base bikesheds would be needed Someone should probably open an issue upstream for Qt and describe it well enough or even better open a MR :) Likely it's not a bad idea to track wishes for Qt implementations, which benefit the whole Plasma ecosystem somewhere at a common place, like on a wiki page on https://community.kde.org/. (In reply to goo from comment #44) > (In reply to Tyler from comment #43) > > > --- Comment #38 from flyos@mailoo.org --- > > > Just my 2-cents, but given the form factor of current screens, I expect > > > vertical split to be more popular than horizontal one. > > > > This is my preferred workflow. I can fit two or three document windows > > side-by-side across my monitor... > > my work flow would involve having a pdf, as reference—alongside other work. > > so devoting the entire screen to the pdf defeats my ability to have other > work alongside it—while still seeing two parts of the pdf at the same time. > ... Fair enough. After 17 years I'll be happy with anything that allows us multiple windows into the same document! Quick update! A merge request https://invent.kde.org/graphics/okular/-/merge_requests/1296 is underway and I am working to get it merged. please if someone can provide their two cents on what extra improvements would be nice to have without breaking the app too much, they are welcome to comment. Also this MR currently has horizontal and vertical split view support along with independent zoom and scroll bar along with a drag-able window splitter as mentioned in the comment #41. :) doesn't get said enough—thank you thank you for your tireless work to make this a better product looking forward to the update. (In reply to Aviral Singh from comment #42) > everyone has an 16x9 view monitor and horizontal splitting isn't > taking advantage of that extra space as far as reading text is concerned Like everyone, I also have a 16x9 view monitor. And as a heavy reader of PDF file, mine is mounted in portrait view (rotated 90 degrees from most installations). So the PDF fills the width, and I see over an entire page of the file on the screen. For my use case, a horizontal splitter (one pane above the other) is ideal. That said, I am aware that my use case is not the most common use case. I'm addressing assumptions of "everyone has" and the incorrect conclusions that are drawn from them. |