[composable toolbar] Tapping on the loaded URL doesn't display the keyboard when trending / recent searches are enabled
Categories
(Firefox for Android :: Toolbar, defect, P2)
Tracking
()
People
(Reporter: mlobontiuroman, Assigned: petru)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group3][composable toolbar])
Attachments
(3 files)
Precondition
Have VPN set to US.
Steps to reproduce
- Enable Trending searches, Recent searches, and Composable toolbar from Secret settings.
- Open a website.
- After it is fully loaded, tap on the toolbar.
- Observe if the keyboard is displayed.
Expected behavior
The keyboard is displayed and functional. The user can search for something else.
Actual behavior
The keyboard isn't displayed. The user cannot search for something else, unless a new tab is opened.
Device information
- Firefox version: Nightly 144.0a1 from 8/24
- Android devices: Samsung Galaxy S24 (Android 15), and OnePlus 5 (Android 10)
Any additional information?
- the issue is not reproducible when Composable toolbar is disabled,
- the issue is not reproducible when trending and recent searches are disabled
| Assignee | ||
Updated•11 months ago
|
Updated•11 months ago
|
| Assignee | ||
Comment 1•11 months ago
|
||
The stacktrace from bug 1984977 applies here also with the exception there
java.lang.IllegalArgumentException: performMeasureAndLayout called during measure layout
showing the race between the InlineAutocompleteEditText (View) and the rest of the composable code.
| Assignee | ||
Comment 2•11 months ago
|
||
Investigations shown a race between the measure/layout phases of the
InlineAutocompleteEditText (View) and the rest of the composable layout
for showing search results.
Until being able to convert that View to Compose the best we can do is
build our layout in such a way to avoid the issue. Since the suggestions
content is already shown in a Column we can avoid the new Column
composable which shows the issue fixed.
Updated•11 months ago
|
| Assignee | ||
Updated•11 months ago
|
Comment 4•11 months ago
|
||
| bugherder | ||
| Reporter | ||
Comment 5•11 months ago
|
||
Verified as fixed on today's Nightly 144.0a1 (8/26) with Samsung Galaxy S24 (Android 15), and OnePlus 5 (Android 10).
| Assignee | ||
Comment 6•11 months ago
|
||
Investigations shown a race between the measure/layout phases of the
InlineAutocompleteEditText (View) and the rest of the composable layout
for showing search results.
Until being able to convert that View to Compose the best we can do is
build our layout in such a way to avoid the issue. Since the suggestions
content is already shown in a Column we can avoid the new Column
composable which shows the issue fixed.
Original Revision: https://phabricator.services.mozilla.com/D262337
Updated•11 months ago
|
Comment 7•11 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: Broken functionality. Potential crash.
- Code covered by automated testing: no
- Fix verified in Nightly: yes
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: Steps in https://bugzilla.mozilla.org/show_bug.cgi?id=1984981#c0
- Risk associated with taking this patch: Low
- Explanation of risk level: Small change verified by QA.
- String changes made/needed: No
- Is Android affected?: yes
Updated•11 months ago
|
Updated•11 months ago
|
| Reporter | ||
Comment 9•11 months ago
|
||
Verified as fixed on the latest Firefox for Android beta 143.0b6 with a Pixel Tablet (Android 16), and Samsung Galaxy S24 (Android 15).
Description
•