Closed Bug 1867273 Opened 1 year ago Closed 1 year ago

Bookmarks lose their original "Added" date when they were cut-and-pasted into a different folder

Categories

(Firefox :: Bookmarks & History, defect, P3)

Firefox 116
Desktop
Unspecified
defect

Tracking

()

VERIFIED FIXED
122 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox120 --- wontfix
firefox121 --- wontfix
firefox122 --- verified
firefox123 --- verified

People

(Reporter: aoia7rz7l, Assigned: daisuke)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [sng][places-regression])

Attachments

(1 file)

Tested on 119.0.1.

STR:

  1. Open the Library.
  2. Right-click on any of the column headers to add both the Added and Last Modified date column.
  3. Drag-and-drop/cut-and-paste one or more bookmarks within the same folder.
  4. Observe that both the Added and Last Modified date did not change.
  5. Drag-and-drop one or more bookmarks into a different folder.
  6. Observe that only the Last Modified date was updated.
  7. Cut-and-paste one or more bookmarks into a different folder.

Expected Behavior:

Only the Last Modified date for these bookmarks were updated, whilst the Added date remain unchanged.

Actual Behavior:

The Added date was updated and identical to the Last Modified date when bookmarks were cut-and-pasted into a different folder.

Mozregression returned

Last good revision: 8f9703d8891ede813e3ce97435d50f0cb69a1a55
First bad revision: 1be4cb72888eb43d48eb98b0daf847eeaf34adc1
Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=8f9703d8891ede813e3ce97435d50f0cb69a1a55&tochange=1be4cb72888eb43d48eb98b0daf847eeaf34adc1

During mozregression, I noticed in some of the 116.0a1 bad builds that bookmarks also lost their name when they were cut-and-pasted into a different folder, an issue of which seemed to be addressed in bug 1840207.

See Also: → 1850155

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

Component: Untriaged → Bookmarks & History

Setting Regressed by field after analyzing regression range found by mozregression in comment #0.

Keywords: regression
Regressed by: 1829579

:daisuke, since you are the author of the regressor, bug 1829579, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(daisuke)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [sng][places-regression]

Set release status flags based on info from the regressing bug 1829579

:mak could this be triaged for severity?

Flags: needinfo?(mak)

This is just a visual bug, we're not updating the UI correctly, the bookmark data is safe.
I've verified that by cut/paste a bookmark into a folder in the Library, date added was wrong. But as soon as I opened another folder and then returned to this one, date added was correct.
We should fix it, but it's not a critical dataloss problem.

Severity: -- → S4
Flags: needinfo?(mak)
Priority: -- → P3
Assignee: nobody → daisuke
Status: NEW → ASSIGNED
Flags: needinfo?(daisuke)
Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/efffe49c7c1c Reflect the date of bookmark addition when moving bookmarks r=places-reviewers,mak
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
QA Whiteboard: [qa-122b-p2]

Reproducible on Firefox 121.0 on Windows 10.
Verified as fixed on Firefox 122.0b3 and Nightly 123.0a1 on Windows 10, Ubuntu 22, macOS 12.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-122b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: