Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package firefox-esr for openSUSE:Factory checked in at 2026-06-28 21:09:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/firefox-esr (Old) and /work/SRC/openSUSE:Factory/.firefox-esr.new.11887 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "firefox-esr" Sun Jun 28 21:09:56 2026 rev:38 rq:1362127 version:140.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/firefox-esr/MozillaFirefox.changes 2026-06-18 18:39:58.463404598 +0200 +++ /work/SRC/openSUSE:Factory/.firefox-esr.new.11887/MozillaFirefox.changes 2026-06-28 21:11:19.627782630 +0200 @@ -1,0 +2,13 @@ +Sun Jun 28 08:13:29 UTC 2026 - Manfred Hollstein <[email protected]> + +- Reformat the patch against current Firefox ESR 140.12.0 and add + it as Patch28 to the .spec file. + +------------------------------------------------------------------- +Thu Jun 25 14:19:05 UTC 2026 - Hillwood Yang <[email protected]> + +- Add mozilla-bmo2048250.patch, fix input method candidate window tracking by + explicitly committing Wayland surface after setting cursor location. + (boo#1268447 and bmo#2048250) + +------------------------------------------------------------------- firefox-esr.changes: same change New: ---- mozilla-bmo2048250.patch ----------(New B)---------- New:/work/SRC/openSUSE:Factory/.firefox-esr.new.11887/MozillaFirefox.changes- /work/SRC/openSUSE:Factory/.firefox-esr.new.11887/MozillaFirefox.changes:- Add mozilla-bmo2048250.patch, fix input method candidate window tracking by /work/SRC/openSUSE:Factory/.firefox-esr.new.11887/MozillaFirefox.changes- explicitly committing Wayland surface after setting cursor location. -- /work/SRC/openSUSE:Factory/.firefox-esr.new.11887/firefox-esr.changes- /work/SRC/openSUSE:Factory/.firefox-esr.new.11887/firefox-esr.changes:- Add mozilla-bmo2048250.patch, fix input method candidate window tracking by /work/SRC/openSUSE:Factory/.firefox-esr.new.11887/firefox-esr.changes- explicitly committing Wayland surface after setting cursor location. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ firefox-esr.spec ++++++ --- /var/tmp/diff_new_pack.LhQ4Ud/_old 2026-06-28 21:11:23.599916944 +0200 +++ /var/tmp/diff_new_pack.LhQ4Ud/_new 2026-06-28 21:11:23.603917080 +0200 @@ -251,6 +251,7 @@ Patch24: mozilla-bmo1746799.patch Patch26: mozilla-bmo1999625.patch Patch27: mozilla-bmo2016618.patch +Patch28: mozilla-bmo2048250.patch # Firefox/browser Patch102: firefox-branded-icons.patch %endif ++++++ MozillaFirefox.changes.txt ++++++ --- /var/tmp/diff_new_pack.LhQ4Ud/_old 2026-06-28 21:11:23.727921272 +0200 +++ /var/tmp/diff_new_pack.LhQ4Ud/_new 2026-06-28 21:11:23.731921408 +0200 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Sun Jun 28 08:13:29 UTC 2026 - Manfred Hollstein <[email protected]> + +- Reformat the patch against current Firefox ESR 140.12.0 and add + it as Patch28 to the .spec file. + +------------------------------------------------------------------- +Thu Jun 25 14:19:05 UTC 2026 - Hillwood Yang <[email protected]> + +- Add mozilla-bmo2048250.patch, fix input method candidate window tracking by + explicitly committing Wayland surface after setting cursor location. + (boo#1268447 and bmo#2048250) + +------------------------------------------------------------------- Wed Jun 17 16:23:29 UTC 2026 - Manfred Hollstein <[email protected]> - Enable clang_build to allow building with the latest versions of ++++++ firefox-esr.changes.txt ++++++ --- /var/tmp/diff_new_pack.LhQ4Ud/_old 2026-06-28 21:11:23.843925195 +0200 +++ /var/tmp/diff_new_pack.LhQ4Ud/_new 2026-06-28 21:11:23.851925466 +0200 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Sun Jun 28 08:13:29 UTC 2026 - Manfred Hollstein <[email protected]> + +- Reformat the patch against current Firefox ESR 140.12.0 and add + it as Patch28 to the .spec file. + +------------------------------------------------------------------- +Thu Jun 25 14:19:05 UTC 2026 - Hillwood Yang <[email protected]> + +- Add mozilla-bmo2048250.patch, fix input method candidate window tracking by + explicitly committing Wayland surface after setting cursor location. + (boo#1268447 and bmo#2048250) + +------------------------------------------------------------------- Wed Jun 17 16:23:29 UTC 2026 - Manfred Hollstein <[email protected]> - Enable clang_build to allow building with the latest versions of ++++++ mozilla-bmo2048250.patch ++++++ commit 6697be42577eced46e084b56e0b12da366717590 Author: Hillwood Yang <[email protected]> Date: Mon Jun 22 20:59:25 2026 +0800 Bug 2048250 - Wayland: Force surface commit after updating cursor location to comply with text_input_v3 v2. r=stransky This patch addresses a text-input regression where the IME candidate window fails to track the cursor/caret in environments using modern compositors (such as Mutter 50.2+). Mutter 50.2 implements version 2 of the zwp_text_input_v3 protocol, which enforces double-buffered states for the cursor rectangle. Consequently, changes sent via gtk_im_context_set_cursor_location() are treated as pending and will be discarded unless a corresponding wl_surface_commit() is triggered. By explicitly committing the surface after updating the cursor location, we ensure the updated text-input layout area is immediately acknowledged by the compositor. This layout synchronization restores proper cursor tracking for all native Wayland-based input methods, including IBus and Fcitx5. Author: Manfred Hollstein <[email protected]> Date: Sun Jun 28 08:13:29 +0000 Reformat the patch against current Firefox ESR 140.12.0 diff -rup a/widget/gtk/IMContextWrapper.cpp b/widget/gtk/IMContextWrapper.cpp --- a/widget/gtk/IMContextWrapper.cpp 2026-06-09 20:34:24.000000000 +0200 +++ b/widget/gtk/IMContextWrapper.cpp 2026-06-28 10:10:54.605711414 +0200 @@ -25,6 +25,9 @@ #include "mozilla/TextEvents.h" #include "mozilla/ToString.h" #include "mozilla/WritingModes.h" +#ifdef MOZ_WAYLAND +#include <gdk/gdkwayland.h> +#endif // For collecting other people's log, tell `MOZ_LOG=IMEHandler:4,sync` // rather than `MOZ_LOG=IMEHandler:5,sync` since using `5` may create too @@ -3008,6 +3011,24 @@ void IMContextWrapper::SetCursorPosition GdkRectangle area = rootWindow->DevicePixelsToGdkRectRoundOut(rect); gtk_im_context_set_cursor_location(aContext, &area); +#ifdef MOZ_WAYLAND + if (GDK_IS_WAYLAND_DISPLAY(gdk_display_get_default())) { + // We must ensure that we get the toplevel or owner window that actually + // renders this input context. + if (mOwnerWindow && mOwnerWindow->GetGtkWidget()) { + GdkWindow* gdkWindow = gtk_widget_get_window(mOwnerWindow->GetGtkWidget()); + if (gdkWindow) { + // Bypass GTK to get the native wl_surface + wl_surface* surface = gdk_wayland_window_get_wl_surface(gdkWindow); + if (surface) { + // Force a commit to Mutter to make the previous cursor_location take + // effect immediately. + wl_surface_commit(surface); + } + } + } + } +#endif } nsresult IMContextWrapper::GetCurrentParagraph(nsAString& aText,
