PySimpleGUI / PySimpleGUI/PySimpleGUI

Table headings are not working properly in PySimpleGUIQt

Open
#1,419 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13.8k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

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

Bug

Operating System

Windows 10 64-bit

Python version

Python 3.7.3

PySimpleGUI Port and Version

PySimpleGUIQt 0.26.0

Code or partial code causing the problem

I think this is the code which is causing the problem:

https://github.com/PySimpleGUI/PySimpleGUI/blob/3594ffd03aa191ca0cc980c8aebf0fe8dcd7960f/PySimpleGUIQt/PySimpleGUIQt.py#L5438

https://github.com/PySimpleGUI/PySimpleGUI/blob/3594ffd03aa191ca0cc980c8aebf0fe8dcd7960f/PySimpleGUIQt/PySimpleGUIQt.py#L5439

Table headings should be same headings which are passed as a parameter but instead they are numbers.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in PySimpleGUIQt/PySimpleGUIQt.py at the linked lines around 5438-5439, and trace how the table headings parameter is passed to the Qt table widget. Reproduce the issue with PySimpleGUIQt 0.26.0 and confirm that the displayed headings match the supplied headings rather than numeric indexes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.