If I have to do a note taking app, I have to offer like X version apps for every compositor inexistence?

|
smol_mazunki 2022-09-18 00:57:41
(which is both slower, because we’ve recomposited the same stuff twice, and a security hole because the overlay has full access to your windows)
Jamerive 2022-09-18 00:57:45
smol_mazunki 2022-09-18 00:57:13
in fact, it’s even EASIER to implement blur on wayland than on xorg, because the way it’d work on xorg is that there’s an “overlay” on top of all the applications which reads and recomposes the output

Then be my guesr and help if it is that esay, right?😂

smol_mazunki 2022-09-18 00:57:57
on wayland, the implementation would happen directly
smol_mazunki 2022-09-18 00:58:09
Jamerive 2022-09-18 00:57:45
Then be my guesr and help if it is that esay, right?😂

i don’t care about blur, so why would i bother

smol_mazunki 2022-09-18 00:58:17
i spend my time doing other things
Jamerive 2022-09-18 00:58:22
That argument blow itself the lack of manpower, right?😂
smol_mazunki 2022-09-18 00:59:01
Jamerive 2022-09-18 00:56:54
Because you have to fix it yourself? I found amazing how you complainnabout the suckless way and still fail to realize that way on wayland’s way?😂

implement it once, and it’s done forever

smol_mazunki 2022-09-18 00:59:17
(under that compositor, anyway)
Jamerive 2022-09-18 01:00:14
But my point it is that you have until now 3 compositord and counting and no a fair grpund of how/what it is implemented and that is a nightmare for the user/dev that need thrird party software
Jamerive 2022-09-18 01:00:33
Then, people complain of the lack of software in wayland!
Kueppo 2022-09-18 01:00:38
Ceda EI 2022-09-18 00:47:14
data between pipes is buffered

👍 I removed the sleep 1 and it seems to work properly and now I dunno why this sleep has something to do with preventing sed from reading the first pipe buffer.

smol_mazunki 2022-09-18 01:00:57
Jamerive 2022-09-18 01:00:14
But my point it is that you have until now 3 compositord and counting and no a fair grpund of how/what it is implemented and that is a nightmare for the user/dev that need thrird party software

3 compositors?

smol_mazunki 2022-09-18 01:00:59
there’s plenty more
Ceda EI 2022-09-18 01:01:07
Kueppo 2022-09-18 01:00:38
👍 I removed the sleep 1 and it seems to work properly and now I dunno why this sleep has something to do with preventing sed from reading the first pipe buffer.

Sed will buffer data till it has 4k of data

Jamerive 2022-09-18 01:01:14
smol_mazunki 2022-09-18 01:00:59
there’s plenty more

Even worse then!😂

smol_mazunki 2022-09-18 01:01:17
Ceda EI 2022-09-18 01:01:07
Sed will buffer data till it has 4k of data

doesn’t /p bypass that?

smol_mazunki 2022-09-18 01:01:34
Jamerive 2022-09-18 01:01:14
Even worse then!😂

here’s the thing: applications shouldn’t care about compositors

smol_mazunki 2022-09-18 01:01:36
by design
smol_mazunki 2022-09-18 01:01:49
they should only care about the wayland specification and the interfaces provided
smol_mazunki 2022-09-18 01:02:11
> and no a fair ground of how/what it is implemented
Jamerive 2022-09-18 01:02:13
If I have to do a note taking app, I have to offer like X version apps for every compositor inexistence? Good luck with that… 😂
smol_mazunki 2022-09-18 01:02:13
that’s entirely wrong
smol_mazunki 2022-09-18 01:02:23
https://wayland.freedesktop.org/docs/html/apa.html
smol_mazunki 2022-09-18 01:02:26
here’s the common ground
smol_mazunki 2022-09-18 01:02:44
Jamerive 2022-09-18 01:02:13
If I have to do a note taking app, I have to offer like X version apps for every compositor inexistence? Good luck with that… 😂

wrong.

smol_mazunki 2022-09-18 01:02:49
you’re missing the point
smol_mazunki 2022-09-18 01:03:09
unixusergroup-50542.jpg
learn these functions. congratulations, you now have support for ALL the compositors
Ceda EI 2022-09-18 01:03:24
smol_mazunki 2022-09-18 01:01:17
doesn’t /p bypass that?

No? It just tells sed that it has to print it.

smol_mazunki 2022-09-18 01:03:36
Ceda EI 2022-09-18 01:03:24
No? It just tells sed that it has to print it.

hm, okay

Jamerive 2022-09-18 01:03:48
smol_mazunki 2022-09-18 01:02:44
wrong.

Let me give you an example. I designed my app so it can use blur, so do I have to deliver another version without blur for sway?

smol_mazunki 2022-09-18 01:04:17
i’m not sure why any specific app should be responsible for implementing blur
Jamerive 2022-09-18 01:04:25
smol_mazunki 2022-09-18 01:04:17
i’m not sure why any specific app should be responsible for implementing blur

Terminal app

Jamerive 2022-09-18 01:04:31
Locker apps
Jamerive 2022-09-18 01:04:43
Etcera…
smol_mazunki 2022-09-18 01:05:00
my point being, wouldn’t it be more logical for any app to say “hey wayland, i’d like to be blurred now”
|