cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Learn all about apps and Dropbox integrations to make working from home easy here!

Dropbox installs & integrations

Connect your tools and content together with help from the Dropbox Community. Join a discussion or post a question of your own to get started.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How does the Dropbox desktop app update the icon overlays so fast?

How does the Dropbox desktop app update the icon overlays so fast?

loop1213123
Explorer | Level 3

Hi, I was under the impression that DropBox uses SHChangeNotify (or the corresponding Python wrapper) to trigger a UI update for icon overlays.  But in my experiments using SHChangeNotify, icon overlays don't update as fast.  There's noticeable latency.  Does DropBox call a different function, or is there any trick that DropBox uses?  Thanks for any info!

1 Accepted Solution

Accepted Solutions

Re: How does the Dropbox desktop app update the icon overlays so fast?

Jay
Dropboxer

Hi @loop1213123, thanks for your patience!

 

After checking further, it wouldn’t be possible to provide more details since the Windows app is closed source.

 

However, a colleague did suggest to try some of the flags on SHChangeNotify to see if they help at all!


Jay
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

View solution in original post

7 Replies 7

Re: How does the Dropbox desktop app update the icon overlays so fast?

Jay
Dropboxer

Hi @loop1213123, thanks for posting on the Community!

 

I don’t have any info on this matter currently, however, I’ve made some internal inquiries and will let you know if there’s any details that might help.

 

Thanks for your patience!


Jay
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

Re: How does the Dropbox desktop app update the icon overlays so fast?

loop1213123
Explorer | Level 3

Thanks a lot for inquiring -- I appreciate it.

Re: How does the Dropbox desktop app update the icon overlays so fast?

loop1213123
Explorer | Level 3

Actually, just to clarify, my question pertains to the Windows desktop app (I saw that someone tagged my question with "Linux," but it should be Windows).  Thanks again.

Re: How does the Dropbox desktop app update the icon overlays so fast?

Jay
Dropboxer

Hi @loop1213123, thanks for your patience!

 

After checking further, it wouldn’t be possible to provide more details since the Windows app is closed source.

 

However, a colleague did suggest to try some of the flags on SHChangeNotify to see if they help at all!


Jay
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

View solution in original post

Re: How does the Dropbox desktop app update the icon overlays so fast?

loop1213123
Explorer | Level 3

Okay, thank you very much.  So it does use SHChangeNotify with some key flag configurations, or is your colleague just making that suggestion randomly?

Re: How does the Dropbox desktop app update the icon overlays so fast?

loop1213123
Explorer | Level 3

I seem to be having some success with SHCNF_FLUSHNOWAIT.  Could your ask your colleague if that's the one, or there are any other flags I should also consider?

Re: How does the Dropbox desktop app update the icon overlays so fast?

Jay
Dropboxer

Unfortunately, there wouldn't be any other information that they could provide on this matter other than what I previously mentioned.


Jay
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

Poll
How do you get refocussed while working from home? Do you find any of these options keep you from getting distracted?
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?