soul-browser/sources/java/com/mycompany/app/web
KaKi87 c322a12317
Fix Find in page taking a stale URL-bar query (#113)
* Fix Find in page taking a stale URL-bar query.

Suggestion Filter results can lag behind typing, so SearchItem.f was often only the first character(s). Read the live URL-bar text before closing search mode.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix Find in page losing the URL-bar query to IME focus handoff.

Prefill the find field before focus and disable select-all during the handoff, refresh Find suggestion rows from the latest filter constraint, and keep clickable adapter data in sync so a stale first-character snapshot is not used.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Remove obsolete MyFindView focus nested classes.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix Find in page by tracking URL-bar keystrokes and skipping IME handoff.

Keep a findQueryCandidate on each URL-bar edit so Find is not stuck on a stale Filter prefix, and when prefilling Find do not focus or reopen the keyboard (that handoff was still replacing the query with one character).

Co-authored-by: Cursor <cursoragent@cursor.com>

* Drop intermediate Find-in-page workarounds now that the real fix landed.

Keep URL-bar findQueryCandidate plus no IME on prefill; remove Filter refresh, live EditText merge, and MyFindView recompile noise.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Restore the working Find-in-page fix after an over-aggressive cleanup.

The slimmed candidate-only path regressed; bring back Filter sync, live URL-bar merge, and MyFindView prefill hardening from the last known-good commit.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Shrink Find-in-page diff: drop MyFindView recompile noise only.

Keep the known-good Find behavior; restore unrelated nested smali to main and hand-patch only the early prefill into MyFindView.smali.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Bisect Find-in-page: drop suggestion Filter refresh.

findQueryCandidate and MyFindView prefill hardening remain; stale SearchItem.f sync in the adapters is the next layer under test.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Bisect Find-in-page: drop live URL-bar Q0 merge in i1.

Prefer findQueryCandidate when set, otherwise SearchItem.f. MyFindView prefill hardening stays for the next test.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Restore live URL-bar Q0 merge in Find i1 after bisect failure.

findQueryCandidate alone was not enough; keep reading the EditText before closing search mode.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Bisect Find-in-page: drop findQueryCandidate, keep live Q0.

Test whether reading the URL bar in i1 is enough without the keystroke-tracked field.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Restore findQueryCandidate after live-Q0-only bisect failed.

Both the keystroke-tracked field and the live URL-bar read are required in i1.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Bisect Find-in-page: drop MyFindView early prefill in b().

AnonymousClass9 still prefills without focus/IME and re-applies after 300ms.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Bisect Find-in-page: drop MyFindView 300ms re-apply.

Prefill still skips focus/IME; empty Find still focuses and shows the keyboard.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Bisect Find-in-page: drop setSelectAllOnFocus(false) on prefill.

No-focus setText path remains; select-all stays at the default true for later focus.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Bisect Find-in-page: simplify i1 merge to prefer longest text.

Keep findQueryCandidate and live Q0; drop the startsWith edge-case checks.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Restore i1 startsWith merge after longest-only bisect failed.

Prefer-longest alone can keep a longer stale suggestion over the real query.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Bisect Find-in-page: drop clearComposingText before live Q0.

Test whether reading the URL bar as-is is enough for the i1 merge.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 23:35:25 +02:00
..
DevToolsHelper.java Add Advanced toggle to preload Eruda DevTools (#112) 2026-09-10 23:19:53 +02:00
JsonViewHelper.java Add Firefox's JSON Viewer (#56) 2026-08-16 21:20:51 +02:00
PdfPreview.java Keep PDF previews in-app when Google Drive is installed. 2026-09-08 00:58:41 +02:00
TabHomepage.java Add per-tab Homepage to tab long-press menu (#21) 2026-08-12 15:13:43 +02:00
TabListLongPressGate.java Defer tab-list multi-select until release without drag (#99) 2026-09-08 15:38:01 +02:00
TabLongPressGate.java Split tab long-press into menu release vs drag move (#88) 2026-09-04 16:18:11 +02:00
TextSelectMenu.java Add Search in preview and Find in page to text-selection menu (#94) 2026-09-07 22:00:27 +02:00
WebClean.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebCrashView.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebEmgDialog.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebEmgLoad.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebEmgTask.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebGridAdapter.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebGridDialog.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebHmgDialog.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebHmgLoad.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebHmgTask.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebLauncher.java Revert "Fix WebLauncher share target registration for Android 15" 2026-08-26 19:03:49 +02:00
WebLoadTask.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebLoadView.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebLoadWrap.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebNestFrame.java Fix background WebView crash recovery stealing foreground (#2) 2026-08-10 16:45:38 +02:00
WebNestLayout.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebNestView.java Add an Advanced option to load leftover tabs fresh instead of restoring their last WebView state. 2026-08-14 13:26:57 +02:00
WebReadTask.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebSearch.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebSearchAdapter.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebSearchAdapter2.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebShortcut.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebShortTab.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebSnsInsta.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebSnsLoad.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebSnsTask.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebSnsTwit.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebSrcView.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebSslView.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebTabAdapter.java Add range select on long-press in tab list selection mode. 2026-08-16 03:35:32 +02:00
WebTabBarAdapter.java Add default tab folder color in Settings → Display (#12) 2026-08-11 05:03:35 +02:00
WebTabBarSubView.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebTabGridItem.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebTransControl.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebTransOcrCtrl.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebVideoFrame.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebVideoFull.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebVideoImage.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebVideoPip.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebVideoProgress.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
WebViewActivity.java Fix Find in page taking a stale URL-bar query (#113) 2026-09-11 23:35:25 +02:00
WebVkvLoad.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00