| Summary: | okular does not restore the session | ||
|---|---|---|---|
| Product: | [Applications] okular | Reporter: | Alin M Elena <alinm.elena> |
| Component: | general | Assignee: | Okular developers <okular-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | fabiodurso |
| Priority: | NOR | ||
| Version First Reported In: | 0.14.80 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch | ||
|
Description
Alin M Elena
2012-06-01 08:26:54 UTC
Created attachment 71504 [details]
Patch
The bug comes from e3f1c388de409843150280a2e1b3a738ab982af6 (transition to ReadWritePart).
I'm attaching the fix: Do not close the document in Shell::queryClose()
Because if we do, Shell::saveProperties will find it closed and won't save the session correctly.
@ Albert: I'm putting it in my commit queue for next week
Git commit ac695d448db95d2e31ba1c3469694e2a576185b4 by Fabio D'Urso. Committed on 01/06/2012 at 22:55. Pushed by fabiod into branch 'master'. Do not close the document in Shell::queryClose() Because if we do, Shell::saveProperties will find it closed and won't save the session correctly. M +1 -1 part.cpp M +1 -1 shell/shell.cpp http://commits.kde.org/okular/ac695d448db95d2e31ba1c3469694e2a576185b4 |