Integrated Sumatra PDF based Lister plug-in (wlx)

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

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

Post by *MVV »

SetWindowLongPtr should be used to set all pointer-like windows attributes because it accepts 64-bit values (when you compile 32-bit code, it is replaced with SetWindowLong automatically: please read note in function description). And, GWLP_* constants are only for SetWindowLongPtr call, SetWindowLong is still operates with old GWL_* ones.

Perhaps that object is not used or used for some specific cases, otherwise it would definitely cause crash while calling function via truncated pointer.
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

If someone could continue this plugin, that would be great, slister has some bugs when using quickview and it doesn't extract thumbs while this does, but slister supports all formats sumatra does, upgrading this with the latest sumatra code r8687 would be a must not just for the extra formats but there are a few serious bugs (vulnerabilities) in it
https://www.google.com/search?q=SumatraPDF+site:secunia.com
krasusczak
Senior Member
Senior Member
Posts: 282
Joined: 2011-09-23, 10:35 UTC

Post by *krasusczak »

Yesterday author of SumatraPDF update main version to 2.5.1, so if anyone could update this to newest stable 2.5.1 version & add all supported formats from main version that will be grate :)
Last edited by krasusczak on 2014-05-07, 08:57 UTC, edited 1 time in total.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

iana wrote:If someone could continue this plugin, that would be great, slister has some bugs when using quickview and it doesn't extract thumbs while this does, but slister supports all formats sumatra does, upgrading this with the latest sumatra code r8687 would be a must not just for the extra formats but there are a few serious bugs (vulnerabilities) in it
https://www.google.com/search?q=SumatraPDF+site:secunia.com
What bugs do you have in quickview with SLister ?
I use the actual x64 version 1.1.2 configured to use the actual SumtraPDF
and all formats it supports.
Never had any problems with it.
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

the slister bug is rather old it's been discussed here
http://ghisler.ch/board/viewtopic.php?p=263227#263227

in quickview using slister hangs TC, you can find more info on the link above

ps
an interesting read
http://secunia.com/vulnerability-review/pdf_security.html

SumatraPDF has zero vulnrabileties compared to Acrobat's 67
Kyles
Junior Member
Junior Member
Posts: 22
Joined: 2014-04-01, 01:58 UTC

Post by *Kyles »

By the way, sLister 1.1.2 32bit can press Esc To Exit.
But, sLister 1.1.2 64bit can NOT press Esc To Exit.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Kyles wrote:By the way, sLister 1.1.2 32bit can press Esc To Exit.
But, sLister 1.1.2 64bit can NOT press Esc To Exit.
It can ! :D
Look under Settings / Advanced Options and set
EscToExit = true
Kyles
Junior Member
Junior Member
Posts: 22
Joined: 2014-04-01, 01:58 UTC

Post by *Kyles »

Horst.Epp wrote: It can ! :D
Look under Settings / Advanced Options and set
EscToExit = true
SumatraPDF.exe can press Esc To Exit, if set EscToExit = true in SumatraPDF-settings.txt

sLister 1.1.2 32bit can press Esc To Exit, no matter whether true or false.

But, sLister 1.1.2 64bit can NOT press Esc To Exit, no matter whether true or false.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Kyles wrote:
Horst.Epp wrote: It can ! :D
Look under Settings / Advanced Options and set
EscToExit = true
SumatraPDF.exe can press Esc To Exit, if set EscToExit = true in SumatraPDF-settings.txt

sLister 1.1.2 32bit can press Esc To Exit, no matter whether true or false.

But, sLister 1.1.2 64bit can NOT press Esc To Exit, no matter whether true or false.
For me it works !!! whatever you say
I have configured my installed (and actual) x64 SumatraPDF in SLister.ini.
I never use the old exe delivered with SLister.
Why should I do that ?
So as I said it works and this is no a feature of the Slister plugin,
its handled by SumatraPDF.exe.
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

But, sLister 1.1.2 64bit can NOT press Esc To Exit, no matter whether true or false.
I believe the esc to exit feature is fairly new to sumatrapdf, where did you get the 64bit version or are you using the 32bit version with 64bit slister (it should be doable)?
The 64bit that came with the 64bit slister is ancient and needs updating.

zeniko only has an installable 64 available from
http://zeniko.ch/#SumatraPDF

get an updated version from
http://xhmikosr.1f0.de/sumatrapdf/

update your Sumatra, check the slister ini to see if the proper version is called.
Kyles
Junior Member
Junior Member
Posts: 22
Joined: 2014-04-01, 01:58 UTC

Post by *Kyles »

iana wrote: get an updated version from
http://xhmikosr.1f0.de/sumatrapdf/

update your Sumatra, check the slister ini to see if the proper version is called.
Thanks for your advice! I always download the latest of SumatraPDF from http://blog.kowalczyk.info/ for sLister.. It seems 32bit only.

Was: sLister 1.1.2 64bit + SumatraPDF 2.5.1 from http://blog.kowalczyk.info/
=> It can NOT press Esc To Exit.

Is: sLister 1.1.2 64bit + SumatraPDF-2.6-x64.exe from http://xhmikosr.1f0.de/sumatrapdf/
=> It can press Esc To Exit now!
_92
Junior Member
Junior Member
Posts: 11
Joined: 2012-07-26, 03:00 UTC
Location: ufa russia

Post by *_92 »

plug-in has not been updated for a long time
although the sumatrapdf already the third version
KalRoz
New Member
New Member
Posts: 1
Joined: 2016-12-06, 16:51 UTC

Esc on exit

Post by *KalRoz »

It's working only with the old version. Very strange!
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Esc on exit

Post by *Horst.Epp »

KalRoz wrote:It's working only with the old version. Very strange!
SLister works here with the actual SumatraPDF version 3.1.2 without problems.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Kungergely
Junior Member
Junior Member
Posts: 2
Joined: 2018-01-02, 09:48 UTC

Re: Recompiled for x64 - SumatraPDF.wlx64

Post by *Kungergely »

milo1012 wrote:Topic back to the original SumatraPDF.wlx Plugin:

Since I'm trying to migrate all my plugins to 64bit I was bothered that there's just the x32 version of it.
So I did a quick recompile for x64 and integrated the original SumatraPDF source (r2072):

(I also did a recompile for the x32 version, probably no real differences,
but I had the newest updates installed for MSVC 2008, so maybe some security fixes,
also it's not compressed with UPX or similar, contrary to the original binary, so do it yourself if you like.)
Just out of curiosity: why can't this file be made available at totalcmd.n|et/plugring/sumatra.html ?
Last edited by Kungergely on 2018-01-02, 12:56 UTC, edited 1 time in total.
Post Reply