Summary: | Continuous view and multiple tabs | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Guilherme Dias da Fonseca <gfonsecabr> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | aacid, nate, yurchor |
Priority: | NOR | ||
Version: | 1.9.3 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/okular/commit/aa0d1b459b2f85515768639aa9e6620eb1e121de | Version Fixed In: | 21.08 |
Sentry Crash Report: |
Description
Guilherme Dias da Fonseca
2020-05-26 08:03:27 UTC
Confirmed for git/master. I assume the behavior does not match Bug 421399? I do not think it is the same problem as Bug 421399. The bug here is linked to tabbed view mode, while 421399 is not. I have not been able to reproduce 421399, and they say it does not always happen. The bug reported here happens exactly the same way every time I try. Since the bug here is deterministic and does not involve okular freezing, it may be easier to look at and may shed some light on what could be causing bug 421399. Before fixing this we need to agree whether "Continous view" is an Okular setting or a view/document setting. That is, if you change continuous mode, should it be changed in all the open document/views or just in the current document/view? The code right now is half a mess in which some parts of the code think that setting is Okular wide and some parts think it's document/view specific. I'm really not decided on which one is better. Opinions? I believe it should be a "document" setting because slides are more easily read in single page mode, while I believe continuous view is preferred in most other cases. Opening up a slide show pdf and the corresponding full text article is a somewhat common usage case to justify this choice. Asked in https://tsdgeos.blogspot.com/2021/02/okular-should-continuous-view-be-okular.html and had a 2/2 for each answer ^_^ But discussed with some other devels it seems we agreed that per document with a default makes sense, so i'll try to get that done at some point Git commit aa0d1b459b2f85515768639aa9e6620eb1e121de by Albert Astals Cid, on behalf of Mahmoud Khalil. Committed on 07/04/2021 at 21:39. Pushed by aacid into branch 'master'. Fixes changing continuous mode while on tabs issue Toggling the Continuous mode while opening multiple tabs caused an issue in Okular, in which it considered it a global setting. So, toggling it for one document, then toggling it again for the other documents may not take effect. This should fix it by considering this setting a per document setting, and therefore toggling the mode for one document shouldn't have any effect for other documents. M +2 -0 conf/okular.kcfg M +5 -0 part/dlggeneral.cpp M +24 -20 part/pageview.cpp M +8 -1 part/pageview.h https://invent.kde.org/graphics/okular/commit/aa0d1b459b2f85515768639aa9e6620eb1e121de |