ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor || https://github.com/riverwm/river || channel logs: https://libera.irclog.whitequark.org/river/
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #river
gabm[m] has quit [Ping timeout: 240 seconds]
gabm[m] has joined #river
NickH_ has joined #river
NickH has quit [Quit: leaving]
NickH_ is now known as NickH
nt1036 has joined #river
nt1036 has quit [Client Quit]
nt1036 has joined #river
NickH has quit [Quit: WeeChat 3.4]
NickH has joined #river
nt1036 has quit [Quit: nt1036]
nt1036 has joined #river
nt1036 has quit [Quit: nt1036]
nt1036 has joined #river
snakedye has quit [Ping timeout: 256 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 240 seconds]
snakedye has joined #river
NickH has quit [Ping timeout: 256 seconds]
mon_aaraj has quit [Ping timeout: 240 seconds]
mon_aaraj has joined #river
nt1036 has quit [Ping timeout: 240 seconds]
mon_aaraj has quit [Ping timeout: 240 seconds]
mon_aaraj has joined #river
nt1036 has joined #river
waleee has quit [Ping timeout: 240 seconds]
NickH has joined #river
Guest35 has joined #river
Guest35 has quit [Client Quit]
NickH has quit [Ping timeout: 240 seconds]
nt1036 has quit [Quit: nt1036]
hspak has quit [Quit: The Lounge - https://thelounge.chat]
nt1036 has joined #river
hspak has joined #river
snakedye has quit [Ping timeout: 240 seconds]
snakedye has joined #river
nt1036 has quit [Quit: nt1036]
NickH has joined #river
nt1036 has joined #river
snakedye has quit [Ping timeout: 256 seconds]
snakedye has joined #river
nt1036 has quit [Quit: nt1036]
nt1036 has joined #river
mon_aaraj has quit [Ping timeout: 240 seconds]
mon_aaraj has joined #river
notzmv has quit [Ping timeout: 250 seconds]
nt1036 has quit [*.net *.split]
snakedye has quit [*.net *.split]
snakedye has joined #river
snakedye has quit [Ping timeout: 256 seconds]
mon_aaraj has quit [Ping timeout: 250 seconds]
mon_aaraj has joined #river
notzmv has joined #river
mon_aaraj has quit [Remote host closed the connection]
mon_aaraj has joined #river
mon_aaraj has quit [Ping timeout: 245 seconds]
monaaraj has joined #river
monaaraj has quit [Remote host closed the connection]
monaaraj has joined #river
pkap has joined #river
pkap has quit [Quit: Client closed]
waleee has joined #river
erik1 has joined #river
erik1 has quit [Quit: WeeChat 3.4]
monaaraj has quit [Ping timeout: 268 seconds]
monaaraj has joined #river
monaaraj has quit [Quit: WeeChat 3.4]
mon_aaraj has joined #river
mon_aaraj has quit [Ping timeout: 256 seconds]
mon_aaraj has joined #river
erik1 has joined #river
erik1 has quit [Quit: WeeChat 3.4]
mon_aaraj has quit [Ping timeout: 256 seconds]
mon_aaraj has joined #river
<leon-p> huh, so apparently it is still possible to get river confused. I just had an image viewer crash on me and now I can't focus anything on that tag :D
mon_aaraj has quit [Ping timeout: 256 seconds]
<leon-p> or, actually the image viewer did not die, apparently it is fullscreen but not rendered?
mon_aaraj has joined #river
<ifreund> hmm, is this on an up to date river version?
<leon-p> 0.2.0-dev-5cc3d78
<leon-p> that was my cursor theme patch. I don't think there have been any changes since then in this area
<leon-p> although I can't reproduce anyway
monaaraj has joined #river
mon_aaraj has quit [Remote host closed the connection]
<ifreund> leon-p: I actually did fix stuff in this area just after merging that
<ifreund> be870e05 and 147d9c2f90
<ifreund> (race conditions, yay!)
monaaraj has quit [Ping timeout: 260 seconds]
<leon-p> huh, I missed that. That could be it
monaaraj has joined #river
Nulo has joined #river
<Nulo> River just crashed again :D https://0x0.st/oXw8.txt
<Nulo> I was away when it happened so no clue what did it (machine locked with a few things open)
<ifreund> hrm, stack trace doesn't shed much light :/
<ifreund> Nulo: what river version is this?
<Nulo> ifreund, commit 79d7775
<ifreund> I've fixed one crash since then, but it's a race condition around fullscreening so probably not related
<Nulo> Why is it that all the crashes I trigger are always not reproducible with unhelpful stack traces D:
<ifreund> I don't know, river hasn't crashed on me like that in like a year
<ifreund> honestly though, the "unhelpful stack traces" part is wayland/libwayland's fault
<ifreund> at times like these I start to think the arcan guy is write about libwayland
<ifreund> s/write/right/
nt1036 has joined #river
<leon-p> he certainly has interesting ideas, not sure I agree with all of his solutions though
<ifreund> through knowledge of libwayland's internals, it seems that this was triggered by a wl_surface.commit request
nt1036 has quit [Remote host closed the connection]
<ifreund> Nulo: I think you gave me a very similar stack trace once before, would you mind opening an issue to track this?
nt1036 has joined #river
<ifreund> might very well be a wlroots bug, but it'd be worth getting fixed there as well
erik1 has joined #river
* Nulo logs into GitHub with a sign
* Nulo logs into GitHub with a sigh
nt1036 has quit [Client Quit]
<ifreund> thanks
<Nulo> I feel like I already opened an issue though..
<Nulo> Nah, probably confused it with https://github.com/riverwm/river/issues/483
<Nulo> Which hasn't happened again BTW
<ifreund> nice!
<Nulo> A few thoughts about how I use river:
<ifreund> Nulo: yeah last time you gave me this wl_surface.commit() related stack trace I spent a bit going through the code and found one possible dangling pointer pushed some commit fixing it
<ifreund> Seems like that was probably not the same bug though
<Nulo> I feel like I have to have a tag per window, at least in my tiny screen. Because having, for example, a tag with IRC and Telegram in monocle view works, but when I want to see Telegram and Firefox at the same time (say, I'm drag and dropping something from Firefox) I bring IRC along wasting screen space and making it annoying to use
<Nulo> However, the way river is designed (which I guess is derived from dwm, not sure, never used it) I have to have as many tags as views/windows. But I feel that tags are not the right way to treat it, and instead having a bar with all views with an assigned key (like qutebrowser/foot follow link mode) would work better
<Nulo> Just a thought, wondering how y'all handle this sort of thing
<ifreund> Yeah river pretty much just does what dwm does here
<Nulo> Expanding on that last thing: sometimes I just plain forget in which tag I left a window/view. Some bar could show this info though.
<ifreund> My bar shows which tags have views on them and which tags are focused, but not any info about what the views are
<Nulo> My bar works the same way, doesn't really help *for me*
<ifreund> I pretty much always have my browser on 3, random terminals on 1 and 2, IRC on 7, etc
* tiosgz` wonders what the empty tags are about :)
<ifreund> you mean like 4-6?
<tiosgz`> yea
<ifreund> I usually use those to temporarily stash stuff I had on 1/2 if I switch to working on something else but intend to go back
<ifreund> It's not a highly thought out system, just kinda what I've ended up doing
<Nulo> Well, I do that but the things that I have open vary on what I'm doing. Sometimes I'm doing multiple things at once (to be specific: maybe I'm waiting for something to compile or for someone to answer). I try to be consistent where I put things (1: editor, 2: general commands/git, 3: development daemons, 6: browser, 8: IRC..) But it varies. Sometimes I want to have multiple Firefox windows and I dump them in 5, but I might also use 5 for opening Inkscape to look at
<Nulo> mock-ups
<tiosgz`> i usually have 1=browser, 2-4=code, sometimes 9=random stuff; other screen 1=chat, 2=music player, 3=msteams
<ifreund> Nulo: One thing that might help which I want to try out at some point in the future would be a way to fuzzy search open views by app-id/title
<ifreund> that's kinda blocked on getting a shared tagset between monitors in my mind though
<ifreund> as otherwise I'm not happy with how focusing the result would work out
<Nulo> I thought about that! I also think it would be helpful, but I feel like it would be a ton of key presses instead of the "qutebrowser model". I think it's a space to look into
<tiosgz`> iow... keep that for complete external view mgmt :D
<ifreund> yep, that's the plan
<Nulo> Is there no way to get the titles of all views in all tags for a bar to use?
<ifreund> Nulo: currently there's no way to associate specific views and their titles, etc with tags they are on
<ifreund> though you can get all the titles through wlr-foreign-toplevel-management
<Nulo> Sad
<ifreund> which also can be used to focus arbitrary views, but river will ignore the request if the view is not on the already focused output currently
<ifreund> so you could implement the fuzzy view search/focus thing for a single output in river's "userland" using wlr-foreign-toplevel-management already I believe
<Nulo> Ohh interesting
<Nulo> Is there a Wayland i3bar equivalent? For text-based status bars, kinda wanna build something
<ifreund> I mean, there's swaybar for the direct equivalent
<ifreund> and waybar of course
<Nulo> Didn't know about levee, and of course swaybar
<ifreund> someone should really write a lemonbar equivalent thing for wayland
erik1 is now known as cabal704
cabal704 has quit [Quit: WeeChat 3.4]
erik1 has joined #river
erik1 has quit [Client Quit]
cabal704 has joined #river
<Nulo> Why is everything in my system broken, now ls-ing my home directory takes ages. /OT
<Nulo> https://0x0.st/oXww.mp4 I often stumble upon these kinds of view-moving issues
<Nulo> ifreund, what would I need to use to focus what I got from wlr-foreign-toplevel-management?
cabal704 has quit [Quit: WeeChat 3.4]
<ifreund> Nulo: you would make the zwlr_foreign_toplevel_handle_v1.activate request in your client
cabal704 has joined #river
<ifreund> Nulo: ah, so what's happening there is that the program didn't take the size river told it to (in this case cause hello-wayland is pretty dumb)
<ifreund> I don't have a good fix for that yet, it's relatede to https://github.com/riverwm/river/issues/519
mon_aaraj has joined #river
monaaraj has quit [Ping timeout: 260 seconds]
nt1036 has joined #river
nt1036 has quit [Ping timeout: 250 seconds]
cabal704 has quit [Quit: WeeChat 3.4]
cabal704 has joined #river
nt1036 has joined #river
cabal704 has quit [Client Quit]
cabal704 has joined #river
<novakane> ifreund: I'll probably try a zig/wayland lemonbar "soon" now that I'm on point with fonts
<ifreund> \o/
<novakane> I'm confident enough with pixman and fcft now, probably should be enough to start something like ths
mon_aaraj has quit [Remote host closed the connection]
nt1036 has quit [Quit: nt1036]
mon_aaraj has joined #river
<tiosgz`> feels bad that i haven't managed to get buffer allocation & swapping right yet :(
Guest65dsadsadsa has joined #river
<leon-p> Nulo: back when I used Sway, I had a keybind to rename workspaces on the fly. I used it aggressively and never lost a window. I plan on bringing that feature back when I'll eventually write my river window manager. Also I'll probably make worspaces behave a bit more like in tmux, but that is a different issue.
<leon-p> I find that I don't use most of the features of rivers tags often enough to really warrant replicating that. Basically I only need having a window be part of mulitple tags.
nt1036 has joined #river
nt1036 has quit [Client Quit]
<tiosgz`> ifreund: normally i retest even cosmetic changes, but i've already put my laptop back to where i can't unplug the monitor
<tiosgz`> is it okay if i just trust that i haven't broken anything?
<tiosgz`> re #537 ^^
<ifreund> tiosgz`: sure, no worries
Guest65dsadsadsa has quit [Quit: Client closed]
<ifreund> leon-p: yeah, I'm not 100% happy with just copying dwm's idea of how window management should be done either, making it quicker and easier to iterate on window management features is a large part of why I want to move that stuff outside of river
mon_aaraj has quit [Ping timeout: 240 seconds]
mon_aaraj has joined #river
cabal704 has quit [Quit: WeeChat 3.4]
<Nulo> ifreund, I made the fuzzy window thing but it doesn't work because river ignores requests outside of the current tag
<Nulo> Or, the views that are visible
<Nulo> And I can't manually focus the correct tag as river doesn't tell me in which tag it is
<ifreund> Nulo: hmm, yeah that's trivial to implement (e.g. https://0x0.st/oXx2.diff
<ifreund> but it's not clear to me if that's the right way to do it
<ifreund> maybe it would be better to bitwise and the target view's tags with the currently focused tags instead for example
<ifreund> which is why I want to boot this decision outside of the compositor so we don't have to have a billion different config options
<tiosgz`> s/and/or/ ?
<ifreund> yeah, bitwise or
<ifreund> also something will go wrong with that patch if activating a view not on the currently focused output
<ifreund> or maybe not, Seat.focus() handles that
cabal704 has joined #river
NickH has quit [Ping timeout: 240 seconds]
NickH has joined #river
mon_aaraj has quit [Ping timeout: 268 seconds]
mon_aaraj has joined #river
NickH has quit [Ping timeout: 250 seconds]
NickH has joined #river
<Nulo> ifreund, yes, I agree, I don't think river should do it. Although I did notice that it didn't focus them at all in unfocused tags
waleee has quit [Ping timeout: 260 seconds]
elshize has quit [Ping timeout: 256 seconds]
elshize has joined #river