This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ttk Indeterminate Progressbar Not Animating Correctly After `start`
Type: behavior Stage: resolved
Components: Tkinter Versions: Python 3.9
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: Jim.Jewett, ned.deily, souch3
Priority: normal Keywords:

Created on 2021-07-01 20:15 by souch3, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
Screen Recording 2021-07-01 at 1.11.26 PM.mov souch3, 2021-07-01 20:15 Screen recording showing behavior
Messages (5)
msg396828 - (view) Author: Phil Soucheray (souch3) Date: 2021-07-01 20:15
After running `start` on an indeterminate Progressbar, it animates to one side, goes back to the other and then right before it reaches the end it disappears. I've attached a sample script below and a screen recording. This is running on macOS 11.3 and python 3.9.6 with the tkinter version that is packaged with the 3.9.6 installer. 


```
from tkinter import *
from tkinter.ttk import *
import time

window = Tk()
window.title('Test')
window.geometry('400x250+1000+300')


pb = Progressbar(window, orient=HORIZONTAL, length=100, mode='indeterminate')
pb.pack(expand=True)

Button(window, text='Start', command=pb.start).pack()

window.mainloop()
```
msg396832 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2021-07-01 23:26
I can reproduce this behavior when using the current default 3.9.x macOS installer which uses Tk 8.6.8. It appears to work correctly if you instead use the alternate 3.9.x macOS universal2 installer which bundles Tk 8.6.11. The universal2 variant will be the default for Python 3.10 and may likely become the default for a future 3.9.x release. See if it solves the problem for you.

https://www.python.org/downloads/release/python-396/
msg396834 - (view) Author: Phil Soucheray (souch3) Date: 2021-07-02 00:14
It looks like that has done the trick. Is there an expected time when there won't be different installers?
msg396836 - (view) Author: Jim Jewett (Jim.Jewett) * (Python triager) Date: 2021-07-02 01:37
It sounds like the fix is a configuration change already included in the next version, so ... I think that counts as a fix.
msg396841 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2021-07-02 02:43
Phil, there are still some as yet unresolved differences between using Tk 8.6.8 and 8.6.11, both positive and negative, and there are a few differences between using the two variants under all conditions that we want to resolve. So, at the moment, we will continue to supply the two variants for 3.9.x bugfix releases with the traditional (non-universal2) variant remaining the default but that may change in the future.
History
Date User Action Args
2022-04-11 14:59:47adminsetgithub: 88714
2021-07-02 02:43:29ned.deilysetstatus: pending -> closed
resolution: fixed -> third party
messages: + msg396841

stage: resolved
2021-07-02 01:37:56Jim.Jewettsetstatus: open -> pending

nosy: + Jim.Jewett
messages: + msg396836

resolution: fixed
2021-07-02 00:14:41souch3setmessages: + msg396834
2021-07-01 23:26:15ned.deilysetnosy: + ned.deily
messages: + msg396832
2021-07-01 20:15:05souch3create