Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Krita Krita
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Bugzilla
    • Bugzilla
  • Merge requests 71
    • Merge requests 71
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • GraphicsGraphics
  • KritaKrita
  • Merge requests
  • !1213

Add an explicit layer docker menu button for showing the context menu actions

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Tom Tom requested to merge tomtomtom/krita:tomtomtom/explicitlayeropmenu into master Dec 08, 2021
  • Overview 1
  • Commits 1
  • Pipelines 4
  • Changes 2

BUG:446649

This commit adds a menu button to the Layer Docker's Properties button which will grant the same layer operation actions as the right-click context menu. This is so that users without access to buttons on their stylus can now use this menu and some of its exclusive actions (outside of shortcuts).

layeropmenu

Although this commit technically doesn't add new strings, it moves old strings to a new function, so I'm not sure if it's backportable.

Test Plan

Check if the right-click context menu and the layer operations menu button show all their actions properly. Check if they update their actions corresponding to the current state of what's selected in the layer stack. Check if the actions actually function.

Formalities Checklist

  • I confirmed this builds.
  • I confirmed Krita ran and the relevant functions work.
  • I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!)
  • I made sure my commits build individually and have good descriptions as per KDE guidelines.
  • I made sure my code conforms to the standards set in the HACKING file.
  • I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.
Edited Dec 08, 2021 by Tom Tom
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: tomtomtom/explicitlayeropmenu