Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • K KDE Plasma Framework
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 28
    • Merge requests 28
  • 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
  • FrameworksFrameworks
  • KDE Plasma Framework
  • Merge requests
  • !408

When adding a new applet to a desktop containment, add it to the center

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Arjen Hiemstra requested to merge work/ahiemstra/appletposition into master Dec 07, 2021
  • Overview 6
  • Commits 1
  • Pipelines 6
  • Changes 1

Instead of always using the position the applet had before removal, which is -1,-1 for new applets, use the center of the containment for the applet position if we're adding a new applet to a desktop containment. This prevents applets from being added to a location beneath the widget explorer if they aren't being added by drag and drop.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/ahiemstra/appletposition