ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
lsd|2 has quit [Quit: KVIrc 5.2.2 Quasar http://www.kvirc.net/]
nerdopolis has joined #wayland
privacy has joined #wayland
mclasen has joined #wayland
guru__ has joined #wayland
guru_ has quit [Ping timeout: 480 seconds]
garnacho has quit [Ping timeout: 480 seconds]
mclasen has quit [Remote host closed the connection]
mclasen has joined #wayland
mclasen has quit [Remote host closed the connection]
crazybyte has quit [Ping timeout: 480 seconds]
karenthedorf has quit [Ping timeout: 480 seconds]
Company has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
riteo has quit [Ping timeout: 480 seconds]
Company has joined #wayland
riteo has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
nerdopolis has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
Company has quit [Quit: Leaving]
mxz__ has joined #wayland
mxz has quit [Ping timeout: 480 seconds]
mxz_ has quit [Ping timeout: 480 seconds]
mxz__ is now known as mxz
mxz_ has joined #wayland
bjorkintosh has quit [Remote host closed the connection]
bjorkintosh has joined #wayland
balrog has joined #wayland
sima has joined #wayland
glennk has joined #wayland
cool110 has joined #wayland
cool110 is now known as Guest1535
Guest1216 has quit [Ping timeout: 480 seconds]
tzimmermann has joined #wayland
azerov has joined #wayland
Hypfer has quit [Quit: The Lounge - https://thelounge.github.io]
Hypfer has joined #wayland
JakeSays has joined #wayland
JakeSays1 has quit [Ping timeout: 480 seconds]
mvlad has joined #wayland
sstiller has joined #wayland
sstiller has quit []
privacy has quit [Read error: Connection reset by peer]
rasterman has joined #wayland
lockywolf has joined #wayland
leon-anavi has joined #wayland
garnacho has joined #wayland
crazybyte has joined #wayland
louis-g has joined #wayland
cool110 has joined #wayland
Guest1535 has quit [Remote host closed the connection]
cool110 is now known as Guest1549
Hypfer has quit [Ping timeout: 480 seconds]
Hypfer has joined #wayland
kts_ has joined #wayland
bluetail has quit [Quit: The Lounge - https://thelounge.chat]
kts_ has quit []
kts_ has joined #wayland
kts_ has quit []
kts has joined #wayland
kts has quit [Ping timeout: 480 seconds]
bluetail has joined #wayland
Company has joined #wayland
kaiser2nd has joined #wayland
<kaiser2nd> Good morning, is there somewhere I am able to track the clipboard issue thats affecting wayland compositors?
<vyivel> "the" clipboard issue?
<kaiser2nd> The particular issue where copy and paste does not work, or is very unreliable at best
<kaiser2nd> I have spoken to some people over on discord who are having the identical issue but on different compositors, using different clipboard managers, but cannot find anywhere to track this, for example a git issue
<kennylevinsen> You'll have to be a bit more specific - I don't know any any clipboard issues, and it's reliable.
<vyivel> ^
<kaiser2nd> thats interesting to hear
<kennylevinsen> clipboard *managers* being unreliable would be another thing, sounds more like a bug in those
<kennylevinsen> (I always recommend starting discussion at the client or server having a specific issue, and only escalating when devs suspect the issue is higher up)
<kaiser2nd> for background context, I am using hyprland and cliphist. clipboard functionality, for I'd have to roughly estimate, the last couple months(?) have been quite broken. For instance, I am able to copy text from firefox into kitty(terminal) but not vice versa, cannot copy text from anywhere else into discord, screenshotting images into my clipboard and pasting it is very unreliable and takes tens of tries
<kaiser2nd> for a succesfull upload. In general, with some exceptions (such as firefox -> terminal) the clipboard seems to only know what has been copied in thar particular application. An example of this would be copying something in discord, for example, attempting to paste it into firefox, what will be pasted is not the contents of what was copied in discord, but rather whatever was previously copied within
<kaiser2nd> firefox itself.
<kennylevinsen> start out by removing cliphist from the equation (make sure it's not running)
<kennylevinsen> then you have three components: firefox, kitty and hyprland. If you cannot copy between those two, then the issue is in one of those three components.
<kaiser2nd> I assumed this was an issue with hyprland, or even perhaps that I am not even using a actual clipboard program, So I install cliphist and ensured it doesnt conflict with any other clipboard program and is started on login. the issue persisted.
<kennylevinsen> You do not need any clipboard manager, those solely exist to add *extra* functionality like persistence once the source app clsoes.
<kaiser2nd> But I brought this up in a linux discord server, and someone was having the same issue on hyprland as well, he believes the issue is on waylands side. and another person came forward who doesnt use hyprland, they use wayfire, and they have the same exact issue as me, and is also using a different clipboard manager (copyq iirc)
<kennylevinsen> If it reproduces without cliphist, then it's a hyprland, kitty or firefox issue.
<kennylevinsen> kaiser2nd: "wayland" is mainly just a protocol specification, so suspicion of issues in Wayland mainly mean suspicion that the protocol specification is unable to provide a specific functionality.
<kaiser2nd> the person reporting it on wayfire also said they were having this issue with sublime as well
<kennylevinsen> For all intents and purposes, that's the *last* step in the debug chain, once one has established that the client and server works as per protocol, and that the protocol has a flaw
<kaiser2nd> I understand the nature of wayland, in my mind, when I see several people having the same issue using different software, where the only common denonimator is wayland, and this being confidently asserted by others as well, i assumed there would be a git issue or something along those lines, thats why im here
<kennylevinsen> kaiser2nd: mixing servers, clients and clipboard managers is not useful. Step one is to debug a single incident and figure out *why* one cannot copy from kitty
<kennylevinsen> Step 1 there would be analyzing the wayland messages (WAYLAND_DEBUG=1 kitty for example), and finding the faulty pattern (kitty not providing a data offer? firefox not accepting?)
<kennylevinsen> I don't see any reason to suspect the protocols at the current time
<kennylevinsen> I fully expect this to be a bug between the interacting parties, although I can of course be proven wrong later :)
<kennylevinsen> but note: in any debugging, make sure *no* clipboard manager is invovled, because that can itself be the cause. Keep it apples to apples, and debug the simplest reproduction with the simplest clients (e.g., maybe avoid firefox for example)
<kennylevinsen> (also note that while I am currently rejecting the hypothesis that it's a protocol issue, I am not saying that you cannot get help in the debugging process - it just doesn't belong on the Wayland issue tracker yet)
<kaiser2nd> I was overly confident that this was a well-known issue i suppose
<kaiser2nd> perhaps some common library or package broke for me and all these people, separate from wayland
<kennylevinsen> I imagine clipboard handling in kitty and hyprland would be handrolled by those projects. Firefox would partly rely on Gtk, and wayfire would partly rely on wlroots.
<kennylevinsen> It could be a bug that's getting copy-pasted around, or a weird corner case, who knows - getting a simple reproduction and looking at the Wayland debug logs would be useful.
<kaiser2nd> what i'll do is record a demonstration of the bug, as well as try to generate some logs to share
<kennylevinsen> starting kitty with `WAYLAND_DEBUG=1 kitty 2> kitty.log` should get you the messages. Try to be brief in your interaction with kitty though, and avoid typing anything sensitive - it'll contain *everything*
mclasen has joined #wayland
<kaiser2nd> ah im using alacritty
<kaiser2nd> you weren't kidding about these logs tracking every single thing
<dottedmag> kaiser2nd: Clipboard handling is a complicated dance between three parties, and whenever any step of any party is wrong the result is "clipboard does not work", so what you see might be the result of multiple bugs in various pieces of software.
<kaiser2nd> thank god i can copy from firefox to alacritty
<kaiser2nd> anyway thats the logs for alacritty, im not sure if there is anything useful there
<kaiser2nd> its a lot of noise, probably not much constructive in it but who am i to say
<kennylevinsen> it's only useful if it contains a reproduction of the issue
<kennylevinsen> i.e., a failed paste operation
<kennylevinsen> to or from the client you collected the log from
<kaiser2nd> uh, let me do that again then
<kaiser2nd> log is too large for pastebin, whats the popular paste site people are using nowadays?
<dottedmag> try paste.debian.net, maybe it will fit
<kaiser2nd> "413 Request Entity Too Large"
<kaiser2nd> aha
<dottedmag> well, any file-sharing
<kaiser2nd> I should probably host my own personal paste site
nerdopolis has joined #wayland
<bluetail> kaiser2nd why not use 0x0
<bluetail> https://0x0.st/
<kaiser2nd> oh right, that one
<kaiser2nd> thanks
<kaiser2nd> in this log, I tried to copy something from discord into alacritty
<kaiser2nd> it only pasted what I previously copied in alacritty itself
<vyivel> discord still runs through xwayland, right?
kts has joined #wayland
<kaiser2nd> vyivel: i was going to say "not for me" but looking at hyprctl clients, it is.. hm
<kaiser2nd> pretty sure i added wayland launch params..
<kaiser2nd> I will take a look at this after work
<kennylevinsen> alacritty is being spammed by data offers for some reason
<kaiser2nd> well i did try pasting into it, maybe 3 times at most
<kaiser2nd> i think twice
<kennylevinsen> it got 8647 offers
<kaiser2nd> odd
<kaiser2nd> i will try the same thing with kitty when i can
<kennylevinsen> When it was focused, it should get 1 offer (the last one), and no more unless the copy changes
<kaiser2nd> logging it, i mean
<kaiser2nd> I already know the same issue affects kitty as well, but would be good to get logs for that too
<kennylevinsen> receiving offers is not alacritty's fault. Make sure there isn't a clipboard manager running
<kaiser2nd> thats my bad, i forgot to kill cliphist
<kennylevinsen> this could very well be cliphists fault
<kennylevinsen> kaiser2nd: look for the "wl_data_device#BLAH.data_offer(new id wl_data_offer#BLAH)" lines. There shouldn't be many.
<kaiser2nd> cliphist is killed for this one
<kennylevinsen> The offers are still coming. One could try to kill source application to see if they at any point stop, and see if copying from *other* applications also cause it
<kaiser2nd> I need to do work, I will take another look at this after the ball and chain is off
<kennylevinsen> kaiser2nd: there's a good chance that this is hyprland, possibly due to a bad interaction with the source client - there's also extra fun things when the source app is Xwayland
<kaiser2nd> well, at this point, im thinking a fresh installation of my distro might be a solution
<kennylevinsen> I don't see why that would do anything
<kaiser2nd> who knows, i cant articulate the issue, hence the clean slate idea
<kennylevinsen> well the log you sent contain a pretty big issue worth debugging
<kaiser2nd> hm, alright, ill take another look later then before contemplating nuking the install
mclasen has quit [Remote host closed the connection]
Moprius has joined #wayland
<kennylevinsen> assuming *no* clipboard manager is running, then it's likely a hyprland bug - possibly in the xwayland clipboard logic as mentioned.
nerdopolis has quit [Ping timeout: 480 seconds]
<kennylevinsen> (it could also be the source app spamming the clipboard - I don't remember if *copying* is allowed for unfocused surfaces, only that paste isn't)
nerdopolis has joined #wayland
Moprius has quit [Quit: bye]
kts has quit [Quit: Konversation terminated!]
kingwill101 has quit [Ping timeout: 480 seconds]
naemi4491 has quit []
naemi4491 has joined #wayland
mclasen has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
Brainium has joined #wayland
alice is now known as psykose
psykose has quit [Remote host closed the connection]
psykose has joined #wayland
psykose_ has joined #wayland
psykose is now known as Guest1565
psykose_ is now known as psykose
Guest1565 has quit [Ping timeout: 480 seconds]
feaneron has joined #wayland
leon-anavi has quit [Remote host closed the connection]
<wlb> wayland Issue #414 closed \o/ (protocol: clarify how destroying and recreating a wl_subsurface affects its parent-child relationship and position https://gitlab.freedesktop.org/wayland/wayland/-/issues/414)
rv1sr has joined #wayland
<wlb> weston/main: Robert Mader * gl-renderer: Fix limited range quantization https://gitlab.freedesktop.org/wayland/weston/commit/9a754434f1c3 libweston/renderer-gl/fragment.glsl
<wlb> weston Merge request !1554 merged \o/ (gl-renderer: Fix limited range quantization https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1554)
<wlb> weston Merge request !1582 merged \o/ (Improve texture units usage https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1582)
kts has joined #wayland
kts has quit [Ping timeout: 480 seconds]
kts has joined #wayland
iconoclasthero has joined #wayland
iconoclasthero has quit [Remote host closed the connection]
iconoclasthero has joined #wayland
tzimmermann has quit [Quit: Leaving]
FreeFull has quit [Quit: rebooting]
FreeFull has joined #wayland
riteo has quit [Ping timeout: 480 seconds]
fmuellner has joined #wayland
<wlb> wayland-protocols Merge request !325 opened by Nicolas Fella (nicolasfella) tablet-v2: Fix feedback description in mode_switch https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/325
<Arnavion> Depending on how soon you took the log after killing cliphist, if cliphist spammed offers then it could take a while for compositor to drain the socket to EOF even after cliphist was already dead
kts has quit [Ping timeout: 480 seconds]
riteo has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
chamlis has quit [Remote host closed the connection]
chamlis has joined #wayland
sally has quit [Remote host closed the connection]
FreeFull has quit [Quit: New kernel version]
sally has joined #wayland
FreeFull has joined #wayland
meltq has joined #wayland
Moprius has joined #wayland
meltq has quit [Remote host closed the connection]
meltq has joined #wayland
meltq has quit [Remote host closed the connection]
Brainium has joined #wayland
privacy has joined #wayland
eroc1990 has quit [Quit: Ping timeout (120 seconds)]
sima has quit [Ping timeout: 480 seconds]
<wlb> wayland Merge request !413 opened by Demi Marie Obenour (DemiMarie) src: properly use sendmsg(2) https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/413
Ps1-Jack has joined #wayland
Psi-Jack has quit [Read error: Connection reset by peer]
<wlb> wayland Merge request !414 opened by Demi Marie Obenour (DemiMarie) Miscellaneous cleanups https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/414
<wlb> wayland Merge request !415 opened by Demi Marie Obenour (DemiMarie) Limit buffers to INT_MAX and respect signedness https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/415
r00tobo[BNC] has quit []
r00tobo has joined #wayland
<wlb> wayland Merge request !416 opened by Demi Marie Obenour (DemiMarie) Require messages to use as few bytes as possible https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/416
rasterman has quit [Quit: Gettin' stinky!]
sally has quit [Quit: sally]
sally has joined #wayland
abeltramo589523 has joined #wayland
tlwoerner_ has quit []
tlwoerner has joined #wayland
anon has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
mvlad has quit [Remote host closed the connection]
bindu_ has joined #wayland
bindu has quit [Ping timeout: 480 seconds]
Moprius has quit [Quit: bye]
Brainium has quit [Ping timeout: 480 seconds]
rv1sr has quit []
nerdopolis has joined #wayland
lsd|2 has joined #wayland
mclasen has joined #wayland
mclasen has quit [Remote host closed the connection]
Brainium has joined #wayland
glennk has quit [Ping timeout: 480 seconds]
iconoclasthero has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mclasen has joined #wayland
lsd|2 has quit [Quit: KVIrc 5.2.2 Quasar http://www.kvirc.net/]
nerdopolis has quit [Ping timeout: 480 seconds]
anon has quit [Remote host closed the connection]