Closed Bug 1993415 Opened 10 months ago Closed 8 months ago

keyboard covers input when toolbar position is bottom

Categories

(Firefox for Android :: Toolbar, defect)

Firefox 145
ARM64
Android
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox144 --- verified
firefox145 --- verified
firefox146 --- verified

People

(Reporter: donetsmaksimm, Assigned: donetsmaksimm, Mentored)

References

Details

Attachments

(3 files, 1 obsolete file)

User Agent: Mozilla/5.0 (Android 16; Mobile; rv:145.0) Gecko/145.0 Firefox/145.0

Steps to reproduce:

Set toolbar position bottom
Visit some site with text input field in bottom.
Tup to input field

Actual results:

Keyboard covers input field.

Expected results:

Content of site sould move to top on keyboard height.

Mentor: donetsmaksimm

I can suggest patch because i solved this bug locally.

Just mark me as Assignee and i will commit solution

The Bugbug bot thinks this bug should belong to the 'Firefox for Android::Toolbar' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Toolbar
Hardware: All → ARM64

Old code needs toolbar position checking. Old code trying move up toolbar separately from view. But toolbar is in view and when view moves up, all content move up with it. Checking not need.

Attachment #9519432 - Flags: review?(royang)

Thanks for reporting this issue and suggesting a patch. Do you want to submit the patch via https://phabricator.services.mozilla.com/?
Here is the guide: phabricator user guide

If not I can investigate/test and push the patch for you. Please let me know your preference.

Flags: needinfo?(donetsmaksimm)

I will try to submit it. If something will wrong i will report you. Thanks

Just going to comment on the severity of this issue. This problem is new, and intensely frustrating.

A reasonable workaround to maintain usability is to use the top address bar mode, which works correctly.

