Bump for visibility, dealing with .lnk files in Windows 11 is a huge nightmare. I am a theme developer who works in Windows, I built the "Adventure" theme for adventure motorcyclists (hosted over on advrider.com).
Every time I load a theme in to Locus with lnk files pointing to the legend, I get an error in the Android PDF viewer "Cannot display PDF ([theme].pdf cannot be opened).
I believe this is because Windows is appending metadata to each .lnk file whenever the OS sees the file renamed from a txt extension. If I generate the lnk file on my Android and place it in the theme folder, the legend is able to successfully open from within Locus with no error, but every time I try to offload the lnk file from my phone to my Windows machine, then transfer it back to the phone again, I get this error.
It would be nice if you could add a provision for those of us who work in Windows to get the legend link files working in our themes. Maybe even look for a standard txt file in addition to the lnk file. For the time being, I will have to make a copy of the legend PDF for the 2 theme XML files I maintain (a V3 and a V4 theme), since even a URL will not work.
Every time I load a theme in to Locus with lnk files pointing to the legend, I get an error in the Android PDF viewer "Cannot display PDF ([theme].pdf cannot be opened).
I believe this is because Windows is appending metadata to each .lnk file whenever the OS sees the file renamed from a txt extension. If I generate the lnk file on my Android and place it in the theme folder, the legend is able to successfully open from within Locus with no error, but every time I try to offload the lnk file from my phone to my Windows machine, then transfer it back to the phone again, I get this error.
It would be nice if you could add a provision for those of us who work in Windows to get the legend link files working in our themes. Maybe even look for a standard txt file in addition to the lnk file. For the time being, I will have to make a copy of the legend PDF for the 2 theme XML files I maintain (a V3 and a V4 theme), since even a URL will not work.
The following users thanked this post: Viajero Perdido