Hi, I'm investigating building the ChromiumOS shell on a Linux desktop and had a question about the Ozone X11 window in the "linux-chromeos" Linux desktop config. The TL;DR is that the build works, until I try resizing the Ozone X11 root window, then the whole thing kind of breaks, and I'm looking for some advice for fixing it.In more detail, I am following the build instructions at:I have built the chrome binary from source under Linux using the target_os="chromeos" in my args.gn build file, and the default debug configuration. When I run the chrome binary, I get an Ozone X11 root window, with the standard ChromiumOS shell components, Shelf, mock control panel, built-in apps, etc. By default, the root window is 1366x768 but it can be changed with the --ash-host-window-bounds flag at startup. So far so good.The problem I am experiencing is when I resizing the Ozone X11 root window. The various widgets and child windows inside the root window do not adjust to the new layout, mouse events still register somewhat, but they seem to be offset by the same number of pixels as the window size was changed. I am not sure if this is a bug or just an unsupported thing to do in a desktop Linux-chromeos build.Any advice would be appreciated. This behavior reproduces on the master Chromium branch as of today, November 17 2020, as well as an arbitrary git revision I picked from 3 months ago in August 2020.--
--
Chromium OS Discussion mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-discuss
Oh thank you Mitsuru. You seem to be the author of commit https://chromium.googlesource.com/chromium/src.git/+/c56fbc03b91a1f62709787a765514c752f40b435 in https://chromium.googlesource.com/chromium/src.git/+log/master/ash/display/root_window_transformers.ccwhich I found while investigating this. From your commit message it sounds like this might have worked in the past, and. current. it should almost work.Unfortunately the crbug link you send gives me a permission denied so I'm not sure which commit to revert.thanks,Louis Kruger