Rockbox

Tasklist

FS#2640 - Returning from a plugin doesn't refresh the tree view

Attached to Project: Rockbox
Opened by Jonas Häggqvist (rasher) - Sunday, 21 August 2005, 21:32 GMT
Last edited by Jonas Häggqvist (rasher) - Wednesday, 31 August 2005, 00:32 GMT
Task Type Bugs
Category
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

With plugins that change the filesystem, it is pretty
confusing that the disk cache isn't updated upon exit.

Shouldn't it be?
This task depends upon

Closed by  Jonas Häggqvist (rasher)
Wednesday, 31 August 2005, 00:32 GMT
Reason for closing:  Fixed
Comment by Linus Nielsen Feltzing (linusnielsen) - Monday, 22 August 2005, 04:51 GMT

Those plugins should return PLUGIN_USB_CONNECTED, which will
force a refresh of the tree.
Comment by Jonas Häggqvist (rasher) - Saturday, 27 August 2005, 14:19 GMT

Fair enough. Would it br okay if I patch the plugins and
commit them?

This is a bug if you ask me.
Comment by Jonas Häggqvist (rasher) - Saturday, 27 August 2005, 14:32 GMT

The plugins are at least these:

midi2wav
databox
searchengine
wav2wv
battery_test

What about vbrfix and/or splitedit?

Maybe a helpful PLUGIN_MODIFIED_FS should be defined?
(identical to PLUGIN_USB_CONNECTED of course, but less
confusing to read).
Comment by Jonas Häggqvist (rasher) - Wednesday, 31 August 2005, 00:32 GMT

I fixed this - only updated the viewer-plugins though, since
the regular plugins won't need it since they can't be run in
a way that dumps them back to where the file has been
created (that I can think of, anyway).

Loading...