PySimpleGUI / PySimpleGUI/PySimpleGUI

[ Bug ] Demo Browser not launch PyCharm 2026.2 when "edit" button clicked

Aperta Adatta ai principianti
#6,900 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Bug Demo Programs Done - Install Dev Build (see docs for how) Interoperability Port - TK workaround available
Lingua principale
Python
Stelle
13.8k
Fork
1.8k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Type of Issue (Enhancement, Error, Bug, Question)

Bug


Operating System

Windows 11

PySimpleGUI Port (tkinter, Qt, Wx, Web)

tkinter


Versions

Python version (sg.sys.version)

3.12

PySimpleGUI Version (sg.__version__)

6.2.36

GUI Version (tkinter (sg.tclversion_detailed), PySide2, WxPython, Remi)

8.6.15


Your Experience In Months or Years (optional)

Years Python programming experience

Years Programming experience overall

Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)

Anything else you think would be helpful?

Detailed Description

The Demo Browser is not launching when clicking the edit button if the editor is PyCharm 2026.2.

It was working correctly on older versions. The workaround, for now, is to remove the use of the line number when invoking the editor. It's the line number parameter in particular that seems to be causing the failure.

The Demo Browser in this repo has been updated to remove the line number and the Demo Browser in the psgdemos repo has been updated. It's not been released to PyPI yet.

Screenshot, Sketch, or Drawing
Image

Guida per i contributori

Apri la guida per i contributori

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.

Direzione di ricerca

Cerca nel repository il percorso di avvio dell'Edit-button di Demo Browser e l'invocazione dell'editor che passa un numero di riga. Confronta il codice attuale di Demo Browser con la soluzione alternativa segnalata, quindi verifica su Windows con PyCharm 2026.2 che facendo clic su Edit l'editor si apra correttamente senza che si verifichi l'errore.

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

Valutazione

Stack tecnologico
python
Ambito
tooling
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
68/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.