Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • KWin KWin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 40
    • Issues 40
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 104
    • Merge requests 104
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • 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
  • Plasma
  • KWinKWin
  • Merge requests
  • !2208

Merged
Created Apr 06, 2022 by Marco Martin@martDeveloper

Fix a crash on x11 on closing laptop lid

  • Overview 5
  • Commits 4
  • Pipelines 7
  • Changes 1

On x11 when multiscreen is enabled often kwin crashes on laptop lid close, for two reasons:

  • m_outputLayer going dangling in RenderLayer: fixed by using a QPointer
  • m_activeOutput going dangling in Workspace

For the latter, the output disabling was done correctly, but x11client did set the old deleted output again in X11Client::moveResizeInternal This is fixed by moving desktopResized() at the bottom of Workspace::slotOutputDisabled() after the reassign of outputs to the toplevels

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: work/mart/x11multiscreencrashfix