Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tk background window doesn't destroy. #15

Open
dat-adi opened this issue Aug 4, 2020 · 0 comments
Open

Tk background window doesn't destroy. #15

dat-adi opened this issue Aug 4, 2020 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@dat-adi
Copy link
Owner

dat-adi commented Aug 4, 2020

Describe the bug
In location_designator.py, the window for the GUI folder location selection is prompted from the tkinter module, which initializes a root window for itself.
The problem lies where it has to be manually close even after selecting the location of the folder.
Withdraw works to hide it, but, the window runs in a loop even so.

To Reproduce
Steps to reproduce the behavior:

  1. Go to adding_tickets.py
  2. Run the program.
  3. You can immediately see the root tk window in the background.
  4. Select your folder/storage location, and hit continue, and see that the root window still remains.
  5. Has to be manually closed even after the adding ticket window closes.

Expected behavior
The tkinter root window should not be seen, and must close on it's own after the selection of the location is done.

Alternatives
Maybe we could add in a button in the adding_tickets.py tkinter window, to prompt a tkinter filedialog to configure the location of the db in.

@dat-adi dat-adi added the bug Something isn't working label Aug 4, 2020
@dat-adi dat-adi added this to the Release 1.1.0 milestone Aug 4, 2020
@dat-adi dat-adi self-assigned this Aug 4, 2020
@dat-adi dat-adi added this to To do in Eisen's Tickets via automation Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant