Secondary sorting is ineffective for entries with the same displayed install date
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 74/100
Direzione di ricerca
Individua la colonna della griglia associata a InstallDate e formattata con Language.Date_Format ({0:d}), quindi confronta la relativa chiave di ordinamento con la logica di raggruppamento esistente che usa InstallDate?.Date. Inizia individuando questi riferimenti nel progetto. Il lavoro è terminato quando l’ordinamento per data di installazione e poi per versione ordina per versione le voci che condividono la stessa data visualizzata, preservando la visualizzazione della data.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Title
Secondary sorting is ineffective for entries with the same displayed install date
Description
The Install Date column displays only the date, but sorting uses the full timestamp, including the time and fractional seconds.
As a result, entries with the same displayed install date are ordered by their hidden timestamps. A secondary sort criterion, such as Version, is only applied when the full timestamps match exactly.
This makes it difficult to sort drivers by install date and then by version within each day.
Steps to reproduce
- Find multiple driver entries with the same displayed Install Date but different versions.
- Click the Install Date column header to sort in ascending order.
- Hold Shift and click the Version column header to set version as the secondary sort criterion in ascending order.
Expected behavior
Entries with the same displayed install date should be sorted by version in ascending order.
For example:
| Install Date | Version |
|---|---|
| 2026/10/06 | 1.0 |
| 2026/10/06 | 2.0 |
| 2026/10/06 | 3.0 |
Actual behavior
Entries are sorted by their full install timestamps, even though the time is not displayed. Version sorting only takes effect when those timestamps match exactly.
For example, entries with these underlying values would appear in this order:
| Displayed Install Date | Hidden Time | Version |
|---|---|---|
| 2026/10/06 | 09:00:00 | 3.0 |
| 2026/10/06 | 10:00:00 | 1.0 |
| 2026/10/06 | 11:00:00 | 2.0 |
Although all three entries display the same install date, they are not ordered by version.
Implementation details
The column is bound to InstallDate and formatted using Language.Date_Format ({0:d}), which displays only the date. Sorting therefore compares the full DateTime value rather than the displayed date.
The grouping logic already uses InstallDate?.Date, so grouping and sorting use different levels of precision.
Suggested improvement
Use the date-only value (InstallDate?.Date) as the sort key for the Install Date column, so that secondary sorting applies to entries installed on the same day.
- Lingua principale
- C#
- Stelle
- 11.8k
- Fork
- 557
- Merge medio
- 1g 23h
- PR unite (30g)
- 2
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di lostindark/DriverStoreExplorer
-
Feature Request (EASY)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
lostindark/DriverStoreExplorer#442 · 1 commento ·
-
Not working on W11 any more.Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
lostindark/DriverStoreExplorer#456 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
lostindark/DriverStoreExplorer#454 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di lostindark/DriverStoreExplorer
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
:watch: Not Triaged aspnet-core/svc fundamentals/subsvc Source - Docs.ms
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
dotnet/AspNetCore.Docs#37785 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
Azure/azure-sdk-tools#17204 ·
I maintainer di solito rispondono entro 1 giorno
-
Проблема с Dotnet RUApertaarea-tutorials needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
dotnet/website-feedback#1779 ·
-
[Bug] SwipeControl in Execute mode with more than one item replaces the whole UI with an error panelApertabug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
microsoft/microsoft-ui-reactor#1344 ·
I maintainer di solito rispondono entro 1 giorno