"Back" button in Update window doesn’t close the update window
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 48/100
Research direction
Start by locating f6 and the Update window's Back button callback shown in the issue. Change the callback so it shows the main window and hides the Update window rather than the View window. Done means clicking Back leaves the main window visible without the Update window also remaining open.
Written by the indexing model from the issue text.
Description
Hi, I noticed a small UI issue with the Update student window.
When I open the Update window and click the “Back” button, the main window is shown again (which is correct), but the Update window is not closed. Instead, the code hides the View window:
def f6():
main_window.deiconify()
view_window.withdraw()
However, this function is used as the callback for the Update window’s Back button:
update_btn_back = Button(update_window, text="Back", width=10, font=f, command=f6)
So after clicking “Back”, both the main window and the Update window stay visible at the same time, which is confusing.
Expected behavior
Clicking the “Back” button in the Update window should:
Show the main window
Hide the Update window (not the View window)
Suggested fix
Replace view_window.withdraw() with update_window.withdraw():
def f6():
main_window.deiconify()
update_window.withdraw()
This way, the Back button works as expected for the Update window.
- Dominant language
- Python
- Stars
- 583
- Forks
- 441
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Shahrayar123/Python-Projects
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Shahrayar123/Python-Projects#297 · 7 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Shahrayar123/Python-Projects#112 · 8 comments ·
-
Agentic AI enhancement good first issue
Shahrayar123/Python-Projects#332 · 2 comments · 1 assignee ·
-
documentation good first issue help wanted
Difficulty 3/5 1-2 days Newbie friendliness 70/100
Shahrayar123/Python-Projects#331 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
Shahrayar123/Python-Projects#319 ·
All issues in Shahrayar123/Python-Projects
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100