[Okular-devel] [okular] [Bug 341318] Save for every document whether it is viewed in continuous mode or not

felix_mauch at web.de felix_mauch at web.de
Tue Apr 14 09:15:07 UTC 2015


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

--- Comment #4 from felix_mauch at web.de ---
After some code browsing, I guess the following solution should work:

DocumentPrivate::loadViewsInfo seems to be a good starting point as it's the
xml parser. Following the function calls you end up in PageView::setCapability
where you could implement another switch case and then add another function to
pageview analog to the PageView::updateZoom function that handles other view
features.
Of course DocumentPrivate::saveViewsInfo needs to be adjusted, too. I didn't
look at the process pipeline there, but that should be rather simple, I guess,
since that's only grabbing available data and sending it to the XML-writer.

Basically, I think it's not too much work, so the main question is: Is there a
chance that this gets merged? Albert wasn't so clear about that ;)

@t0mplar: Would you like to implement this? Otherwise tell me then I'll try to
find some time.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list