- Status Closed
- Percent Complete
- Task Type Bugs
- Category User Interface
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#7388 - Statusbar time display not updating regularly in browser.
I noticed that when you are in the file- or database browser the time display in the statusbar only updates when you change the directory/view or when the batterydisplay gets updated. So if the battery if full and the charger is still connected the time display can become very inaccurate because the time never gets updated until you change the directory/view.
It would be nice if the statusbar would get updated at least once per minute.
H300 with version r13764-070702.
Closed by petur
2007-07-05 23:22
Reason for closing: Fixed
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2007-07-05 23:22
Reason for closing: Fixed
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
thanks for reporting
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
It could be related to my change of r13729 (http://svn.rockbox.org/viewvc.cgi?view=rev&revision=13729), but I don't see how and it works for me…
It looks like you are right.
I can reproduce the behaviour with dayly build r13732-070629 (which includes this change) but not with r13728-070628 (which doesn't include the change).
Here is my vague theory what could cause the bug (but i must admit that i don't really have experience with C and i never really understood the concept of pointers, so i could be totally wrong):
To me it seems as if bar→info.time is just a pointer to the memorylocation where the current time informations are stored and since this is static, the values of bar→info.time and bar→lastinfo.time are always the same. So the comparision "memcmp(&(bar→info), &(bar→lastinfo), sizeof(struct status_info))" in line 247 of statusbar.c shows no differences if only the time has changed and the statusbar doesn't get redrawn.
I hope that makes at least a little bit sense.
nice find, the time is indeed a pointer…. and it is related to Nico_P's change….