[Toolbar Redesign] Download complete dialog is overlapped by navigation bar when changing the orientation from Landscape to Portrait
Categories
(Firefox for Android :: Toolbar, defect)
Tracking
()
People
(Reporter: dpop, Assigned: petru)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group3])
Attachments
(4 files)
|
3.72 MB,
video/mp4
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
|
3.23 MB,
video/mp4
|
Details |
Steps to reproduce
- Download a file (can use https://www.thinkbroadband.com/download for test downloads) while in Landscape mode.
- Once the "Download completed" dialogue is displayed, change the device orientation to Portrait mode.
- Observe the "Download completed" dialogue.
Expected behavior
The "Download completed" dialogue remains correctly displayed when changing the orientation.
Actual behavior
When changing the orientation from Landscape to Portrait, the "Download complete" dialog is partially cutoff by the navigation toolbar.
Device information
- Firefox version: Nightly 132.0a1 from 09/12
- Android device model/Android OS version: Samsung Galaxy A53 5G (Android 14), Xiaomi 12 Pro (Android 13), OPPO A15s (Android 10)
| Reporter | ||
Comment 1•1 year ago
|
||
@Petru, can you take a look at this remaining issue from 1912473? Thanks!
| Assignee | ||
Comment 2•1 year ago
|
||
Can only reproduce with the navbar enabled and the toolbar at top.
Will look into fixing.
| Assignee | ||
Comment 3•1 year ago
|
||
Seems like it's intermittent <=> it depends on other toolbar updates and the overall timings for when these are executed.
| Assignee | ||
Comment 4•1 year ago
|
||
For each new download dialog to be shown we set a new DynamicDownloadDialogBehavior.
But a previous one may now be leaked because it continues to observe store updates and
reacting to when the orientation changes.
The leak is made possible because the "download complete dialog" is always attached to
the displayed layout, only it's visibility is updated depending on if it needs to be shown.
| Assignee | ||
Comment 5•1 year ago
|
||
Replace repositioning when the app orientation change as this is not fully reliable.
Updated•1 year ago
|
Comment 7•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/84980f4e301e
https://hg.mozilla.org/mozilla-central/rev/082fe7352b0f
| Assignee | ||
Updated•1 year ago
|
Comment 8•1 year ago
|
||
The patch landed in nightly and beta is affected.
:petru, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox132towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 9•1 year ago
|
||
Planning to request uplift if QA confirms everything looks okay.
Keeping my NI until then.
| Reporter | ||
Comment 10•1 year ago
|
||
Verified as fixed in the latest Nightly 133.0a1 from 10/03 with Google Pixel 8 Pro (Android 14) and Samsung Galaxy S22 Ultra (Android 14). The "Download completed" dialogue remains correctly displayed when changing the orientation.
Tested with the following configurations:
- the old toolbar and the new toolbar redesign;
- Toolbar position Top and Bottom;
- "Scroll to hide toolbar" option enabled and disabled;
| Reporter | ||
Updated•1 year ago
|
| Assignee | ||
Comment 11•1 year ago
•
|
||
Comment on attachment 9424996 [details]
Bug 1918416 - part 1 - Prevent leaking DynamicDownloadDialogBehaviors r=#android-reviewers
Beta/Release Uplift Approval Request
- User impact if declined: Visual issue - improper orientation of the download complete dialog after rotating the screen
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce:
- Download a file (can use https://www.thinkbroadband.com/download for test downloads) while in Landscape mode.
- Once the "Download completed" dialogue is displayed, change the device orientation to Portrait mode.
- Observe the "Download completed" dialogue.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Small targeted patch verified by QA in Nightly.
- String changes made/needed:
- Is Android affected?: Yes
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Comment 12•1 year ago
|
||
Comment on attachment 9424996 [details]
Bug 1918416 - part 1 - Prevent leaking DynamicDownloadDialogBehaviors r=#android-reviewers
Approved for 132.0b5.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 13•1 year ago
|
||
| uplift | ||
| Reporter | ||
Comment 14•1 year ago
|
||
This was verified as fixed in beta 132.0b5 with Lenovo Yoga Tab 11 (Android 12) and Samsung Galaxy S22 Ultra (Android 14).
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Description
•