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/
dissisor has quit [Quit: WeeChat 4.2.1]
angry_vincent has joined #river
angry_vincent has quit [Remote host closed the connection]
angry_vincent has joined #river
tinwood has quit [Ping timeout: 255 seconds]
tinwood has joined #river
tinwood has quit [Changing host]
tinwood has joined #river
eShaev9z has joined #river
eShaev9z_ has quit [Ping timeout: 268 seconds]
leopoldek has quit [Ping timeout: 272 seconds]
<larstiq_> ooh, moving views back to disconnected outputs looks nice
leviathan has joined #river
leviathan has quit [Quit: Client closed]
waleee has joined #river
<leon-p> I have a touch screen laptop now and can reliably get crashes trying to interact with nautilus
<leon-p> I am stuck onbthe tablet commit until arch has the next wlroots patch version, but I dont think anything regarding touch changed recently
<leon-p> also massive +1 for getting rid of self
<leon-p> should have cold that patch egodeath
<leon-p> *called
<ifreund> hah, that's great
<ifreund> larstiq_: RE touch-related crashes, please get me an issue with a stack trace! I don't have any touchscreens to test with
<ifreund> oops, leon-p I mean
traidare has joined #river
lordmzte8 has joined #river
waleee has quit [Ping timeout: 256 seconds]
lordmzte has quit [Ping timeout: 256 seconds]
lordmzte8 is now known as lordmzte
angry_vincent has quit [Ping timeout: 259 seconds]
angry_vincent has joined #river
trav44624 is now known as travankor
angry_vincent has quit [Read error: Connection reset by peer]
alebastr has quit [Ping timeout: 260 seconds]
alebastr has joined #river
angry_vincent has joined #river
<leon-p> i'll do so as soon as I am back on my other laptop that has my keys and passwords
<ifreund> thanks :)
<leon-p> I am seeing some weird behaviour with the tablet tool here: it has no cursor until an application supporting the protocol is launched. after that it has the last cursor set by that on all other toplevels as well. Is there maybe no default cursor for tablet tools?
<leon-p> maybe pressing the button summons the cursor, needs mire testing
<leon-p> anyway, I wonder if there is a cursor more fitting for it than the default pointer image? I am pretty sure xcursor themes have a pen symbol
<ifreund> that's not intentional, I'll test that and have a look at the other tablet issue with the dropdown menus when I'm done the security contex impl
<ifreund> leon-p: feel free to suggest a better default cursor, I was just being lazy?
<leon-p> fair :]
<ifreund> s/?//
<leon-p> i think the issue is with my tablet pen: it turns itself off after some time and one needs to press a button to activate it again. duh
<leon-p> still not used to this, just bought my sisters old laptop off of her for notetaking since the pinenote does seem to be quite there yet
<leon-p> does anyone know if there is a way to make gdb cache downloaded debug info files? It's annoying having to wait a few minutes everytime I want to get a trace from a river dump
<ifreund> I think that's an arch problem, I just install the -dbg packages on void/alpine/chimera
<leon-p> brilliant, thanks
traidare has quit [Ping timeout: 260 seconds]
<leon-p> anyway, here are the debug logs and trace for the touch crash:
<leon-p> funnily it's when trying to drag nautilus
<leon-p> also I think the cursor name we'll want to use for tablet tools by default is "pencil", I'll try to get a PR going
waleee has joined #river
itshog has joined #river
<itshog> leon-p: I also experienced a crash yesterday when using the laptop stylus in Xournal++
<itshog> I wasn't able to reproduce it though
<ifreund> itshog: do you use systemd or otherwise have coredumps configured on your system?
<itshog> I'm on Arch so yes I have systemd
<waleee> coredumpctl is your friend and freund
<ifreund> yes, please check if you have a river coredump in `coredumpctl list`
<itshog> Yes
<itshog> Should i upload the output of `coredumpctl info river`?
<ifreund> coredumpctl gdb, then bt to get a stack trace
<ifreund> if `info` includes a stack trace that's fine too
<itshog> `bt` or `bt full`?
<ifreund> bt full is nice :)
<itshog> Ok
<itshog> How can I save te output into a file?
<leon-p> itshog: btw, you might find rnote a better program for handwriting than xournal++. I find the UI a lot better optimized for touch and tablet input and it's GTK4 inistead of GTK3 like xournal so perhaps it wont crash for you as often.
<itshog> leon-p: Yeeah I was planning on trying it
<itshog> But tbh I really like Xournal++
<itshog> One thing I really like about Xournal++ is that exported pdfs have a considerably smaller size than those produced with other (proprietary) programs used by my professors
<itshog> Are rnote pdfs equally small?
<itshog> Here's the output of `bt full` ifreund
<itshog> And here's river log from that crash
<leon-p> no idea about the PDF's rnote exports. Haven't really used it yet. I'll probably use it heavily next semester since I'll tutor a C program course.
<leon-p> ifreund: I am also getting crashes when trying to move any GTK4 program with the tablet tool. Do you also want a log and trace for that? I suspect it'll be pretty similar to the touch one
<ifreund> leon-p: I suspect it's the same bug, river just doesn't handle the client requesting to start a move while the cursor is hidden
itshog has quit [Quit: WeeChat 4.2.1]
itshog has joined #river
<ifreund> leon-p: that bug should now be fixed :)
<leon-p> nice!
<leon-p> it's both kinda funny and sad that the best program for quick sketches and "casual" drawing is the oekaki uxn rom
<leon-p> I wonder how hard it would be to copy it as a native wayland client
<ifreund> is there not a native wayland uxn VM?
<leon-p> it's sdl, so it's technically native, but it behaves not like a native application
<leon-p> f.e. the window is not resizable, tablet tool is just client side pointer-emulation, etc.
<leon-p> and it sits at like 10% CPU usage when idle
<leon-p> it's a great little program, just has some rough edges
<leon-p> oh, and it also constantly has an audio port open, so it keeps pipewire active as well
<ifreund> yeah, sdl is pretty poorly suited to anything but games
waleee has quit [Ping timeout: 260 seconds]
leopoldek has joined #river
dissisor has joined #river
<leon-p> so it's actually possible to have an almost flicker free boot from pressing the power button all the way straight to river with plymouth and greetd, however the one flicker I still see is rivers initial background colour before the init finished lol
<ifreund> leon-p: we'll solve that eventually, outputs need to be part of the transaction system
<ifreund> but that will probably wait untill wlroots 0.18 because then I can move to the backend-wide atomic API to modeset all outputs at once
<leon-p> no worries, I am surprised it even works this well. UEFI is magic
<leon-p> can you tell I've mostly used old computers or re-used installations made initially for old computers
Guest6012 is now known as stefur
leopoldek has quit [Remote host closed the connection]
itshog has quit [Quit: WeeChat 4.2.1]
<ifreund> itshog: the assertion failure you hit with touch should be fixed now as well :)
dissisor has quit [Ping timeout: 260 seconds]
dissisor has joined #river
<leon-p> submitted a PR to use the "pencil" cursor shape for tablet tool devices
<leon-p> also finally figured out commit signing. the trick is to sign with your ssh key to avoid the gpg pain
alexherbo2 has joined #river
<lordmzte> Having a bit of trouble here building the `river-git` AUR package. Seems like the zig-wayland submodule references a commit that doesn't exist. Log: https://paste.rs/0E8SG
<novakane> same error here
<ifreund> ah damn, forgot to push it
<ifreund> just a sec
<ifreund> done
<novakane> thanks!
alexherbo2 has quit [Remote host closed the connection]
lbia has quit [Ping timeout: 256 seconds]
traidare has joined #river
itshog has joined #river
itshog has quit [Quit: WeeChat 4.2.1]
lbia has joined #river
<leon-p> ifreund: regarding the cursor image PR: since I think you are a bit more familiar with that right now, can we use wlr_xcursor_theme_get_cursor() to check whether "pencil" exists? I don't think we can use the returned object, but perhaps we can check on setting the xcursor theme and then set a global
lbia has quit [Ping timeout: 252 seconds]
lbia has joined #river
leopoldek has joined #river
angry_vincent has quit [Ping timeout: 260 seconds]
traidare has quit [Ping timeout: 260 seconds]
<ifreund> leon-p: indeed, it looks like that should work. It's kinda lame that wlr_cursor_set_xcursor() doesn't return an error on failure but rather silently hides the cursor
lbia has quit [Ping timeout: 264 seconds]
lbia has joined #river
<adamcstephens> oof