PySimpleGUI / PySimpleGUI/PySimpleGUI

[Bug] Update(visible=False) has no effect for a tab within a TabGroup

Open
#2,034 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
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

Manjaro XFCE, Windows 10

Python version

3.7.4

PySimpleGUI Port and Version

tkinter '4.4.1 Released'

Your Experience Levels In Months or Years

2 years Python programming experience
10+ years programming experience overall
No, I have not used another Python GUI Framework (tkinter, Qt, etc) previously?

You have completed these steps:
  • [ Yes] Read instructions on how to file an Issue
  • [ Yes] Searched through main docs http://www.PySimpleGUI.org for your problem
  • [ Yes] Searched through the readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
  • [ Yes] Looked for Demo Programs that are similar to your goal http://www.PySimpleGUI.com
  • [ Yes] Note that there are also Demo Programs under each port on GitHub
  • [ Yes] Run your program outside of your debugger (from a command line)
  • [ Yes] Searched through Issues (open and closed) to see if already reported
Code or partial code causing the problem

visible=False has no effect on Tabs within TabGroups, neither in layout, nor on update of such tabs.
In contrast, disabled=False works as expected.

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

The issue mentions TabGroup tabs and the visible=False update behavior, but provides no source file, test, or complete reproducer. Start by reproducing the layout and update cases described, then trace the TabGroup implementation and compare it with the reported disabled=False behavior. Done means visibility works both when initially declared and when changed through update().

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.