Opened 7 months ago
Closed 6 months ago
#22725 closed defect (bug) (fixed)
Gallery Cleared Unexpectedly
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Media | Version: | 3.5 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
To reproduce:
- Select images.
- Click Create a new gallery.
- Click Add to Gallery.
- Click Cancel Gallery.
Compare to:
- Select images.
- Click Create a new gallery.
- Click Add to Gallery.
- Click Edit Gallery.
- Click Cancel Gallery.
Depending on which page the user clicks Cancel Gallery, the image selection may or may not be preserved.
Attachments (1)
Change History (11)
comment:1
miqrogroove
— 7 months ago
comment:2
jeremyfelt
— 7 months ago
Can reproduce.
First scenario in the description results in 'Create Gallery' view with no images selected. Second scenario results in 'Create Gallery' view with the original images selected.
Question is what the expected behavior should be...
comment:3
jeremyfelt
— 7 months ago
IMO...
Images should stay selected. It's easy enough to clear the selected set if you want to redo a gallery build. If you were to accidentally hit cancel and lose your selections, that would suck more.
So, results from second scenario would be ideal.
comment:4
nacin
— 7 months ago
- Milestone changed from Awaiting Review to 3.5
- Owner set to koopersmith
- Status changed from new to assigned
koopersmith is working on smoothing over the selection sharing.
koopersmith
— 7 months ago
comment:5
koopersmith
— 7 months ago
- Keywords has-patch needs-testing added
Patch improves selection sharing. It will update the relevant parts of the selection while retaining any items that are not applicable in the current view (like videos in the create gallery tab). Generally, the behavior should be sensible.
comment:9
koopersmith
— 6 months ago
- Keywords commit added; needs-testing removed
comment:10
markjaquith
— 6 months ago
- Resolution set to fixed
- Status changed from assigned to closed
In 23089:
Also: Any additions or edits made to the gallery will be reverted when clicking Cancel from the Edit page. So there are three different outcomes: Gallery preserved, gallery reverted, and gallery cleared.