Git Product home page Git Product logo

Comments (5)

ishchow avatar ishchow commented on May 18, 2024 1

FYI, Windows has built-in active window hints.

See these guides for how to turn it on.
Windows 10: https://www.intowindows.com/how-to-change-window-border-color-in-windows-10/.
Windows 11: https://gearupwindows.com/how-to-enable-or-disable-window-borders-color-in-windows-11/.

This is what it looks like for me with FancyWM turned on:

image

Seems to not hit any issues with Task Manager:

image

Maybe this doesn't need to be implemented in FancyWM after al?

from fancywm.

veselink1 avatar veselink1 commented on May 18, 2024

Thanks for the suggestion.
I will have to close this as it is a duplicate of #34.

On the implementation side:
This is not as easy to implement as that forum thread would make it seem. The linked AHK script assumes that the focused window is always on top, but that is not always the case.

If one has Task Manager with Always on Top enabled, and a browser window focused, the following result can be expected.

Screenshot 2022-01-31 215658

(The red rectangle was drawn on top with paint to illustrate how this can break.)

The drawing layer cannot be a topmost window (what the AHK does). FancyWM positions the overlay window above all managed windows, but not above all windows in the workplace, avoiding problems like the one above. FancyWM did have the border feature in version 1.x, but it was removed, because it would flicker whenever the focused window (superfluously) requests focus via ActivateWindow() (which is surprisingly often for some applications). That is, it was buggy.

from fancywm.

FarisHijazi avatar FarisHijazi commented on May 18, 2024

I'm fine with this quirk being there and you just mark it as experimental, after all it is functional but not pretty.
The flickering is actually a problem since it's distracting

from fancywm.

riotrah avatar riotrah commented on May 18, 2024

Interesting, I could argue the inverse: the flickering doesn't bother me unless it's near-constant, and even perhaps less so than a border running through and over my floating apps, potentially obscuring content.

TBH both being added with explicit experimental warnings with no support promises might work as well, if you wanted.

from fancywm.

veselink1 avatar veselink1 commented on May 18, 2024

Alright, I'm reopening this and will consider implementing as an "experimental" feature.

from fancywm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.