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

Author: PySimpleGUICreated Jul 26, 2026Updated Aug 3, 2026
LabelsBugDone - Install Dev Build (see docs for how)Demo Programsworkaround availableInteroperabilityPort - TK

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