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

            Bug ID: 414208
           Summary: Cannot restore specific session
           Product: konqueror
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: session restore
          Assignee: edu...@gmail.com
          Reporter: jsar...@gmail.com
  Target Milestone: ---

SUMMARY

I want to open a session from terminal with `--session <sessionId>` as directed
in man konqueror

STEPS TO REPRODUCE
1. Save a Konqueror session, e.g. "current"
2. Close Koqueror
3. In Konsole, execute "Konqueror --session current"

OBSERVED RESULT

The following message is displayed in Konsole:

`org.kde.konqueror: Unknown class "" in session saved data!`

And konqueror does not open

EXPECTED RESULT

Konqueror should open and load the "current" session

ADDITIONAL INFORMATION

I realized that if I manually copy the session content from its location to the
autosave folder, then opening konqueror loads the session.

This I think means two things:

- There is nothing wrong in the saved session and what fails is in the code
restoring saved sessions, but not in the code that restores the autosaved
session that works fine

- Adding the so claimed and popular feature request of restoring last open tabs
in konqueror seems quite straightforward simply by implementing the two
following steps:

 1. Avoid removing the content of the autosave folder on exit (if the option of
reopening tabs is enabled)

 2. Exiting Konqueror (and its shortcut Ctrl+Q) should close the entire
application (all konqueror windows) instead of the active window, which should
rather be closed with Ctrl+Shift+W as in Firefox/Chromium.

This step is important because otherwise the session is changing while closing
the different Konqueror windows, and then a user could restore no more than a
single window.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to