PySimpleGUI / PySimpleGUI

Python GUIs for Humans! PySimpleGUI is the top-rated Python application development environment. Launched in 2018 and actively developed, maintained, and supported in 2024. Transforms tkinter, Qt, WxPython, and Remi into a simple, intuitive, and fun experience for both hobbyists and expert users.

Home Page:https://www.PySimpleGUI.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Enhancement] main_open_github_issue() can be easily more prefilled

macdeport opened this issue · comments

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

Enhancement


Environment

Operating System

Mac version 10.10.5

PySimpleGUI Port (tkinter, Qt, Wx, Web)

tkinter


Versions

Python version (sg.sys.version)

3.9.12 (main, Mar 25 2022, 00:55:04)
[Clang 7.0.2 (clang-700.1.81)]

PySimpleGUI Version (sg.__version__)

4.59.0.44

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

8.6.12


Your Experience In Months or Years (optional)

15 Years Python programming experience
20 Years Programming experience overall
Yes Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
This can be prefilled after the 1st time


Troubleshooting

These items may solve your problem. Please check those you've done by changing - [ ] to - [X]

  • Searched main docs for your problem www.PySimpleGUI.org
  • Looked for Demo Programs that are similar to your goal Demos.PySimpleGUI.org
  • If not tkinter - looked for Demo Programs for specific port
  • For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
  • Run your program outside of your debugger (from a command line)
  • Searched through Issues (open and closed) to see if already reported Issues.PySimpleGUI.org
  • Tried using the PySimpleGUI.py file on GitHub. Your problem may have already been fixed but not released

Detailed Description

main_open_github_issue() can be easily more prefilled about the platform running (please see code snippet)

The personal profile can be store after the 1st. A reset button could let update when needed.

Code To Duplicate

import platform
print(platform.platform()) # 'macOS-10.10.5-x86_64-i386-64bit'
if platform.platform().startswith('macOS'): print(platform.mac_ver())
# ('10.10.5', ('', '', ''), 'x86_64')

Screenshot, Sketch, or Drawing

Very nice!

Added info for Mac, Window and Linux. If it helps us get better data to provide better support, sign me up!

image

My pleasure

But the last 4.60.0

floating-screenshot-205841

can be easily filled with OS version:

floating-screenshot-210003

with (for 5% of users ;-) ):

import platform
print(platform.platform()) # => 'macOS-10.10.5-x86_64-i386-64bit'
if platform.platform().startswith('macOS'): print(platform.mac_ver())
# ('10.10.5', ('', '', ''), 'x86_64')

4.60.0.1 should do exactly ... fill in the Mac, Window, or Linux info automatically when you open the GitHub Issue Window.

Nice... it filled in the info for the Mac... thanks for the verification.

The display of the info is going to be cut off. The field isn't meant to be viewed/edited. Its purpose is to be used to generate the markdown. I've not looked further into the format of the information and for now, have simply dropped in what's returned so we get all the info. Will be interesting to see what the results are for users that stay up to date with the GitHub releases.