Bug 1859015

Summary: Snapshots sort order
Product: [Community] Virtualization Tools Reporter: Anton Karmanov <bergentroll>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED DEFERRED QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, crobinso, gscrivan, mhicks
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-13 21:11:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anton Karmanov 2020-07-21 05:43:15 UTC
Description of problem:
Snapshots always sorted by Name. Sort by Creation Time seems more useful.

Product version:
2.2.1

How reproducible:
Create a bunch of snapshots for VM.

Steps to Reproduce:
1. Create snapshot named "Zealot"
2. Create snapshot named "Awesome"
3. Create snapshot named "Greedy"

Actual results:
In list of snapshots we have:
Awesome
Greedy
Zealot

Expected results:
Zealot
Awesome
Greedy

Additional info:
It's necessary to prepend snapshot names with numeric prefix to keep it in chronological order. That is not always convenient, especially when we need to remove some snapshots time-to-time.

Comment 1 Cole Robinson 2020-09-13 21:11:50 UTC
We are closing this bugzilla tracker for virt-manager issues, let's use the github issue you filed: https://github.com/virt-manager/virt-manager/issues/142