Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 25
    • Merge requests 25
  • 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
  • FrameworksFrameworks
  • KDE Plasma Framework
  • Merge requests
  • !644

Rework of plasma theme mask corners and adding outline

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Niccolò Venerandi requested to merge work/niccolove/betterroundedcorners2 into master Nov 06, 2022
  • Overview 38
  • Commits 4
  • Pipelines 4
  • Changes 12

Replaces !636 (closed)

This patch reverts Marco's idea of making the mask of dialogs smaller by 1px (and plasma/plasma-workspace!2276 (merged) reverts my patch doing the same for the panel); instead, this MR reduces by 1px the mask but only for the corner elements.

The issue with reducing the whole mask by 1px is that you'll get a dark outline in Breeze Dark (both on the panel and the dialogs) and you'll be able to see the wallpaper through the panel/dialog in its outermost pixel.

This patch still isn't perfect. With some combination of colorscheme and wallpaper, you might still notice some darkening going on in the corners. This happened before this MR too, but at least now it happens only in the corners. It's much less noticeable; especially since most people seem to notice it only for the panel, which in most cases does not have any rounded corners (but it does have sides, so this MR - which makes the bug only appear in corners - is a great step forward).

I will update with screenshots. Please DO NOT TEST this yet, as I'm still figuring out a couple of things. I would also like to make our rounded corners slightly more rounded, which I think will also help us hide the effect a bit. Fun fact: our Plasma Theme rounded corners are so not-rounded that, without antialiasing, they'd be drawn as squares.

I haven't re-compressed the SVGs, will do.

image

image

TEST WITH plasma/plasma-workspace!2276 (merged) !

BUG: 417511 FIXED-IN: 5.101

Edited Nov 24, 2022 by Nate Graham
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/niccolove/betterroundedcorners2