Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Compression DB punctuation-insensitive search changes with query capitalization

Aperta Adatta ai principianti
#697 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
82/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
visualbasic
Ambito
desktop, search

Direzione di ricerca

Leggi CompactGUI/ViewModels/DatabaseViewModel.vb, in particolare le righe 63–79 e il metodo FilterResults. Confronta la normalizzazione in minuscolo con il controllo Contains, che distingue tra maiuscole e minuscole, quindi verifica la riproduzione A/B/A con counterstrike, CounterStrike e di nuovo counterstrike. Il lavoro è completato quando le maiuscole e le minuscole non modificano più le corrispondenze che ignorano la punteggiatura.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Tested on official v4.0.0-beta.12, Windows 11 25H2 (26200.9711), ASUS Vivobook S 15 / Snapdragon X Elite X1E-78-100 / 16 GB RAM, .NET 10.0.13. Both the native ARM64 application and the official x64 application were tested directly on this ARM laptop. Additional component checks used unchanged libraries extracted from the x64 release, with the release's embedded manifest. No Intel/AMD PC was tested. Only disposable files were used. Most testing was automated with Codex, with human assistance identified where applicable. Related build request: #556.

Reproduction
In Compression DB, search counterstrike, then CounterStrike, then counterstrike again.

The lowercase query finds Counter-Strike and related hyphenated titles. Changing only capitalization drops those matches, leaving a Command & Conquer title containing literal unhyphenated Counterstrike. Switching back restores the Counter-Strike results. The A/B/A sequence was repeated.

Expected: changing query capitalization should not change those punctuation-insensitive matches.

DatabaseViewModel.vb lines 63–79 normalizes the game name to lowercase but compares it to the unnormalized SearchText using case-sensitive Contains. A separate literal comparison is case-insensitive, explaining the remaining result.

Normalizing both sides of the normalized comparison should address this. The x64 comparison below also reproduces the filtering defect.

x64 component comparison (21 October 2026)

The actual x64 release's DatabaseViewModel.FilterResults method was called with synthetic objects bearing these public game titles. The A/B/A results were:

Query Counter-Strike Command & Conquer: Red Alert - Counterstrike
counterstrike matched matched
CounterStrike not matched matched
counterstrike again matched matched

This component result does not depend on fetching a live database.

Direct x64 GUI follow-up (21 October 2026)

The same A/B/A sequence was then entered into the official x64 Compression DB page using its loaded database. Lowercase counterstrike showed Counter-Strike and related hyphenated titles; CounterStrike removed those matches and left the Command & Conquer title with literal Counterstrike; returning to lowercase restored the results. This directly confirms the reported search behavior in both release GUIs.

Lingua principale
Visual Basic .NET
Stelle
8.9k
Fork
343
Merge medio
3g 18h
PR unite (30g)
7

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di IridiumIO/CompactGUI

Tutte le issue di IridiumIO/CompactGUI

Issue simili

Altre issue su Desktop Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.