Skip to content
GitLab
Projects Groups Topics 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
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 62
    • Issues 62
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 163
    • Merge requests 163
  • 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
  • PlasmaPlasma
  • KWinKWin
  • Merge requests
  • !3571

kcms/rules: Change opacity defaults to 100%

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ismael Asensio requested to merge work/iasensio/rules-opacity-100 into master Feb 09, 2023
  • Overview 1
  • Commits 1
  • Pipelines 3
  • Changes 1

This has the benefit of providing a saner default for the values of opacityActive and opacityInactive rule properties, both in the UI and when reading the config.

opacity_default_100

The side effect is the same we have when changing default values: if someone would have set a rule with some opacity to 0%, it will be read as 100% next time kwin starts.

In this case it is a small price, as it is always easier to change it back when the windows are visible that restoring it when they're not, specially if it wasn't voluntary (And moreover in the transition to Plasma6)

⚠ Warning: If you set some rule with this value at 100%, you need to restart kwin so the actual Rules code also uses the new default

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/iasensio/rules-opacity-100