/srv/irclogs.ubuntu.com/2022/08/31/#mir-server.txt

RAOF<grayson-g[m]> "I've been looking at `boost::..." <- This may be a good time for you to look at adding the API alan_g referenced: [issue 2543](https://github.com/MirServer/mir/issues/2543)?00:00
RAOFHm. Except you'd *actually* be wanting to add a timer, which would be exposing an `Alarm`-type API.00:01
RAOFBut it's the same sort of thing.00:01
-GitHub[m]:#mir-server- **[MirServer/mir]** bors[bot] merged [pull request #2601](https://github.com/MirServer/mir/pull/2601): Ensure test_wayland_generator runs (and fix test)06:12
-GitHub[m]:#mir-server- **[MirServer/mir]** bors[bot] closed [issue #2597](https://github.com/MirServer/mir/issues/2597): test_wayland_generator fails (but not run by ptest target)06:12
=== dot-tobias is now known as dot-tobias[away]
RAOFHey hey Saviq. WRT the fact that [we don't test the *tarballs* we release](https://github.com/MirServer/mir/issues/2596), could we in fact have a github action that runs on final release, runs `tools/make_release_tarball`, and reports any failures?07:57
RAOF(We would also want to add a "run the tests" check to `make_release_tarball`, but that's easy)07:58
SaviqWe really should have a pre- job that builds the tarball and source packages, where applicable, and goes from there07:58
SaviqRather than every job checking out on its own07:59
RAOFAaah, yes. That would be neatm.07:59
RAOFs/neatm/neat/07:59
SaviqI'll put that as part of my release process rework08:00
SaviqWe broked something:08:15
Saviqhttps://launchpad.net/~mir-team/+archive/ubuntu/dev/+packages?field.name_filter=mir&field.status_filter=&field.series_filter=08:15
SaviqIt's the release merge that triggered it08:18
=== dot-tobias is now known as dot-tobias[away]
=== dot-tobias[away] is now known as dot-tobias
alan_g[m]Just seen the email storm. Are you looking into it?08:31
SaviqNothing obvious so far08:32
SaviqThe version bump?08:33
alan_g[m]unable to open lockfile /run/user/2001/wayland-0.lock check permissions... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/b782fab1ffacb67ca4786e13633333b3b72fb395)08:33
alan_g[m]That's how the tests are breaking. Now for why...08:34
alan_g[m]Saviq: Has the Launchpad infrastructure changed?08:37
SaviqDoubt that08:40
SaviqI will push the last working one with a version bump to confirm08:41
alan_g[m]Ack. My first suspicion is that a useless XDG_RUNTIME_DIR has been added to the environment08:42
alan_g[m]Because we have a hack along the lines of "if XDG_RUNTIME_DIR is missing, set it (to /tmp)"08:43
alan_g[m]Yup, we've now got the following user environment:08:51
alan_g[m]XDG_RUNTIME_DIR=/run/user/200108:51
alan_g[m]XDG_SESSION_CLASS=background08:51
alan_g[m]XDG_SESSION_ID=c8008:51
alan_g[m]XDG_SESSION_TYPE=unspecified08:51
alan_g[m]Which is new with the failing builds08:51
alan_g[m]So the question is "what is wrong with `/run/user/2001` - does it exist? Etc?"08:53
SaviqI feel like we've been through this before...08:55
alan_g[m]Can you get access to an instance to poke around?08:55
=== dot-tobias is now known as dot-tobias[away]
=== dot-tobias[away] is now known as dot-tobias
alan_g[m]We have08:56
SaviqFor reference, reported the issue to Launchpad:09:05
Saviqhttps://answers.launchpad.net/launchpad/+question/70299509:05
alan_g[m]OK, I'll leave you with this one09:07
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq requested a review from AlanGriffiths for [pull request #2603](https://github.com/MirServer/mir/pull/2603): tests: fix XDG_RUNTIME_DIR handling09:17
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq opened [pull request #2603](https://github.com/MirServer/mir/pull/2603): tests: fix XDG_RUNTIME_DIR handling... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/62bc3aaa1d4cd920f95e15dd759d7c8c1ee506b5)09:17
alan_g[m]Saviq is there any pattern to your "transparent windows" issue? I've been working on my oldest laptop without seeing it yet. Is there a particular app it happens to?10:19
SaviqIf I had to guess, it'd be Firefox affected most often, but that's mostly because that's what I'm looking at the most10:20
Saviqs/mostly/likely/10:20
alan_g[m]OK, so I've got glmark running behind clion and firefox and seeing nothing. (yet)10:21
SaviqIt does only happen occasionally, a few flashes in quick succession, then it's back in order again10:22
SaviqBetween 1-3 times a day10:22
alan_g[m]OK, so may not show in an hour or two10:23
-GitHub[m]:#mir-server- **[MirServer/mir]** bors[bot] merged [pull request #2603](https://github.com/MirServer/mir/pull/2603): tests: fix XDG_RUNTIME_DIR handling11:07
=== dot-tobias is now known as dot-tobias[away]
=== dot-tobias[away] is now known as dot-tobias
Saviqalan_g ah, got an idea about my copy/paste issues. There's two c/p modes are there not? "online", where clients negotiate the data, and "cached", where it's a one way thing. So the latter is what's not working I think. If I quit the "source", I never get to paste anything12:18
SaviqMaybe Firefox / Thunderbird behave similarly to that with some copies (from the address bar, or through "copy link")?12:19
alan_g[m]There's only the one way we support, and that requires both source and destination to be alive13:11
alan_g[m]primary-select (which we don't support) could allow stuff to be cached by a third party13:14
SaviqSure, but I don't mean primary-select. I mean Ctrl+C, close the source, Ctrl+V13:17
SaviqThat, for at least some cases, should work13:17
alan_g[m]The source needs to hang around (possibly without a window) to negotiate mime type and data13:17
alan_g[m]The Mir code is pretty simple (just relaying between source and sink) if you want to poke around:src/server/frontend_wayland/wl_data_device.cpp13:22
SaviqSure, I just mean we may need to complicate it to support this (valid, IMO) use case - regardless of whether this is actually what Firefox / Thunderbird is actually impacted by13:31
alan_g[m]You mean adding a new protocol and hoping clients implement it?13:31
SaviqI don't think there's now protocols needed. I mean, other compositors do it already13:33
alan_g[m]Other compositors implement primary selection13:34
SaviqConceptually, Mir could take over the mime type negotation in the case when source went away, with the information it has13:34
SaviqBut Ctrl+V doesn't paste primary selecton13:34
Saviq+i13:34
SaviqI'll have to log out into GNOME to confirm, but I believe the compositor takes over the mime type negotation if the source went away, with the information it does have13:35
SaviqIt may not work always, but for simple cases like text the compositor can certainly do it13:35
SaviqLooks like the my fix didn't work...13:43
alan_g[m]Agreed13:43
SaviqIn other news, https://bugs.launchpad.net/ubuntu/+source/gcc-12/+bug/1983852 spread to other architectures, and the breaking gcc-12 now migrated to the release pocket.13:44
alan_g[m]Feels like "Whac-A-Mole"13:47
alan_g[m]I should think before approving! You need something like `XDG_RUNTIME_DIR=/tmp GTEST_OUTPUT=xml:./ dh_auto_build -- ARGS="-V" ptest`14:08
alan_g[m]This is running in make, not bash14:08
alan_g[m]Shall I just push to main?14:09
SaviqHmm but export should work in make? But maybe I indented and that was wrong?14:11
SaviqRight, it'd have to be `XDG_RUNTIME_DIR := /tmp\nexport XDG_RUNTIME_DIR`14:12
alan_g[m]No make basically runs the export command on a shell of its own14:12
SaviqThat's with the indent, without the indent, that's a make command, not a shell one?14:12
SaviqI. Hate. Make.14:13
alan_g[m]Resistance is futile14:13
alan_g[m]Anyway, shall I push the fix?14:14
alan_g[m]nm done it. What can go wrong?14:20
alan_g[m]Saviq I've not seen your "transparent windows" issue despite looking for it all day.16:55
alan_g[m]Nor have I come up with a plausible theory to investigage (yet).16:56
SaviqSorry :/16:56
alan_g[m]I have, however noticed that with a nested session I can get garbled window content with windows spanning displays. (But you have see-through, not just garbage, so I think unrelated)16:58
alan_g[m]So, I think there's something wrong in the buffer management. And that might be a cause for both symptoms16:59
alan_g[m]Anyway, signing off in the hope of progress tomorrow17:01
alan_g[m]đŸ‘‹17:01
SaviqMy issues are likely to be gone tomorrow17:01
SaviqJust got the new laptop, so if it's load related…17:01
alan_g[m]You'll have the one where it manifests though.17:03
SaviqSo I should not burn it on the stake?17:06
SaviqGood night o/17:06
-GitHub[m]:#mir-server- **[MirServer/mir]** wmww opened [issue #2604](https://github.com/MirServer/mir/issues/2604): Popups dismissed by Mir when parent clicked... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/dc6cabf51301d1dbea557642bceed1d7ec0edaea)18:28
-GitHub[m]:#mir-server- **[MirServer/mir]** AlanGriffiths opened [issue #2605](https://github.com/MirServer/mir/issues/2605): Nesting Wayland compositors should use pointer confinement... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/49ef59251f63d6ca3414f21a0b163bf264890be7)22:26

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!