Giter Site home page Giter Site logo

get effects like blur back about katana HOT 9 CLOSED

fluxer avatar fluxer commented on June 3, 2024
get effects like blur back

from katana.

Comments (9)

codic12 avatar codic12 commented on June 3, 2024 1

Looks like I have my answers now, and seems that with a bit of effort I can get most of the 4.14 applets to compile, as well as some kde 4 software from back in the day. Thanks for your awesome work on this project!

from katana.

codic12 avatar codic12 commented on June 3, 2024

Also, what about applets like the kde4 networkmanager / pulseaudio ones?

from katana.

fluxer avatar fluxer commented on June 3, 2024

Hello, the blur effect was removed long ago so it will require great effort to revert the changes and make it functional again. It may be possible to write new effect that blurs and does not require OpenGL. Using diminactive effect as starting point and setting the _NET_WM_WINDOW_OPACITY atom on inactively windows for example. Currently it can be achieved without effect via xwininfo and xprop commands but that is a bit tricky to automate probably. If you can write blur effect and make pull request I will happily test and merge it.

About the applets, I was thinking about writing ConnMan/NetworkManager applet a few days ago, checked the D-Bus API yesterday too and it may be possible to write applet that offers basic functionality (such as choosing which network connection to use, disable and enable all network connections) depending which is available on the system. I am also considering to add PulseAudio support back to KMix but I right now I am focusing on fixing some issues such as Plasma desktop crashes on OpenBSD and on the upcomming FreeBSD 13.1 so it may take a while before I can take a deeper look into it.

from katana.

codic12 avatar codic12 commented on June 3, 2024

Hello, the blur effect was removed long ago so it will require great effort to revert the changes and make it functional again. It may be possible to write new effect that blurs and does not require OpenGL. Using diminactive effect as starting point and setting the _NET_WM_WINDOW_OPACITY atom on inactively windows for example. Currently it can be achieved without effect via xwininfo and xprop commands but that is a bit tricky to automate probably. If you can write blur effect and make pull request I will happily test and merge it.

I see. Is there a reason why it has to not be dependent on opengl? Also, does katana retain api compatibility so I can compile some of the applets from https://github.com/KDE/kdeplasma-addons/tree/KDE/4.14, or will I have to change them? (no problem doing that, but then I can make a fork of that repository's 4.14 branch)

I tried building but I get this:

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindKDE4.cmake:98 (find_package)
  /usr/share/apps/cmake/modules/FindKDE4Workspace.cmake:33 (find_package)
  /usr/share/apps/cmake/modules/MacroOptionalFindPackage.cmake:32 (find_package)
  CMakeLists.txt:12 (macro_optional_find_package)


CMake Error at CMakeLists.txt:13 (macro_log_feature):
  Unknown CMake command "macro_log_feature".

from katana.

fluxer avatar fluxer commented on June 3, 2024

Preferable, it should be XCB dependent since the KWin compositor is using XCB and the effect will be coded mostly around X11 atom. Using OpenGL will require bringing back the OpenGL KWin compositor which will complicate things.

Katana does retain some of the API compatibility. The applets from 4.14 may require minor changes such as headers inclusions adjustments to build but the Plasma API remains mostly unchanged so some may work however some require libraries, applications or data engines which are not maintained as part of Katana and as such the news applet will not work for example.

from katana.

fluxer avatar fluxer commented on June 3, 2024

The macro_log_feature macro was removed, set_package_properties is used instead since it is standard CMake macro.

from katana.

codic12 avatar codic12 commented on June 3, 2024

Preferable, it should be XCB dependent since the KWin compositor is using XCB and the effect will be coded mostly around X11 atom. Using OpenGL will require bringing back the OpenGL KWin compositor which will complicate things.

I see, kwin is using xcb directly for compositing instead of going through any gpu libraries? that is very impressive...

from katana.

fluxer avatar fluxer commented on June 3, 2024

KWin is impressive indeed. There is a lot code for decorations, effects and other neat things.

It is possible, yes.

Thank you too!

from katana.

fluxer avatar fluxer commented on June 3, 2024

It appears there is a KWin application setting for opacity and shortcuts can be used to set window opacity btw, if you want to blur some windows it is possible as is now too:
NET-WM-WINDOW-OPACITY

from katana.

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.