ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor || https://github.com/ifreund/river || channel logs: https://libera.irclog.whitequark.org/river/
waleee has quit [Ping timeout: 240 seconds]
leon-p has quit [Quit: leaving]
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
ext0l has joined #river
ext0l has quit [Quit: WeeChat 3.2]
snakedye has quit [Ping timeout: 245 seconds]
ext0l has joined #river
ino has quit [Ping timeout: 246 seconds]
novakane has joined #river
snakedye has joined #river
waleee has joined #river
novakane has quit [Quit: WeeChat 3.2]
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #river
waleee has quit [Ping timeout: 248 seconds]
novakane has joined #river
<Nulo> For some reason all GTK apps running in Wayland show a CSD even when the app doesn't have functionality in it (Inkscape, Claws Mail); can I prevent that?
<ifreund> Nulo: you can get gtk to merge this: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/2191
<ifreund> though it likely needs a bit more work, I don't have any time for it at the momement though
<Nulo> Ugh
<ifreund> alternative fork river and add support for the kde ssd protocol :/
<Nulo> Yeah no
<ifreund> I'm avoiding implementing it out of idealism even though it would be trivial with wlroots
<Nulo> Installing the patch would be recompiling GTK with it right?
<Nulo> If it would be easy we could implement it until GTK gets their shit together
<Nulo> > inb4 river patches and releases faster than GTK merging an months-old patch
<ifreund> Like I said, I won't accept kde's ssd protocol in upstream river out of idealism
<ifreund> but river is open source so anyone is free to patch it as they like
<Nulo> Fair enough
<Nulo> Then I'll probably patch GTK
<Nulo> With yours
<ifreund> Nulo: let me know if you notice any bugs using the patch with gtk, I've barely tested the current version
<ifreund> the wayland side of the patch is solid, but I'm not at all familiar with the GTK side of the code
<Nulo> Love how no one in GNOME is interested in making a patch for a standard protocol
<ifreund> as far as they're concerned, everyone should use CSD for everything
dbuckley has quit [Ping timeout: 240 seconds]
<Nulo> Oh also, a similar thing happens on Telegram-Desktop (Qt) but it's small so I don't mind
<ifreund> hmm, I don't really know what QT's store with SSD vs CSD is
<ifreund> s/store/story/
<Nulo> Keep in mind Telegram is a pretty special Qt app
<Nulo> Using the Telegram option to "use native window" (as opposed to CSD) shows a Qt CSD
<dnkl> Nulo: do you have QT_WAYLAND_DISABLE_WINDOWDECORATION=1?
<Nulo> Nope, using that + "Use native window" fixes it, thanks
<ifreund> that would be a lot easier to implement for GTK tbh
<ifreund> the part of the gtk patch that probably doesn't work right is switching csd/ssd dynamically at runtime
<ifreund> the other problem is that I hate working with gtk's code
peregrinator has joined #river
leon-p has joined #river
snakedye has quit [Ping timeout: 240 seconds]
snakedye has joined #river
<snakedye> For me Telegram's titlebar is integrated in the app, kinda like Nautilus
<Nulo> snakedye: Yes, exactly. Using QT_WAYLAND_DISABLE_WINDOWDECORATION=1 fixed it
<Nulo> *and setting native window
<snakedye> I suppose I have this flag enabled by default also screen sharing on it worked ootb which was a pleasant surprise
waleee has joined #river
peregrinator has quit [Quit: Connection closed for inactivity]
<novakane> damn I finally took the time to implement true gaps in rivercarro, I spend waaay too much time on this, enough maths for 3 months :P
<ifreund> what exactly are "true gaps"?
<novakane> ifreund: like stacktile, instead of a padding around the view it's just a gaps between 2 views, so if I set outer-padding to 0 I have no gaps between a view and the screen edges
<novakane> ifreund: https://0x0.st/-yOz.png
<ifreund> ok so innner gaps instead of my lazy padding
<ifreund> padding does happen to be nice and simple though :D
<ifreund> working on a review of xdg-activation by the way
<novakane> ifreund: yep sure, although on small screen I like to have gaps to separate views but gain a bit of place with no outer gaps
<novakane> oh cool, stressful :P
<ifreund> I don't want it to be stressful, contributing should be as fun as possible
<ifreund> I do have really high quality standards though
<Nulo> What's the monocle view?
<Nulo> Also novakane what's the font on that screenshot?
<novakane> ifreund: no worries, I'm just joking, I never feel attacked here, I'm good with high quality standard, I know what I do is far from perfect but good reviews is great to learn :)
<novakane> Nulo: view that take all the usable screen, and the font https://github.com/rubjo/victor-mono
<Nulo> Nice, thanks
<ifreund> novakane: great, review is up :)
<novakane> great, I have a bit of time to look at it now
<Nulo> Tried stacktile and hit into a pretty ugly bug :(
<leon-p> Nulo: If you tell me what the bug is, I can fix it
<Nulo> leon-p: Setting outer-padding to 0 breaks in weird ways: no space is reserver for yambar and views are sticked to the right border instead of having inner padding to them (or maybe that's intended? but there's padding on the left, top and bottom)
<leon-p> Nulo: ah, I discovered that smae bug as well yesterday
<Nulo> :D
<leon-p> Actually I fixed it already once, but apparently it snuck in again
<leon-p> I'll give it a look later
<dagle> Hmmm. I have noticed that sometimes the tags in waybar+river lags behind, strange.
<dagle> Like I'm tag 3 but river thinks I'm on tag 2 for 1 sec.
<ifreund> dagle: hopefully just a few ms not a full second, but yeah that's racy currently
<ifreund> I hope to figure out a good way to expose the double-buffering of river's state to clients to allow for frame perfection there in the future, but it's a hard problem
<dagle> Idk, how long it is but long enough to notice it. So I would say more than a couple of ms.
<ifreund> by few a I mean a few hundred I guess
<ifreund> hmm, probably should've structed the river-status implementation a bit differently in retrospect
<ifreund> there's no reason to allocate a separate struct containing just a pointer to the output and to the resource for each resource
<ifreund> that was only the second protocol I implement server-side though, so I have an excuse for why it's bad
<ifreund> not worth fixing till after the xdg-activation PR though
snakedye has quit [Ping timeout: 240 seconds]
snakedye has joined #river
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
novakane has quit [Quit: WeeChat 3.2]
aruhier has joined #river
<Nulo> dnkl: Just witnessed yambar go up to 100% CPU for not reason, not being able to be killed with a normal killall
<Nulo> Killing pulseaudio while running causes it.