/srv/irclogs.ubuntu.com/2023/04/18/#ubuntu-desktop.txt

luna_good morning06:53
GunnarHjHello team,07:57
GunnarHjThe Firefox black window is a pretty bad issue IMO, and I just posted an idea to the bug report:07:57
GunnarHjhttps://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1987976/comments/8407:57
GunnarHjAny chance it will be fixed before the release?07:57
-ubottu:#ubuntu-desktop- Launchpad bug 1987976 in mutter (Ubuntu) "firefox black window" [Undecided, Confirmed]07:57
lissyxGunnarHj, as you can see in the history it's complicated08:40
GunnarHjlissyx: Right. What I propose is apparently a workaround. But given the nature of the issue, maybe that would be motivated?08:44
lissyxGunnarHj, you say xwayland fixes?08:44
lissyxthe reports where suggesting the contrary08:45
GunnarHjlissyx: Do they? I didn't read every comment, but for me I have the issue on wayland, not x11, and I read somewhere that the FF snap needs xwayland.08:48
GunnarHjlissyx: The fact that the xrefresh command in the autostart script fixes it for me would confirm that, wouldn't it?08:50
lissyxI dont know09:50
lissyxhonestly, the landscape of snap issues is really difficult to navigate09:50
lissyxthere are so many issues reported which are lacking feedback, informations09:51
lissyxit's hard  to know what is valid and what is not09:51
lissyxFirefox Snap uses XWayland on the release version, but Wayland on beta and nightly09:51
lissyxthey both have issues, differents09:51
lissyxand the black window thing is not specific to snap ...09:51
lissyxhttps://bugzilla.mozilla.org/show_bug.cgi?id=178820509:52
-ubottu:#ubuntu-desktop- Mozilla bug 1788205 in Core "X11+Xwayland: black window when launched. Possibly caused by Xwayland-on-demand or Firefox race condition when switching between composited/non-composited X11" [S2, New]09:52
lissyxand to add, I am failing to reproduce many of those issues, so it's hard to investigate what happens ...09:52
KGB-0vala tags 4029269 Rico Tzschichholz upstream/0.56.7 * Upstream version 0.56.7 * https://deb.li/OyaG11:18
KGB-2vala upstream/latest d045e0d Rico Tzschichholz * pushed 26 commits (first 5 follow) * https://deb.li/3hWHM11:18
KGB-2vala upstream/latest 047b5cd Rico Tzschichholz vala/valagirparser.vala * girparser: Apply "instance_idx" metadata for delegates * https://deb.li/83py11:18
KGB-2vala upstream/latest dd242e4 Rico Tzschichholz vapi/ gio-2.0.vapi metadata/Gio-2.0.metadata * gio-2.0: Add missing type-argument in ListStore.find_with_equal_func_full() * https://deb.li/3oPz411:18
KGB-2vala upstream/latest b1dbced Rico Tzschichholz (6 files in 3 dirs) * vala: Check type-argument count of interface prerequisites * https://deb.li/SPuV11:18
KGB-2vala upstream/latest c2c5800 Rico Tzschichholz codegen/valaccodebasemodule.vala vala/valasemanticanalyzer.vala * Use already available glib_ns instead of root_symbol.scope.lookup ("GLib") * https://deb.li/3byRg11:19
KGB-2vala upstream/latest a565581 Rico Tzschichholz vala/valasymbol.vala * vala: Improve Symbol.to_string() to include TypeParameters * https://deb.li/3g1QN11:19
KGB-2vala pristine-tar b3c97a0 Rico Tzschichholz vala_0.56.7.orig.tar.xz.delta vala_0.56.7.orig.tar.xz.id * pristine-tar data for vala_0.56.7.orig.tar.xz * https://deb.li/iOgvx11:19
seb128GunnarHj, hey Gunnar, how are you?14:18
seb128GunnarHj, do you know how https://help.ubuntu.com/bitlocker is ending up redirecting to https://ubuntu.com/tutorials/install-ubuntu-desktop#13-additional-installing-ubuntu-alongside-windows-with-bitlocker ?14:20
seb128GunnarHj, that's what we want but not what is in https://bazaar.launchpad.net/~ubuntu-core-doc/help.ubuntu.com/help.ubuntu.com/view/head:/.htaccess#L49 , I'm just trying to understand how things are working14:20
=== cpaelzer_ is now known as cpaelzer
KGB-0gnome-boxes signed tags a731548 Jeremy Bicha ubuntu/44.1-1ubuntu3 * gnome-boxes Debian release 44.1-1ubuntu3 * https://deb.li/3TqnD14:39
KGB-2gnome-boxes ubuntu/lunar 5754b40 Jeremy Bicha debian/patches/ series preferences-Save-manual-edit-configs-on-CHANGES_DONE_HINT.patch * Cherry-pick patch to fix Edit Configuration feature * https://deb.li/L1Dg14:39
KGB-2gnome-boxes ubuntu/lunar 29dad09 Jeremy Bicha debian/ control control.in * Depend on libvirt-clients to fix inability to create virtual machines * https://deb.li/31gsl14:39
KGB-2gnome-boxes ubuntu/lunar 443b44b Jeremy Bicha debian/changelog * releasing package gnome-boxes version 44.1-1ubuntu3 * https://deb.li/3iyzx14:39
GunnarHjseb128: It means that some sysadmin added some other redirect which overrides the one in .htaccess without letting the ubuntu-core-doc team know.15:22
GunnarHjOtherwise that .htaccess file was honored until recently, when they upgraded Apache. ATM they have moved all the dirctives — temporarily, I hope — to a <directive> section on the server level.15:22
GunnarHjTalking about those redirects, btw, any chance we can do something similar with https://help.ubuntu.com/rst? Nobody maintains the static page we put up, and it causes confusion.15:22
seb128GunnarHj, I will check, need to drop IRC for now though15:23
seb128thank you for the reply!15:23
GunnarHjlissyx: Without arguing about the problems you mention, can you reproduce the Firefox black window issue in a wayland session in 23.04? If you can, does the file I proposed help?16:15
GunnarHjseb128: Isn't the "Firefox opens black window on wayland" issue important enough to fix before release? I think I found a workaround:17:42
GunnarHjhttps://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1987976/comments/8417:42
GunnarHjBut I don't know how to proceed. If it's considered a reasonable solution, which package should provide such a file?17:42
-ubottu:#ubuntu-desktop- Launchpad bug 1987976 in mutter (Ubuntu) "firefox black window" [Undecided, Confirmed]17:42
jbichaGunnarHj: does your Firefox issue happen with a clean Ubuntu 23.04 install?17:50
GunnarHjjbicha: Yes. Just reproduced it by installing yesterday's daily build.17:51
jbichaI believe it's unreproducible for most people; otherwise the ISO tests would have more failures17:52
jbichathe thinking is that it's a race condition? I might have seen it occasionally. I think restarting Firefox might have cleared it up for me17:54
GunnarHjjbicha: Possibly. I have a NVIDIA card, and I see it on wayland both with the NVIDIA and the Nouveau driver.17:55
GunnarHjjbicha: It might be a race thing, yes, and running xrefresh makes sure that xwayland is ready when needed.17:56
jbichathis isn't a new bug for 23.04 or gotten significantly worse for 23.04, right?17:56
GunnarHjTrue. But for me it became worse during the lunar dev. cycle.17:57
jbichaand the specific issue you are trying to fix is specific to the GNOME sessions since they are using Wayland?17:57
GunnarHjYes. That's why the proposed file is only run on GNOME. (Haven't tested on Plasma (Wayland).)17:58
jbichathe Launchpad bug report is too noisy for us to work with. Could you open a new mutter bug since I'm guessing that's where we might want to handle this?17:58
GunnarHjjbicha: Sure, I can do that.17:59
jbichaI'll defer to Daniel or Marco about whether to use that workaround, and if we do, whether it needs to land now or can land as a Lunar SRU18:02
GunnarHjAck.18:02
Trevinhomhmh, I feel it would be better to try to fix this in xwayland better18:24
TrevinhoI got it happening reliably in my machine few weeks ago, now it seems to happen less18:25
seb128GunnarHj, the bug say 'affects 5 people' and it's the first time I see it mentioned, I think you are unlucky but it affects not enough people to be worth respinning the images/delaying18:42
seb128we should SRU a fix when we have one though18:42
seb128also shouldn't nvidia default to xorg session?18:43
Trevinhoseb128: it's quite easy to reproduce though, just killall Xwayland and start firefox again18:46
Trevinhoit's not just nvidia18:46
TrevinhoI think it doesn't appear in some setups because something else tries to start XWayland first18:47
seb128Trevinho, other topic but since you are here, did you have an indicator package update ready or should I go with it?18:48
Trevinhoseb128: go with it please :)18:49
seb128Trevinho, thanks :)18:49
GunnarHjTrevinho: Addressing the root cause is always better. ;) If you have something else which enables Xwayland, you may not notice. And killing Xwayland sounds as a plausible way to make the issue surface. But possibly few users are affected, as seb128 says.18:52
GunnarHjjbicha, seb128, Trevinho: I started to write a new bug report. Is it meaningful to submit it?18:53
GunnarHjseb128: I can control the session on the login screen. And with the Nouveau driver it defaults to wayland even with a NVIDIA card.18:59
seb128ah right, using nouveau18:59
seb128GunnarHj, report a new bug if you can since jbicha suggested it would help to have a conversation19:00
GunnarHjOk, will do.19:00
seb128Trevinho, did you manage to build indicator-messages? the tests fail here19:01
seb128well I guess you built the source and not the package19:01
Trevinhoseb128: nope, i saw they did in CI though...19:01
TrevinhoI just built manually what I needd without tetsing19:01
Trevinholooks like a dbus-run-session or smth is missing, but...19:01
Trevinhocould be more than that19:01
seb128Trevinho, no, I'm building on my normal session so dbus&co is there19:03
seb128bah, no, stupid test doesn't enforce the locale but fail in !english19:03
GunnarHjbug #201691819:07
-ubottu:#ubuntu-desktop- Bug 2016918 in mutter (Ubuntu) "Firefox snap opens a black window on wayland" [High, New] https://launchpad.net/bugs/201691819:07
TrevinhoGunnarHj: I think https://gitlab.gnome.org/3v1n0/mutter/-/commit/b16c3aff248b8839340de4785738879b678f45ba fixes it20:17
-ubottu:#ubuntu-desktop- Commit b16c3af in 3v1n0/mutter "display: Set compositor selection earlier on XWayland"20:17
TrevinhoI've not time to build a new pkg now, but if you  do please let me know :)20:17
GunnarHjTrevinho: Nice! I can apply, build and test. If successful, is it ok to upload?20:20
TrevinhoGunnarHj: I may want to include also a test and few cleanups, but after that yes20:21
TrevinhoGunnarHj: test case is as simple as kill Xwayland and run firefox..20:21
GunnarHjTrevinho: Ok, I start with the test part.20:21
GunnarHjTrevinho: I'm not the one who would write the test. Over my head unfortunately.20:23
TrevinhoGunnarHj: tested code is in https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2970 not sure if your test gave any result though :)21:58
-ubottu:#ubuntu-desktop- Merge 2970 in GNOME/mutter "display: Set compositor selection earlier on XWayland" [Opened]21:58
GunnarHjTrevinho: Yes, I tested it successfully: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2016918/comments/121:59
-ubottu:#ubuntu-desktop- Launchpad bug 2016918 in mutter (Ubuntu) "Firefox snap opens a black window on wayland" [High, In Progress]21:59
TrevinhoGunnarHj: if you've time, can just pick the whole patch I sent upstream, that comes with unit tests22:00
GunnarHjTrevinho: Oh, you've already done that? Then I'll grab that instead. Do I have a green light to upload with that in place?22:02
TrevinhoGunnarHj: give some x11-session only tests too, otherwise I'm good22:02
GunnarHjOk, will do.22:03
TrevinhoGunnarHj: another test to do is killining XWayland and GDK_BACKEND=x11 gtk3-widget-factory (or gedit)22:06
Trevinhosee https://gitlab.gnome.org/GNOME/mutter/-/issues/2472#note_157451522:06
-ubottu:#ubuntu-desktop- Issue 2472 in GNOME/mutter "Timing/race condition with Xwayland-on-demand breaks firefox & confuses gedit etc" [Opened]22:06
Trevinhoit should not have bad decorations22:06
GunnarHjTrevinho: Not sure what you mean by decorations.22:10
EickmeyerGunnarHj, Trevinho: I see bug 2016918, assuming that will need respins?22:16
-ubottu:#ubuntu-desktop- Bug 2016918 in mutter (Ubuntu) "Firefox snap opens a black window on wayland" [High, In Progress] https://launchpad.net/bugs/201691822:16
Eickmeyer(anything affecting Desktop affects Edubuntu)22:17
GunnarHjEickmeyer: Hopefully... ;)22:17
EickmeyerRoger that.22:18
Trevinho<GunnarHj> "Treviño: Not sure what you..." <- The windows corners? 😅22:28
TrevinhoGunnarHj: I'd mark your new bug as duplicate though. Maybe leaving open for Firefox. 22:29
GunnarHjTrevinho: I see nothing odd in the screenshot at https://gitlab.gnome.org/GNOME/mutter/-/issues/2472#note_1574515 But maybe I'll see it if it shows up. :/22:35
-ubottu:#ubuntu-desktop- Issue 2472 in GNOME/mutter "Timing/race condition with Xwayland-on-demand breaks firefox & confuses gedit etc" [Opened]22:35
GunnarHjTrevinho: Right, let me mark the new bug as duplicate. Not needed given that the issue now is about to be fixed.22:35

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