Python Forum
[Tkinter] Remove label after x seconds
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Remove label after x seconds
#3
I opened a word document, edited the text and saved the file. The status bar says "somefile.docx saved to this PC". 10 minutes from now it will say "somefile.docx saved to this PC". An hour from now it will say this. It will continue to say this until I edit the text, then it the text in the status bar changes to "somefile.docx". The status bar information is always visible and always up-to-date. There is no status information that appears for 8 seconds then is gone.

What you are trying to do is bad user interface design. Information may have an expiration date, but the expiration date is unlikely to be 8 seconds. If you think it is important to tell the user that changes to their data is saved, display that information until it is no longer true. Word stops telling me my document is saved when the open document was edited after the last save.

Or are is your message meant to notify the user that a save operation occurred? Displaying a label for 8 seconds is not a good way to inform the user that an event occurred. A message window is a better choice. A message window is better than a label because it forces the user to acknowledge the notification. What if the user doesn't notice the label, or worse, doesn't notice the label until it disappears? Now your user is uninformed and possibly quite concerned that some important information disappeared before it was read and understood. A message window demands that the user acknowledge the information was read and understood before additional actions can be performed.
Reply


Messages In This Thread
Remove label after x seconds - by snakes - Jun-11-2021, 07:10 PM
RE: Remove label after x seconds - by Yoriz - Jun-11-2021, 07:26 PM
RE: Remove label after x seconds - by deanhystad - Jun-11-2021, 08:03 PM
RE: Remove label after x seconds - by snakes - Jun-11-2021, 09:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] Change Label Every 5 Seconds gw1500se 4 6,936 May-26-2020, 05:32 PM
Last Post: gw1500se

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020