Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

[Bug]: Freeze when adding composite key with checkboxes

Offen
#4,150 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
cpp, sqlite
Bereich
databases, desktop

Rechercherichtung

Reproduziere das Einfrieren in DB4S unter Windows, indem du zwei Spalten erstellst und beide PK-Kontrollkästchen auswählst, und vergleiche diesen Ablauf anschließend mit dem funktionierenden Tab „Index Constraints“. Überprüfe, dass die App responsiv bleibt und dass der CREATE TABLE-SQL-Ausschnitt den zusammengesetzten Primärschlüssel enthält, ohne einen nicht reagierenden Zustand zu verursachen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

What did you do?

I was editing a project with the app, when I tried to create a new table. I created two columns, and made one of them a primary key by clicking the PK checkbox. Then I tried to check the PK checkbox for the second column, at which point the app froze.

What did you expect to see?

I had expected that the second column would be added to the primary key constraint at the end of the CREATE TABLE sql snippet at the bottom.

What did you see instead?

The app froze. Forced closed for brevity in video.

https://github.com/user-attachments/assets/342f6491-03e5-40d5-86ac-f41264943106

Further experiments found that the composite key can be added successfully in the Index Constraints tab - this seems to be an issue specifically with the checkboxes.

DB4S Version

3.13.99 (nightly)

What OS are you seeing the problem on?

Windows

OS version

Windows 11 Home 25H2

Relevant log output
No additions to SQL Log pane at time of freeze, and no new lines were written to WinDbg at time of freeze or after (DB4S becomes entirely unresponsive when run through WinDbg and the window cannot be forced to crash except by stopping the debugging session)
Prevention against duplicate issues
  • I have searched for similar issues
Vorherrschende Sprache
C++
Sterne
24.6k
Forks
2.4k
Ø Merge
2 T. 8 Std.
Gemergte PRs (30 T.)
4

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus sqlitebrowser/sqlitebrowser

Alle Issues in sqlitebrowser/sqlitebrowser

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.