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 39
    • Issues 39
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 105
    • Merge requests 105
  • 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
  • !211

Merged
Created Aug 25, 2020 by Nate Graham@ngrahamDeveloper

[kcmkwin/kwinoptions] Add GUI for making KDE apps not remember window positions

  • Overview 8
  • Commits 2
  • Changes 8

This adds a setting to the window options KCM to prevent KDE apps remembering their own window positions on X11, and instead always use the KWin placement modes.

The setting sets an option in kdeglobals, rather than kwinrc, as it is not a KWin-specific option per se.

This setting is hidden on Wayland, as it is not relevant there because the functionality it disables does not work on Wayland. Instead, remembering window positions will eventually be implemented in a different way and affect all windows, not just KDE windows.

See frameworks/kxmlgui!14 (merged) for more details regarding the reasons why this might be desirable.

Test plan:

  • Apply frameworks/kxmlgui!14 (merged) to kconfig
  • Apply this to kwin
  • Launch Dolphin, move its window, close it, and re-launch it -> See that window position was remembered
  • Launch Window Options KCM > Advanced Tab > Uncheck "Allow KDE apps to remember the positions of their own windows" > Click Apply
  • Launch Dolphin again -> See that it was positioned according to the KWin placement mode rather than remembering its prior position

CCBUG: 415150

Edited Aug 25, 2020 by Nate Graham
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: add-gui-for-making-kde-apps-not-remember-window-positions