Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Konqueror Konqueror
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • NetworkNetwork
  • KonquerorKonqueror
  • Merge requests
  • !125

Fix session management with preloaded windows

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Stefano Crocco requested to merge stefanocrocco/konqueror:fix-restore-session-preload into master Jun 26, 2022
  • Overview 3
  • Commits 2
  • Pipelines 5
  • Changes 9

Session management stopped working corectly with preloaded windows when Konqueror was ported from having many application instances to a single application with many windows. The session management code wasn't changed accordingly, which caused preloaded windows to be restored as full windows.

To correctly exclude preloaded windows from session management, we use KMainWindow::saveGlobalProperties to store the indexes of preloaded windows and KMainWindow::readGlobalProperties to read them back, so that we know which windows should not be restored.

This commit also refactors much of the startup code, moving it from main() to KonqApplication.

BUG: 450624

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-restore-session-preload