Opened 18 years ago
Closed 18 years ago
#6174 closed patch (fixed)
Fix for slow status update in mythwelcome
| Reported by: | Owned by: | paulh | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | MythTV - Mythwelcome & Mythshutdown | Version: | 0.21-fixes |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
Since the status update runs on a 2 second timer, mythwelcome can sometimes show an incorrect status right after exiting mythfrontend.
This patch forces a status refresh when myth_system() returns. The fix is not perfect, as the incorrect status can still be shown for half a second or so, but is is better than before.
Attachments (1)
Change History (7)
by , 18 years ago
| Attachment: | mythwelcome.patch added |
|---|
comment:2 by , 18 years ago
| Status: | infoneeded_new → new |
|---|
comment:3 by , 18 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:4 by , 18 years ago
No, this is not at all related to #18671.
In case I did not make myself clear the first time, let me provide a scenario:
1) My MythTV box wakes up to start a scheduled recording. MythWelcome correctly shows a status of 'recording'. 2) I start mythfrontend and cancel the recording. MythTV is now idle. 3) I exit mythfrontend. 4) Now, I expect MythWelcome to show a status of 'not recording' - but due to the (up to) 2 s delay, the status will briefly show 'recording'.
I'm not saying that this is a huge issue, but it has annoyed me more than once. And it *is* a one-line patch.
comment:5 by , 18 years ago
(In [19898]) Make sure MythWelcome's status messages are updated immediately after MythFrontend exits rather than waiting for the update timer to do it. Refs #6174.
comment:6 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
(In [19900]) Backports [19898] to fixes.
Make sure MythWelcome's status messages are updated immediately after MythFrontend exits rather than waiting for the update timer to do it. Fixes #6174.

Patch