Code Monkey home page Code Monkey logo

Comments (34)

andrewaclear avatar andrewaclear commented on May 16, 2024 3

I think i tried to ask once and they didn't seem to really be interested either unfortunately. Could be worth a second shot though.

from blur-my-shell.

aunetx avatar aunetx commented on May 16, 2024 3

Now fixed for GNOME 46 onwards! You can create corners for static blur, this is done by default for dash-to-dock.

I am in deep thoughts about how to do the same for dynamic blur, but that's not as important now that something works so at least this bug is fixed!

from blur-my-shell.

aunetx avatar aunetx commented on May 16, 2024 1

Yes, I noticed this some times ago but I forgot to include that!

There is currently no (easy) way to include non-rectangular shape... I could try to draw the corners by hand, with a lot of little rectangles but this seems very hard to do

So I guess this too needs to be fixed in gnome! Sorry for that :(

from blur-my-shell.

aunetx avatar aunetx commented on May 16, 2024 1

Nice to meet you too @andrewaclear, glad you're interested in this extension :)

from blur-my-shell.

spxak1 avatar spxak1 commented on May 16, 2024

Thanks for your response. Doing it by hand is too much and rather pointless as the radius is also different depending on what other extensions people use (I, for one, don't use dash-to-dock but the floating-dock fork that offers control of the radius). So we will wait for gnome.
Thanks.

from blur-my-shell.

aunetx avatar aunetx commented on May 16, 2024

OK I see how much perturbing this is actually :/

I will open an issue on gitlab for this too, but I can't really push more than that ftm :(

from blur-my-shell.

andrewaclear avatar andrewaclear commented on May 16, 2024

KDE has this same issue and no one seems to want to fix it. I feel we should maybe try to write a script that draws those little rectangles for us by following the path of the object. Do you think this is possible @aunetx?

from blur-my-shell.

aunetx avatar aunetx commented on May 16, 2024

Sorry for responding very late @andrewaclear :/
Honestly, I don't think this will be possible at our level... It would mean having hundreds of blurred actors, and keeping them in sync with a selected object's shape; this is clearly either very hard to achieve, or very cpu-hungry

from blur-my-shell.

andrewaclear avatar andrewaclear commented on May 16, 2024

Oh it's ok don't worry @aunetx. Ya, I'm still new to a lot do this stuff so I'm trying to learn. I wanna try to think of a way somehow though because linux should become the best OS and these are the areas that are still putting it inferior to Mac for instance.

from blur-my-shell.

andrewaclear avatar andrewaclear commented on May 16, 2024

Maybe the best way would be to make/modify to get a really nice theme and then set the corners and everything to work properly with that theme. I mean at the end of the day there's no point in trying to make an ugly theme look good.

from blur-my-shell.

CorvetteCole avatar CorvetteCole commented on May 16, 2024

I have a few ideas on how to round the blur as a part of #39 . Just referencing it here to keep track

from blur-my-shell.

andrewaclear avatar andrewaclear commented on May 16, 2024

Ok sick. Hey dude, you're the one that was working on blur-provider. That's really cool. Ya I'm totally down to help you guys. I'm a CS student so I'm still learning stuff but if you guys can lead me in the right direction that would be awesome. I have already done some theme designing in linux and really want to help bring it to the next level. Linux is the best but it needs this last push.

from blur-my-shell.

CorvetteCole avatar CorvetteCole commented on May 16, 2024

yep! blur-provider was my baby. I was pretty much the first to build a blur extension and the shell blur was so buggy I just gave up. But, I think this extension has some great stuff and this will be a good addition to it. In terms of learning, I would start by taking a look at https://gjs.guide. I can find more resources later just ping me! I am a Computer Engineering student personally :)

from blur-my-shell.

andrewaclear avatar andrewaclear commented on May 16, 2024

Oh sweet. Ya for sure. Oh thanks I'll check that. Nice to meet you @CorvetteCole and also @aunetx I'm Andrew.

from blur-my-shell.

Project-Magenta avatar Project-Magenta commented on May 16, 2024

@CorvetteCole how did blur-provider deal with rounded corners?

from blur-my-shell.

CorvetteCole avatar CorvetteCole commented on May 16, 2024

@Project-Magenta it kind of... didn't. That was one of the things I wanted to solve. I sort of abandoned blur-provider development because there were many shell bugs and it was insanely infuriating. I am back at it, and glad to not be the only one working on it this time. So... blur-provider is kind of being entirely rewritten for the inclusion in to this extension

from blur-my-shell.

Project-Magenta avatar Project-Magenta commented on May 16, 2024

Huh? then why it work with round corners my theme

from blur-my-shell.

CorvetteCole avatar CorvetteCole commented on May 16, 2024

@Project-Magenta well, it still creates a box. so it may look alright at a glance but in reality there are sharp corners still for the blur

from blur-my-shell.

IsraPerez98 avatar IsraPerez98 commented on May 16, 2024

Wouldn't it be better to have this disabled by default?
Since it's currently broken and it looks bad

from blur-my-shell.

SpektacleFR avatar SpektacleFR commented on May 16, 2024

I've just had an idea, but take my words with a grain of salt because I'm not an extension developer to this extent. From what I understand, the blur my shell extension adds a sort of layer behind the things it blurs. So what if we make this layer span the entire screen, then use a mask in the shape of the dock to provide blur behind it? That would allow rounded corners, notification blurring, and get rid of some flickering when a high contrast color touches the edge of a blurred element.
Blur-Conecept
Something like this where the black parts would be the blur layer. I suppose that doing this would cause the same issue as drawing the blur layer though, where you can't just make rounded corners without drawing tiny rectangles by hand. Let me know what you think about this!

from blur-my-shell.

CorvetteCole avatar CorvetteCole commented on May 16, 2024

@Zany-Zachary1 this is a good idea in general, the issue is with stacking windows. how do we deal with a blurred window partially on top of another window? or, even worse, a blurred window overlapping ANOTHER blurred window. Static blur is an option already for the panel as an example of this. This is a particularly big problem for blurring notifications, since they are likely to pop up over windows and would look funny if they instead showed the desktop background

from blur-my-shell.

SpektacleFR avatar SpektacleFR commented on May 16, 2024

Assuming that the masked blur is always live, I suppose we could have different layers. That would be quite performance heavy though. This would however work for the dock assuming no other windows are blurred behind it. I think this would be a good idea to implement with a toggle for multiple layers.

from blur-my-shell.

CorvetteCole avatar CorvetteCole commented on May 16, 2024

I don't think it's worth spending our time on it, since if we can solve the big problem that fixes ALL cases, that would be far better than a bandaid. That said, I'm sure neither @aunetx or I would be opposed to reviewing a pull request implementing this if you'd like to give it a shot!

from blur-my-shell.

SpektacleFR avatar SpektacleFR commented on May 16, 2024

Well, if I were good as Aunetx, I totally would. I've only ever made simple extensions, but if anyone else would like to do this, that would be great.

from blur-my-shell.

CorvetteCole avatar CorvetteCole commented on May 16, 2024

No time like the present to learn! We can always use contributors. I went from 0 to being an extensions.gnome.org reviewer relatively quickly. Check out https://gjs.guide/, and join the IRC or Matrix for Gnome Extensions at https://matrix.to/#/#gnome:gnome.org or irc://irc.gnome.org/shell-extensions

from blur-my-shell.

aunetx avatar aunetx commented on May 16, 2024

Sorry, I'm very busy and can't help you a lot... This is a good idea, unfortunately from what I've tried, this does not work -- at least not as easily as I would like.

In #265 I tried to use an effect in order to mask the corners of widgets ; you can easily try it out. Unfortunately I've still not found a way to put it on top of the blur effect with backdrop mode.

So if you find a way to do it (even if we need to re-implement the whole blur effect) this can be very great (and there is not need to have only one layer btw, as we can have the blur effect the same size as the widget, and then just mask the corners -- as with the idea in #265). But I'm not sure how to do it, and idk if it is worth the time ; maybe an upstream implementation would be better...

from blur-my-shell.

andrewaclear avatar andrewaclear commented on May 16, 2024

Just recently Firefox finally implemented blur-backdrop. Can this be helpful since I believe gnome shell was built off of Mozilla back on the day? Idk if there is any relation anymore.

from blur-my-shell.

andrewaclear avatar andrewaclear commented on May 16, 2024

@Zany-Zachary1 This does sound like a smart potential approach but I guess like you guys were saying we still have the overlapping issue and inefficiency if we just make an entire layer for each. I wonder if Windows might have encountered this as you'll notice that windows that are blurred (like the settings for instance) are only blurred when focused. I'm not saying I like this solution though. It's kinda lame.

from blur-my-shell.

andrewaclear avatar andrewaclear commented on May 16, 2024

I think implementing border radius into gnome shell's blur option would be most resource efficient and the best solution. Really all we need is border radius and doing some hack in the front end will always be subpar and resource heavy.

from blur-my-shell.

CorvetteCole avatar CorvetteCole commented on May 16, 2024

Currently working on a proof of concept using COGL to render a custom path (https://developer-old.gnome.org/clutter-cookbook/stable/actors-non-rectangular.html). Would need to override the paint function of the Actor. Will update after I test this

Adding Desktop Cube code as reference for me: https://github.com/Schneegans/Desktop-Cube/blob/main/src/Skybox.js#L141

from blur-my-shell.

hrqmonteiro avatar hrqmonteiro commented on May 16, 2024

That's very promising, update us please if anything works

from blur-my-shell.

major-mayer avatar major-mayer commented on May 16, 2024

I think implementing border radius into gnome shell's blur option would be most resource efficient and the best solution. Really all we need is border radius and doing some hack in the front end will always be subpar and resource heavy.

Is there any upstream feature request that already tracks this?
Maybe the Gnome devs just don't know that this is a much wanted feature by the theming community?

from blur-my-shell.

hrqmonteiro avatar hrqmonteiro commented on May 16, 2024

I think implementing border radius into gnome shell's blur option would be most resource efficient and the best solution. Really all we need is border radius and doing some hack in the front end will always be subpar and resource heavy.

Is there any upstream feature request that already tracks this? Maybe the Gnome devs just don't know that this is a much wanted feature by the theming community?

They are not doing anything related to that.

from blur-my-shell.

major-mayer avatar major-mayer commented on May 16, 2024

Okay sorry, I don't know which ones responsibility it would be.
If not gnome than maybe someone else?

from blur-my-shell.

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.