Empty collection can be created
Categories
(Fenix :: Collections, defect, P3)
Tracking
(firefox111 wontfix, firefox112 wontfix, firefox113 wontfix, firefox114 wontfix, firefox115 wontfix, firefox116 verified, firefox120 unaffected, firefox121 verified, firefox122 verified)
People
(Reporter: boek, Assigned: towhite)
References
Details
(Whiteboard: [fxdroid])
Attachments
(4 files)
From github: https://github.com/mozilla-mobile/fenix/issues/20391.
Steps to reproduce
- Open a tab
- Tap the ⋮ "More options button"
- Tap "Select tabs" from the menu
- Tap the "Add new collection" button
- Confirm the collection creation
- Tap "View" from the confirmation snackbar
Expected behaviour
• Shouldn't be able to create empty collection
Actual behaviour
• Empty collection is created
Device name
• OnePlus A3 (Android 6.0.1)
Firefox version
• Nightly 92.0a1
• Beta 91.0.0-beta.1Additional information
► Video
┆Issue is synchronized with this Jira Task
Change performed by the Move to Bugzilla add-on.
Updated•2 years ago
|
Comment 1•2 years ago
|
||
Is a solution of making the Add new collection
button unclickable a good option in this case?
Comment 2•2 years ago
|
||
I can no longer reproduce this bug. The steps to reproduce in comment 0 mention a "More options button" menu item that no longer exists, so I tried the alternate steps in this GitHub comment:
https://github.com/mozilla-mobile/fenix/issues/20391#issuecomment-951974654
- Have no collections created yet and at least one tab open
- Open the homepage
- Tap the "Save tabs to collection" button
- Tap the "Add new collection" button
- Tap ok
And I still wasn't able to create an empty collection. When no tabs are selected, the +
button is not shown.
Comment 3•2 years ago
•
|
||
The issue can be reproduced in the latest Nightly 113.0a1 from 15/03, with Firefox 112.0b2 and also with Firefox 111.0 by following Chris Peterson's steps, as well as the following steps:
- Have no collections created yet and at least one tab open
- Open the tabs tray.
- Tap the 3dot menu button.
- Tap the "Select tabs" button.
- Tap the "Save tabs to collection" button
- Tap the "OK" button from Add new collection prompt.
Device used : Google Pixel 3 XL (Android 9)
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Comment 5•2 years ago
|
||
In this case is a solution of making the Add new collection button unclickable a good option in this case?
Comment 6•2 years ago
|
||
(In reply to happinessmncube from comment #5)
In this case is a solution of making the Add new collection button unclickable a good option in this case?
I need to ask the UI designers to review your proposed solution. They have a long backlog of work, so that might take a couple weeks.
In the meantime, I recommend looking at Android good-first-bugs on "Codetribute" that don't require UI changes:
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 7•2 years ago
|
||
Authored by https://github.com/gitstart
https://github.com/mozilla-mobile/firefox-android/commit/64ccd3659704c7776877a3c2454273d07a57df23
[main] Bug 1812732 - Empty collection can be created
Updated•2 years ago
|
Comment 8•2 years ago
|
||
Verified as fixed on the latest Nightly 116.0a1 (2023-06-12T15:13:07.558982) build.
After tapping on "Select tabs" from the menu, the "Add new collection" button is not active.
Device used: Google Pixel 7 (Android 14).
Marking the ticket as verified for 116.
Updated•2 years ago
|
Reporter | ||
Comment 10•2 years ago
|
||
I don't think so. But I will verify with Product
Assignee | ||
Comment 11•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 13•1 year ago
|
||
This issue is again reproducible from 121.
Tested devices: Samsung Galaxy S23 Ultra (Android 13) and Google Pixel 7 (Android 14).
Tested builds:
- latest RC 120.0 build 2 (Not reproducible).
- latest Beta 121.0b2.
- latest Nightly 122.0a1 from 2023-11-23.
Reopening the ticket.
Updated•1 year ago
|
Comment 14•1 year ago
|
||
Comment 15•1 year ago
|
||
Authored by https://github.com/t-p-white
https://github.com/mozilla-mobile/firefox-android/commit/8782fcd036f547badca94eaddc6ff342d47a7eb6
[main] Bug 1812732 - Prevent empty Collection being created in Compose Tabs Tray
Comment 16•1 year ago
|
||
The patch landed in nightly and beta is affected.
:towhite, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox121
towontfix
.
For more information, please visit BugBot documentation.
Comment 17•1 year ago
|
||
Assignee | ||
Comment 18•1 year ago
•
|
||
Comment on attachment 9365840 [details] [review]
[mozilla-mobile/firefox-android] Bug 1812732 - Prevent empty Collection being created in Compose Tabs Tray (backport #4606) (#4623)
Beta/Release Uplift Approval Request
- User impact if declined: User can create an empty Collection
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes during PR, no QA yet
- Needs manual test from QE?: Yes
- If yes, steps to reproduce:
- Open Tabs
- 3 button menu
- Press 'Select tabs'
- Do not select any tabs
- Press the Collections button
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Minor change easily verifiable
- String changes made/needed:
- Is Android affected?: No
Comment 19•1 year ago
|
||
Comment 20•1 year ago
|
||
Authored by https://github.com/t-p-white
https://github.com/mozilla-mobile/firefox-android/commit/bf094bac0cee1855cc12ec5d9bc67090cbab7e1b
[releases_v121] Bug 1812732 - Prevent empty Collection being created in Compose Tabs Tray
Comment 21•1 year ago
|
||
Verified as fixed on the latest Nightly build (122.0a1 from 2023-11-29).
Tested using the same steps I reproduced it with a few days ago.
Device used: Samsung Galaxy S23 Ultra (Android 13).
Marking the ticket as verified on 122.
Updated•1 year ago
|
Comment 22•1 year ago
|
||
Verified as fixed on Firefox 121.0b6
Device used: Samsung Galaxy S23 Ultra (Android 13) and Tab: Sony Xperia (Android 6.0.1).
Description
•