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

-GitHub[m]:#mir-server- **[MirServer/mir]** wmww opened [pull request #2579](https://github.com/MirServer/mir/pull/2579): X11 platform: send discrete scroll04:05
-GitHub[m]:#mir-server- 04:05
-GitHub[m]:#mir-server- > Non-urgant, but makes scroll on X11 a bit less jank04:05
sophie-wBINGO05:08
sophie-wneedle in a fuckin haystack but I think I found it05:08
SaviqYikes.05:09
Saviqsophie please just write down what you found and go to sleep, if it's any faster than putting up a fix05:25
sophie-wNooo actually I didn't figure it out, but I will post my observations and suspicion05:26
sophie-wSaviq: bug report didn't specify a platform. I have been seeing it on X11 but not libinput, same for you?05:31
SaviqNo, seen it with no X in the picture05:32
SaviqSorry for lack of detail05:33
SaviqAll in a Miriway session, with both Firefox and Thunderbird running through Wayland05:33
sophie-wWeird, issue updated, g'night!05:39
alan_g[m]I was still working on this, but it was already found on reddit: https://discourse.ubuntu.com/t/developing-a-wayland-compositor-using-mir/30112/ \o/07:43
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq opened [issue #2580](https://github.com/MirServer/mir/issues/2580): Maximized windows sometimes end up behind panels... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/de0dbd894c637c3f72a7e39a205aff9c2613a3cf)08:02
SaviqIs Firefox constantly looping on this expected? Even when not drawing anything?... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/5b0cab79462840c06f3d7a6a3b6b3de3b85e2248)08:09
SaviqI'm seeing significantly higher load on Miriway than on GNOME, and Firefox+Miriway seem to be the culprits08:10
SaviqHappens even when fully occluded08:12
alan_g[m]That sounds like we could do better. Not noticed it to investigate, but I suspect it isn't new.08:12
alan_g[m]And yes, we should be throttling occluded windows08:13
SaviqSeems to be triggered by websites drawing, actually - but I've not noticed the same load with the same sites open on GNOME08:14
alan_g[m]I wonder if it has anything to do with the scrolling. Do you see it elsewhere? Or just FF?08:14
SaviqLet me try and find another client that draws08:17
SaviqJust doing `while true; do sleep .01; echo .; done` in a maximized mate-terminal takes Miriway to 20% CPU here08:18
SaviqI'll have to compare with GNOME08:18
SaviqBut all the `wl_display...delete_id()`, that expected? (not having read the wayland protocols yet it reads to me like it's deleting displays?)08:19
alan_g[m]No it is deleting frame callback objects. (The id identifies the object, the "new id" tells you what it is bound ti08:25
SaviqOK I see the same event stream in GNOME, but shell load significantly less (like 7-9% vs. 20+%)08:26
alan_g[m]Interesting, it has been a while (and many FF versions) since I checked, but load used to be the other way around08:27
SaviqNote I'm using a side-by-side display setup, which could well impact things08:27
SaviqLet me try internal display only08:27
alan_g[m]All good stuff to be researching (please write stuff up too - and raise relevant issues)08:28
SaviqYeah load less than half with a single display08:33
SaviqAround GNOME levels08:33
SaviqAnd re: writing stuff down, of course08:33
alan_g[m]This should help: I now have identical code and configs on VT4 and VT5, on VT4 I see the problem, on VT5 scrolling works as expected. Now to compare what's going on...08:34
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq added bug to [issue #2581](https://github.com/MirServer/mir/issues/2581): Throttle down occluded surfaces08:37
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq opened [issue #2581](https://github.com/MirServer/mir/issues/2581): Throttle down occluded surfaces... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/c8e530fb7fe22d2d100de7204f0a8e15dfd8e6d9)08:37
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq added bug to [issue #2580](https://github.com/MirServer/mir/issues/2580): Maximized windows sometimes end up behind panels08:38
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq added bug to [issue #2582](https://github.com/MirServer/mir/issues/2582): Excessive load when surface draws with multiple displays configured08:44
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq opened [issue #2582](https://github.com/MirServer/mir/issues/2582): Excessive load when surface draws with multiple displays configured... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/ede8c6485e96e7927b56f127b8d4ae870355d3fa)08:44
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq added bug to [issue #2583](https://github.com/MirServer/mir/issues/2583): Can't paste when copied from Firefox address bar09:07
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq opened [issue #2583](https://github.com/MirServer/mir/issues/2583): Can't paste when copied from Firefox address bar... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/ebea537dbb456ab1eab6b0eaaefce40657ae7528)09:07
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq edited [issue #2583](https://github.com/MirServer/mir/issues/2583): Can't paste when copied from Firefox address bar09:10
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq edited [issue #2583](https://github.com/MirServer/mir/issues/2583): Can't paste when copied from Firefox address bar09:12
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq added enhancement to [issue #2584](https://github.com/MirServer/mir/issues/2584): Add ability to move maximized windows09:15
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq opened [issue #2584](https://github.com/MirServer/mir/issues/2584): Add ability to move maximized windows09:15
-GitHub[m]:#mir-server- 09:15
-GitHub[m]:#mir-server- > It's common that grabbing a maximized window by their title bar unmaximizes it, and allows the user to drag it. Mir doesn't do anything when grabbing a maximized window.09:15
-GitHub[m]:#mir-server- enhancement09:15
SaviqWeird that you see the scrolling issue come and go... it's 100% for me...09:17
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq added bug to [issue #2585](https://github.com/MirServer/mir/issues/2585): Menus of panels don't close when losing (or don't lose) focus09:33
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq opened [issue #2585](https://github.com/MirServer/mir/issues/2585): Menus of panels don't close when losing (or don't lose) focus... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/b6db67fb1c87985c104961c023653d73e438238c)09:33
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq opened [issue #2586](https://github.com/MirServer/mir/issues/2586): Notification surfaces show up cropped, randomly placed and steal input... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/188427c79deff5f39b3c710823604fa8fff8c257)09:36
SaviqI had Firefox input lock up once (just like the WPE issue)... will keep a look out (and maybe run FF under WAYLAND_DEBUG if it happens again)09:45
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq opened [issue #2587](https://github.com/MirServer/mir/issues/2587): Keyboard status LEDs don't light up09:50
-GitHub[m]:#mir-server- 09:50
-GitHub[m]:#mir-server- > The keyboard status stay off regardless of their status on Mir.09:50
-GitHub[m]:#mir-server- enhancement09:50
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq added enhancement to [issue #2587](https://github.com/MirServer/mir/issues/2587): Keyboard status LEDs don't light up09:50
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq opened [issue #2588](https://github.com/MirServer/mir/issues/2588): Can't drag Firefox tabs09:54
-GitHub[m]:#mir-server- 09:54
-GitHub[m]:#mir-server- > Something isn't working right with delivery of pointer input - I can't drag Firefox tabs around.09:54
-GitHub[m]:#mir-server- bug09:54
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq edited [issue #2588](https://github.com/MirServer/mir/issues/2588): Can't drag Firefox tabs or Thunderbird messages09:56
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq closed [issue #2587](https://github.com/MirServer/mir/issues/2587): Keyboard status LEDs don't light up10:47
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq added duplicate and removed enhancement from [issue #2587](https://github.com/MirServer/mir/issues/2587): Keyboard status LEDs don't light up10:47
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq edited [issue #2588](https://github.com/MirServer/mir/issues/2588): Need drag'n'drop support11:30
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq added enhancement and removed bug from [issue #2588](https://github.com/MirServer/mir/issues/2588): Need drag'n'drop support11:30
Saviqalan_g do URLs work between snaps in Miriway for you? I can't seem to get URLs to open in the browser11:33
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq edited [issue #2583](https://github.com/MirServer/mir/issues/2583): Can't paste when copied from Firefox address bar or Thunderbird "copy link"11:34
alan_g[m]Saviq: We're probably not starting a service. "xdg-open URL" ought to work11:35
SaviqYeah snapd-userd or some such11:36
-GitHub[m]:#mir-server- **[MirServer/mir]** AlanGriffiths assigned AlanGriffiths to [issue #2570](https://github.com/MirServer/mir/issues/2570): Wayland platform uses EGL 1.5 entry points11:53
-GitHub[m]:#mir-server- **[MirServer/mir]** AlanGriffiths opened [pull request #2589](https://github.com/MirServer/mir/pull/2589): [Wayland platform] Don't use uses EGL 1.5 entry points11:59
-GitHub[m]:#mir-server- 11:59
-GitHub[m]:#mir-server- > Fixes: #257011:59
alan_g[m]Saviq Quick review? ^^13:10
SaviqACK13:12
alan_g[m]Will this do as a first pass? https://mir-server.io/docs/developing-a-wayland-compositor-using-mir14:18
-GitHub[m]:#mir-server- **[MirServer/mir]** bors[bot] closed [issue #2570](https://github.com/MirServer/mir/issues/2570): Wayland platform uses EGL 1.5 entry points14:19
-GitHub[m]:#mir-server- **[MirServer/mir]** bors[bot] merged [pull request #2589](https://github.com/MirServer/mir/pull/2589): [Wayland platform] Don't use uses EGL 1.5 entry points14:19
Saviqalan_g[m]: Will give it a good read. Did you split the Miriway code blocks on purpose?14:21
alan_g[m]Yes, least bad option: otherwise the code ends up in a scroll box14:22
SaviqOn the doc page as well? Or just discourse?14:23
SaviqIf it has to be split, maybe add a blurb of context for each block?14:23
SaviqLooks weird otherwise14:24
alan_g[m]Seems just to be discourse. (Unfortunately, that's where reddit points - but we've probably got all those hits already)14:28
SaviqMaybe a manual `<code><pre></pre></code>`?14:34
alan_g[m]No, discourse parser is (by design) too stupid for that to work14:37
alan_g[m]I'll just leave it. Anyone reading that far will likely cope14:38
SaviqWell, it does work, but gets the same vertical scroll treatment15:04
SaviqAnd it strips any `style=` we'd like to override (which makes sense) - but since our preferred consumption is /docs, IMO that's OK as is15:10
SaviqGood day o/16:21
-GitHub[m]:#mir-server- **[MirServer/ubuntu-frame]** AlanGriffiths opened [pull request #85](https://github.com/MirServer/ubuntu-frame/pull/85): Drive-by tidy-up16:33
-GitHub[m]:#mir-server- **[MirServer/ubuntu-frame]** bors[bot] closed [pull request #85](https://github.com/MirServer/ubuntu-frame/pull/85): [Merged by Bors] - Drive-by tidy-up17:11
-GitHub[m]:#mir-server- **[MirServer/ubuntu-frame]** bors[bot] edited [pull request #85](https://github.com/MirServer/ubuntu-frame/pull/85): [Merged by Bors] - Drive-by tidy-up17:11
alan_g[m]test (please ignore)22:00
alan_g[m].22:02

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