kwin-tiling icon indicating copy to clipboard operation
kwin-tiling copied to clipboard

[feature request] When borders are turned off for the active window, add a thin colored border around it

Open CrazyCrab opened this issue 12 years ago • 6 comments

When borders are turned off for the windows, it's very difficult to see which one is active. It would be nice to add a very thing colored border around the active window if its borders are turned off (that's how it works in xmonad).

CrazyCrab avatar Jan 13 '14 08:01 CrazyCrab

Unfortunately kwin doesn't provide anything we can use for this - there's the ability to show an outline, but that darkens the active window and (more importantly) blocks it from receiving mouse input.

So...I'm sorry, but it's currently unfixable on my end. The best workaround I've found so far is the "darken inactive windows" effect.

faho avatar Jan 13 '14 14:01 faho

What might work is just gaps (with maybe a colorful background). See https://github.com/faho/kwin-tiling/tree/gaps

faho avatar Jan 16 '14 18:01 faho

I've had another look at this, and it turns out it may be possible with qml, though I don't know it yet.

So... time to get reading.

faho avatar Mar 16 '14 10:03 faho

So, I've finally drawn something on screen with QML, but I only got it working in Plasma 5, and even then only without compositing.

What I need to do now is:

  • Remove the filling/draw borders only, not a complete filled rectangle
  • Hook it up to the logic
  • Get it to appear with compositing
  • Backport it to Plasma 4

faho avatar Oct 20 '14 07:10 faho

I think some ideas/code might be taken from Aurorae window decorations – https://store.kde.org/browse/cat/114/. Martin Gräßlin's blog posts about Aurorae engine – https://blog.martin-graesslin.com/blog/tag/aurorae/

Also, it seems like backporting to Plasma 4 could be dropped from the list.

piotr-dobrogost avatar Nov 29 '16 11:11 piotr-dobrogost

I don't think this would ever work properly. The best you can do right now is to enable gaps and keep window borders.

faho avatar Aug 07 '20 12:08 faho