[9.50b4] Quick view for LNK shows error messages

Bug reports will be moved here when the described bug has been fixed

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8488
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

[9.50b4] Quick view for LNK shows error messages

Post by *MVV »

This may happen if LNK points to a special location like network connection. I can reproduce the problem with following LNK:

Code: Select all

MIME-Version: 1.0 
Content-Type: application/octet-stream; name="LocalAreaConnection.lnk" 
Content-Transfer-Encoding: base64 
Content-Disposition: attachment; filename="LocalAreaConnection.lnk" 

TAAAAAEUAgAAAAAAwAAAAAAAAEaBAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 
AAAAAQAAAAAAAAAAAAAAAAAAAKwBFAAfgCAg7CHqOmkQot0IACswMJ0eAHGAAAAAAAAAAAAAAMes 
B3ACMtERqtIAgF/BJw54Af9OAwAAAP9eAADbahK6ZiHREbHQAIBfwScORrJ7HF/4dUOpQE5aSwlR 
vgkQAAADAAAAAgAAAOIAAAAQAAAAAAAAADwAAAA8AAAApgAAAAEAAADyAAAAAgAAAAAAAAAJAAAA 
AAAAAPQAAAAQAAAAHwQ+BDQEOgQ7BE4ERwQ1BD0EOAQ1BCAAPwQ+BCAAOwQ+BDoEMAQ7BEwEPQQ+ 
BDkEIABBBDUEQgQ4BAAAIQQ1BEIENQQyBDAETwQgADoEMARABEIEMAQgAFIAZQBhAGwAdABlAGsA 
IABSAFQATAA4ADEANgA4AEQALwA4ADEAMQAxAEQAIABGAGEAbQBpAGwAeQAgAFAAQwBJAC0ARQAg 
AEcAaQBnAGEAYgBpAHQAIABFAHQAaABlAHIAbgBlAHQAIABOAEkAQwAgACgATgBEAEkAUwAgADYA 
LgAyADAAKQAAAEayexxf+HVDqUBOWksJUb4AACEENQRCBEwEIAAgADMAAAAAAAAAAAAAAAAA
When I try to open this LNK, I get "object not found" message, and I get the same message from quick view for this LNK. I think that quick view should resolve LNK target silently w/o any error messages.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39728
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [9.50b4] Quick view for LNK shows error messages

Post by *ghisler(Author) »

Quick view cannot show data from such a destination. What should it show instead?
Author of Total Commander
http://www.ghisler.com

User avatar
MVV
Power Member
Power Member
Posts: 8488
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: [9.50b4] Quick view for LNK shows error messages

Post by *MVV »

Well, I think that for LNK (that matches QuickViewFollowLinks option) you should:
1. Show target file/folder if available,
2. Show LNK file using a plugin like LinkInfo (if one exists that accepts LNK files).
3. Show error text just in quick view window (but if user tries to switch view mode, perhaps show LNK file contents).

User avatar
MVV
Power Member
Power Member
Posts: 8488
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: [9.50b4] Quick view for LNK shows error messages

Post by *MVV »

Works fine in 9.50b5, thanks!

Post Reply