GithubHelp home page GithubHelp logo

please make shadows optional about qtcurve HOT 3 CLOSED

qtcurve avatar qtcurve commented on June 2, 2024
please make shadows optional

from qtcurve.

Comments (3)

yuyichao avatar yuyichao commented on June 2, 2024

While that is an option I'm planing to add once I'm ready for making change to the configure system, I don't really think the shadow drawing is causing a lot of traffic.

If you are talking about X forwarding. In the current implementation, the shadow is only drawn ONCE when the style is initialized and enabling the shadow on a window is as simple as a non-blocking X message, which is a lot simpler than any drawing preformed by Gtk and Qt themselves (it's as simple as setting the window title). The initial pixmaps are also very small and should be only tens of KB (and again is only done once for each app) (notice that this github page in which I am writing this reply is 28kB, the html part only). What I have seen before when my system is slow or when running X forward on a slow network is that the shadow may appear before the content of the windows. This actually means the shadow arrives a lot faster than the real content. (The same argument goes to window shadow, since there won't be any tranfic at all.)

If you are talking about sth like vnc, Then I think what you should do is turning of compositing. While the shadow area is a lot smaller than the window itself, I can imagine the damage events from shadows (which are transparent) can be a lot bigger than the opaque content. Turning off compositing will disable all non-opaque drawing and any effects which are cpu/gpu/bandwidth consuming. Although the initial drawing of the shadow is still preformed on the X server, it will never be shown on the screen and will not take any bandwidth.

from qtcurve.

eshkrig avatar eshkrig commented on June 2, 2024

Many thanks for the clarification - it changes everything.
Regards.

from qtcurve.

luke-jr avatar luke-jr commented on June 2, 2024

Please reopen this. I find the shadows ugly, and also do use VNC (but don't want to disable compositing).

from qtcurve.

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.