whut / jumplist-extender

Automatically exported from code.google.com/p/jumplist-extender
0 stars 0 forks source link

AppList.xml file lock race condition -- Resets shortcut positions #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
T7EBackground has a problem when T7EPreferences saves AppList.xml: T7EB
reads AppList.xml too soon, and doesn't receive useful changes.

For now, I just put it in a silent try {} catch(){} block, but the fix is
probably more involved. Sometimes, T7EB will reset the pinned shortcut
positions, presumably out of receiving an empty(?) AddedList. 

Don't know what that's about, but this needs to be fixed.

Original issue reported on code.google.com by mar.mar...@gmail.com on 17 May 2010 at 12:56

GoogleCodeExporter commented 9 years ago
Seems to work. The function just fails if it can't read the file. Since
applistwatcher fires TWICE, it _should_ and _seems to_ work always on the second
time. I haven't encountered any weird cases beyond this, but this seems to work.

Original comment by mar.mar...@gmail.com on 18 May 2010 at 12:05