OneDrive overlay does not change when downloaded, not even with F2

Moderators: white, Hacker, petermad, Stefan2

Post Reply
mhaecki
Junior Member
Junior Member
Posts: 20
Joined: 2008-08-06, 22:11 UTC

OneDrive overlay does not change when downloaded, not even with F2

Post by *mhaecki »

How to reproduce:
- Browse to a folder full of files available online (blue cloud overlay shows)
- Open one of the files (i.e. a pdf or jpg)
- The overlay icon is still the blue cloud
- Press F2, the overlay icon is still the blue cloud
- Browse to the parent folder, then come back: The overlay icon is gone, meaning file is available offline (but not always).

Expected:
- Perfect would be after the file is downloaded and opend, the cloud disappears.
- Ok would be, that pressing F2 makes it disapear.

-- the same, but in reverse, applies to "free up space" on files. The cloud does not reapear.

System:
- Windows 11
- TC 11.03
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48231
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: OneDrive overlay does not change when downloaded, not even with F2

Post by *ghisler(Author) »

Currently overlays are not refreshed when you press F2/Ctrl+R and nothing else in the directory has changed. There is currently no way to detect programmatically whether an overlay has changed, except for re-loading all the overlays in the entire directory.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14913
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: OneDrive overlay does not change when downloaded, not even with F2

Post by *petermad »

2ghisler(Author)

Will cm_RereadSource 1 or cm_RereadSource 3 update the overlays?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
mhaecki
Junior Member
Junior Member
Posts: 20
Joined: 2008-08-06, 22:11 UTC

Re: OneDrive overlay does not change when downloaded, not even with F2

Post by *mhaecki »

Thank you @ghisler(Author) for the reply. I kinda figured :-)

@petermad: cm_RereadSource 3 does update the overlays (2 doesn't).

@ghisler(Author): The reread behaviour could be configurable for the F2 button. If performance is an issue, it could be limited to the environments "OneDriveConsumer" and "OneDrive".
Last edited by mhaecki on 2024-05-18, 12:59 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 14913
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: OneDrive overlay does not change when downloaded, not even with F2

Post by *petermad »

The reread behavour could be configurable for the F2 button.
It already is, just Redefine the F2 hotkey to cm_RereadSource with the Parameters set to: 3 in the Misc. section of TC's Configuration dialog.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
mhaecki
Junior Member
Junior Member
Posts: 20
Joined: 2008-08-06, 22:11 UTC

Re: OneDrive overlay does not change when downloaded, not even with F2

Post by *mhaecki »

A dedicated configuration tick mark in i.e. "Display - Icons" or "Operation - Refresh" could make this behaviour accessible to a wider audience.
At least this thread helps document that behaviour and the solution with the redefined hotkey.
Post Reply