Skip to content

shrimple 🇵🇱 🏳️‍⚧️

shrimple mind. shrimple problems. complex solutions. she/her

Forcing KWin decorations and MS Edge’s 1cm shadow gradient

Posted on January[²⁰26], Friday 23.February[²⁰26], Monday 09. By Shrimple No Comments on Forcing KWin decorations and MS Edge’s 1cm shadow gradient

In Plasma (or just KWin), if you want to have window decorations, of an application that doesn’t like having anything outside its own, behave in a uniform way that you configured in your setup, you launch yourself the “Window Rules” by either

  1. Clicking on the titlebar of some normal window and picking “More Actions” and “Configure Special Window Settings” or “Configure Special Application Settings”, then going the arrow back to get out of creating a new rule or customizing an existing one (the window name, however, will remain referring to which fo the two options did you pick), or, more reasonably,
  2. Going to Plasma System Settings, from there under Workspace to Window Management, and picking Window Rules.

There, you use “Add new…” to create a new rule, use the Detect Window Properties tool to pick a window and select what scope do you want, consider the “matching whole window class” selector at random (occasionally giving it more thought), and then picking “No titlebar and frame” and setting it to “Force” with “No”, then picking “Instantly” above the Apply button and clicking Apply.

This lets you comfortably shade/unshade (feature only active in X11… https://bugs.kde.org/show_bug.cgi?id=377162) a maximized jetbrains-idea or code code with your mouse scroll wheel if you configured your KWin so; you may also want to do the same for “Ignore global shortcuts” so that your Alt-drag works for moving and resizing these even if they like having Alt for themselves.

Descent into the Microsoft Edge madness

But then if you do the same for Microsoft Edge…

Say you had “GTK+” picked in the “GTK+/Light/Dark” picker. At first attempt applying the Force rule may have you see an MS Edge floating anchored surrounded by one centimeter of padding all around — within a frame of proper decorations — as if to let it render its transparent shadow gradient.

Some search result told me I should disable “Show Windows 11 Visual effects in browser” option in flags. It was supposed to show me an option in Appearance settings, but didn’t.

Later I found that if I click Edge’s own titlebar, there is an action to “USe system title bar and borders”. Every time throughout all my next steps I kept attempting to have it do the thing.

Then I fiddled with the “GTK+/Light/Dark” theme picker in Appearance… and it turned out that switching to Light or Dark reliably makes all the Edge windows (including PWA) about once centimeter larger towards each side.

At this point applying the Window Rule no longer does anything. Not even rules like blocking compositing and restricting geometry cause anything else than at most odd glitches of transparency, replacing transparency with black/garbage or some really old transparency in between tabs (I switched to horizontal tabs in my attempts). Just a brief few-millimiter black/garbage frame around the windows for a few seconds shows it does something.

Setting “custom_chrome_frame” to false under “browser” in the “Preferences” file within the profile directory, as per another online advice, also didn’t show any difference.

Found nothing about currently existing CLI switches to deal with this.

I then tried pressing Alt+F3 to bring up Window Operations Menu of KWin… saw “No Border” checked and greyed out in there.

Maybe I will have more attempts after I restart Plasma later, for now I feel done with this.

0 Give it a Click if you enjoyed (it does not federate)
Software Imposed On Us Tags:against-messy-software, chromium-and-derivatives, kde, linux, microsoft-edge, window-decorations

Post navigation

Previous Post: when DMI info like Serial not in hostnamectl output
Next Post: Experimentally expanding Offpunk browser Part 1 (nightly)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Atom feed for this page

Atom feed for this blog

against-messy-software Atom|RSS_feeds bash big.ugly.git.patch. chromium-and-derivatives community fragment golang kde links2 linux microsoft-edge network offpunk offpunk:lists offpunk:redirections oss-contributing perl programming-tips scripting smolweb subscribe superuser window-decorations Wordpress_ActivityPub_plugin

Categories

  • Influencing Society

    (2)
  • Meta

    (3)
  • Oddities of alternate reality

    (1)
  • Programming Technologies

    (1)
  • Rookie Repairs

    (1)
  • Smol Web Habits

    (2)
  • Software Imposed On Us

    (1)
  • Wild Software Writing

    (8)
  • March 2026 (4)
  • February 2026 (5)
  • January 2026 (10)
shrimple 🇵🇱  🏳️‍⚧️
shrimple 🇵🇱 🏳️‍⚧️
@shrimple@www.shrimple.pl
Follow

shrimple mind. shrimple problems. complex solutions. she/her

19 posts
6 followers

Follow shrimple 🇵🇱 🏳️‍⚧️

My Profile

Paste my profile into the search field of your favorite open social app or platform.

Your Profile

Or, if you know your own profile, we can start things that way!
Why do I need to enter my profile?

This site is part of the ⁂ open social web, a network of interconnected social platforms (like Mastodon, Pixelfed, Friendica, and others). Unlike centralized social media, your account lives on a platform of your choice, and you can interact with people across different platforms.

By entering your profile, we can send you to your account where you can complete this action.

  • Getting TLS1.3 Key Log from Go application with requests by a library, and using it in Wireshark Programming Technologies
  • Subscription into list rather than tour — Offpunk draft feature patch Wild Software Writing
  • when DMI info like Serial not in hostnamectl output Oddities of alternate reality
  • Links 2, a graphical browser I wanna build upon. And a quick look at how ELinks is doing. Wild Software Writing
  • Slash-hierarchical list names — my draft implementation for Offpunk Wild Software Writing
  • Why follow requests here and can I even be followed Meta
  • Hello world! Meta
  • Reässessing my Canon Selphy CP530 and CP510 — slowly Rookie Repairs

shrimple@shrimple.pl

Copyright © 2026 shrimple 🇵🇱 🏳️‍⚧️.

Powered by PressBook News WordPress theme