Pixel 8a, Android 16, Firefox 144.0.1 (Build #2016119303)

Seems to be a regression introduced here https://phabricator.services.mozilla.com/D266766

I had removed toolbar position checking and disabled synchronizeViewWithIME because it works incorrect in this case. I didn't inspect synchronizeViewWithIME.
it seems like old code trying to move toolbar separately from view but toolbar is in view and when keyboard showing up, view moves up and toolbar too, because toolbar is in view. I don't know why somebody added synchronizeViewWithIME for it.

Assignee: nobody → donetsmaksimm
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9520891 - Flags: approval-mozilla-release?
Attachment #9520891 - Attachment description: Fixed bug → I had removed toolbar position checking and disabled synchronizeViewWithIME
Attachment #9520891 - Attachment description: I had removed toolbar position checking and disabled synchronizeViewWithIME → Bug: 1993415. I had removed toolbar position checking and disabled synchronizeViewWithIME
See Also: → 1992740

Comment on attachment 9520891 [details]
Bug: 1993415. I had removed toolbar position checking and disabled synchronizeViewWithIME

Changing the target repo of the patch to autoland and removing release uplift request flag.
The patch should land on autoland first
https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

Attachment #9520891 - Flags: approval-mozilla-release?

@Donal we see an increase of people asking about this in SUMO. Will the fix for this make it to the upcoming dot release?

Flags: needinfo?(dmeehan)
See Also: → 1995474
See Also: → 1993654
See Also: → 1992952
See Also: → 1995609
Duplicate of this bug: 1995609

(In reply to Kelimutu [:kiki] from comment #10)

@Donal we see an increase of people asking about this in SUMO. Will the fix for this make it to the upcoming dot release?

:kiki the bugs you linked in See also were all duplicates of Bug 1992740. Bug 1992740 has been fixed and shipped in Fenix 144.0.1

Flags: needinfo?(dmeehan)
See Also: → 1994395
See Also: 1994395

(In reply to Donal Meehan [:dmeehan] from comment #9)

Comment on attachment 9520891 [details]
Bug: 1993415. I had removed toolbar position checking and disabled synchronizeViewWithIME

Changing the target repo of the patch to autoland and removing release uplift request flag.
The patch should land on autoland first
https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

Hello
Thanks for your help. What do you thing about my patch? I think, probably, including "synchronizeViewWithIME = false," for toolbar->BOTTOM case is enought for fix it without removing part of original code. But i didn't test it. I tested only removing toolbar position checking and BOTTOM case...

Flags: needinfo?(donetsmaksimm)

Anyway i don't understand why toolbar position checking is there.

(In reply to Donal Meehan [:dmeehan] from comment #12)

:kiki the bugs you linked in See also were all duplicates of Bug 1992740. Bug 1992740 has been fixed and shipped in Fenix 144.0.1
Oopsie. Thanks for clarifying.

What about the fix, though? Will this make it to the next dot release?

Flags: needinfo?(dmeehan)

(In reply to Maksim from comment #13)

(In reply to Donal Meehan [:dmeehan] from comment #9)

Comment on attachment 9520891 [details]
Bug: 1993415. I had removed toolbar position checking and disabled synchronizeViewWithIME

Changing the target repo of the patch to autoland and removing release uplift request flag.
The patch should land on autoland first
https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

Hello
Thanks for your help. What do you thing about my patch? I think, probably, including "synchronizeViewWithIME = false," for toolbar->BOTTOM case is enought for fix it without removing part of original code. But i didn't test it. I tested only removing toolbar position checking and BOTTOM case...

redirecting request to :royang, as a follow on from Comment 5

Flags: needinfo?(dmeehan) → needinfo?(royang)

(In reply to Kelimutu [:kiki] from comment #15)

(In reply to Donal Meehan [:dmeehan] from comment #12)

:kiki the bugs you linked in See also were all duplicates of Bug 1992740. Bug 1992740 has been fixed and shipped in Fenix 144.0.1
Oopsie. Thanks for clarifying.

What about the fix, though? Will this make it to the next dot release?

Bug 1992740 was shipped in 144.0.1 and is live at 100% rollout

(In reply to Roger Yang [:royang] from comment #5)

Thanks for reporting this issue and suggesting a patch. Do you want to submit the patch via https://phabricator.services.mozilla.com/?
Here is the guide: phabricator user guide

If not I can investigate/test and push the patch for you. Please let me know your preference.

Hello
I'd publicated patch via phabricator. But i think, probably, including "synchronizeViewWithIME = false," for toolbar->BOTTOM case is enought for fix it without removing part of original code. But i didn't test it. I tested only removing toolbar position checking and BOTTOM case...

No longer duplicate of this bug: 1995609

I think this was fixed by bug 1992740.
I cannot reproduce in either 144.0.1 or the latest Nightly.
@Maksim / QA Can you confirm if this has been fixed or is still reproduceable?

Flags: qe-verify+
Flags: needinfo?(donetsmaksimm)

(In reply to Maksim from comment #18)

Hello
I'd publicated patch via phabricator. But i think, probably, including "synchronizeViewWithIME = false," for toolbar->BOTTOM case is enought for fix it without removing part of original code. But i didn't test it. I tested only removing toolbar position checking and BOTTOM case...

(In reply to Kelimutu [:kiki] from comment #15)

What about the fix, though? Will this make it to the next dot release?

The patch attached to this bug breaks an important functionality for the bottom toolbar:
When the keyboard is animated the bottom toolbar will be animated together with the keyboard - moving up/down, for a smooth animation.
While the website content will jump to the end destination, for avoiding continuous reflows of the web content.
This functionality is indeed delicate but we'd want to avoid removing it if possible as it has been requested by other users in separate tickets.

If we can get a confirmation that the issue reported in comment 0 has been fixed in the meantime (in Release 144.0.1 / latest Nightly / Beta) then it looks like there's nothing more to do here.

Flags: needinfo?(royang)
Comment on attachment 9519432 [details] [diff] [review] 1993415_fix.patch Review of attachment 9519432 [details] [diff] [review]: ----------------------------------------------------------------- Changes are now reviewed in phabricator.
Attachment #9519432 - Flags: review?(royang) → review-

This issue is not reproducible on the latest Nightly 146.0a1, Fenix 145.0b7 and RC 144.02 using Moto G72 (Android 13) and Samsung Galaxy S23 Ultra (Android 14).

Redirect a needinfo that is pending on an inactive user to the triage owner.
:royang, since the bug has recent activity, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(donetsmaksimm) → needinfo?(royang)
Attachment #9520891 - Attachment is obsolete: true

Closing as fixed by bug 1992740.

Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Flags: needinfo?(royang)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: