TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
AkulaBig
Senior Member
Senior Member
Posts: 372
Joined: 2021-09-09, 17:28 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *AkulaBig »

MaxX wrote: 2023-07-16, 18:33 UTC TC x64 ver 10.52 or 11.0 RC1 + SumatraPDF.wlx64 1.5
4. TC hangs with no response...
I read and write through a translator, so I did not understand the order of your actions. I checked:
1. Clicked on the pdf file F3.
2. Pressed the number '4' on the keyboard and chose another plugin to view.
3. Closed browsing by Esc.
4. Entered cm_UnloadPlugins on the command line. Nothing happened.
5. Pressed F3 again and disabled plugins through the menu.
Again nothing happened.
What did I do wrong to reproduce your error?
And what version of SumatraPDF do you have?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6498
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *Horst.Epp »

2MaxX
Not confirmed
Plugin version 1.5 under Official Windows 11 and TC 11.00RC1
SumatraPDF 3.5.15481 x64
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *tuska »

2AkulaBig
Many thanks for TCSumatraPDF Plugin 1.5 - 16.07.2023!
All settings files are no longer overwritten during an upgrade!
Test scenario

Code: Select all

1. Ctrl+Q, Cursor up/down, Ctrl+Q
2. Ctr+Q,Tab,4,4,4..., Ctrl+Q
   x64: Ctrl+Q (sumatrapdf), Tab, 4 (slister x64), 4 (slister x86), 4 (uLister x64), 4 IrfanView, 4 (sumatrapdf), ...
   x86: Ctrl+Q (sumatrapdf), Tab, 4 (slister x86), 4 IrfanView, 4 (sumatrapdf), ...
3. F3: Lister (sumatrapdf), ESC
4. F3: Lister (sumatrapdf), 4,4,4,..., ESC
   x64: F3: Lister (sumatrapdf), 4 (slister x64), 4 (slister x86), 4 (uLister x64), 4 IrfanView, 4 (sumatrapdf), ...
   x86: F3: Lister (sumatrapdf), 4 (slister x86), 4 IrfanView, 4 (sumatrapdf), ...
5. Mark one PDF file -> F3: Lister (sumatrapdf): 'N' (next pdf page), 'P' (previous pdf page), ESC
6. Mark more than one PDF file -> F3: Lister (sumatrapdf): 'N' (next pdf file), 'P' (previous pdf file), ESC
Test results
x64 - SumatraPDF-3.4.6-64.exe

Code: Select all

%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF64.exe (renamed SumatraPDF-3.4.6-64.exe)
5.  Mark one PDF file -> F3: Lister (sumatrapdf): 'N' scrolls forward 2 pages, 'P' scrolls back 2 pages.
    E: Until it is fixed, one can use the Page Up/Page Down button.
    D: Bis zur Behebung kann man die Bild-nach-oben/Bild-nach-unten - Taste verwenden.
x86 - SumatraPDF-3.4.6-32.exe

Code: Select all

%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF.exe   (renamed SumatraPDF-3.4.6-32.exe)

2. Ctr+Q,Tab,4,4,4..., Ctrl+Q
   Target: Ctrl+Q (sumatrapdf), Tab, 4 (slister x86), 4 IrfanView, 4 (sumatrapdf), ...
   Actual: Ctrl+Q (sumatrapdf), Tab, 4 (slister x86), 4 STOPP (without IrfanView, 4 (sumatrapdf), ...)

   E: The 4 key can be pressed several times to select other plugins. 
      After it hits the sLister x86 plugin, further plugin selection with the 4 key is no longer possible
      and the Ctrl key does not work anymore.
      The problem here is NOT TCSumatraPDF but sLister x86 stops further execution.
      Select another PDF file in the opposite TC window enables Ctrl+Q again.
      
   D: Die Taste 4 kann mehrmals gedrückt werden um andere Plugins auszuwählen. 
      Nachdem es auf das sLister x86 Plugin trifft, ist eine weitere Pluginauswahl mit der Taste 4 nicht mehr möglich
      und die Strg-Taste funktioniert nicht mehr.
      Das Problem ist hier NICHT TCSumatraPDF sondern sLister x86 stoppt die weitere Durchführung.
      Im gegenüberliegenden TC-Fenster eine andere PDF-Datei auswählen ermöglicht Strg+Q wieder.

4. F3: Lister (sumatrapdf), 4,4,4,..., ESC
   Target: F3: Lister (sumatrapdf), 4 (slister x86), 4 IrfanView, 4 (sumatrapdf), ...
   Actual: F3: Lister (sumatrapdf), 4 (slister x86), 4 STOPP (without IrfanView, 4 (sumatrapdf), ...)
   
   E: The 4 key can be pressed several times to select other plugins. 
      After it hits the sLister x86 plugin, further plugin selection with the 4 key is no longer possible
      and the ESC key does not work anymore.
      The problem here is NOT TCSumatraPDF but sLister x86 stops further execution.
      Via the menu "Plugins" it is possible to switch to another applicable Lister plugin (.WLX).      

   D: Die Taste 4 kann mehrmals gedrückt werden um andere Plugins auszuwählen. 
      Nachdem es auf das sLister x86 Plugin trifft, ist eine weitere Pluginauswahl mit der Taste 4 nicht mehr möglich
      und die ESC-Taste funktioniert nicht mehr.
      Das Problem ist hier NICHT TCSumatraPDF sondern sLister x86 stoppt die weitere Durchführung.
      Über das Menü "Plugins" kann zu einem anderen zutreffenden Lister-Plugin (.WLX) gewechselt werden.

5.  Mark one PDF file -> F3: Lister (sumatrapdf): 'N' scrolls forward 2 pages, 'P' scrolls back 2 pages.
    E: Until it is fixed, one can use the Page Up/Page Down button.
    D: Bis zur Behebung kann man die Bild-nach-oben/Bild-nach-unten - Taste verwenden.
x64 - SumatraPDF-prerel-64_3.5.15481.exe

Code: Select all

%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF64.exe (renamed SumatraPDF-prerel-64_3.5.15481.exe)
E: After test case 1 aborted the test. I don't use a pdf pre-release. Adobe Acrobat 11.0 Version 11.0.23.22.
D: Nach Testfall 1 den Test abgebrochen. Eine pdf pre-release verwende ich nicht. Adobe Acrobat 11.0 Version 11.0.23.22.

C:\totalcmd\Plugins\wlx\TCSumatraPDF\SumatraPDF\crashinfo\...
---------------------------------------------------------------------
Name/Ext		Size		Date			Attr
---------------------------------------------------------------------
libmupdf.pdb		34 836 480	16.07.2023 21:42	-a--
SumatraPDF.pdb		43 814 912	16.07.2023 21:42	-a--
SumatraPDF-dll.pdb	15 749 120	16.07.2023 21:42	-a--
---------------------------------------------------------------------
AkulaBig wrote: 2023-07-16, 09:27 UTC
Horst.Epp wrote: 2023-07-16, 09:07 UTC - The key 4 switches to the next plugin.
If there are bookmarks and point 4 is in them, '4' is also used to navigate through the bookmarks.
E: Unfortunately, I do not understand that.
Can you please give an example (step-by-step)?

D: Das verstehe ich leider nicht.
Kannst Du bitte ein Beispiel (Schritt-für-Schritt) geben?


Windows 11 Pro (x64) Version 22H2 (OS build Build 22621.1992) | TC 11.00RC1 x64/x86
Last edited by tuska on 2023-07-17, 13:41 UTC, edited 1 time in total.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *tuska »

MaxX wrote: 2023-07-16, 18:33 UTC TC x64 ver 10.52 or 11.0 RC1 + SumatraPDF.wlx64 1.5

1. [F3] on any PDF, play with [4] button.
2. [Esc].
3. cm_UnloadPlugins.
4. TC hangs with no response...

Now you can only do "taskkill /f /im totalcmd64.exe" without any choices.
Not confirmed under TC 11.00RC1 x64 | Windows 11 Pro (x64) Version 22H2 (OS Build Build 22621.1992).
%COMMANDER_PATH%\Plugins\wlx\TCSumatraPDF\SumatraPDF\SumatraPDF64.exe (renamed SumatraPDF-3.4.6-64.exe)

Can you please use the command: CM_EXIT 1 ... and do the steps again?
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *MaxX »

AkulaBig wrote: 2023-07-16, 19:45 UTCWhat did I do wrong to reproduce your error?
And what version of SumatraPDF do you have?
SumatraPDF 3.1.1.0.10417z 32-bit build from Zeniko (the same exe for both path and path64).
Nothing to do. Just unload plugins.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *MaxX »

May be something in 11.0 RC1?
Ukrainian Total Commander Translator. Feedback and discuss.
AkulaBig
Senior Member
Senior Member
Posts: 372
Joined: 2021-09-09, 17:28 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *AkulaBig »

tuska wrote: 2023-07-16, 20:05 UTC 5. Mark one PDF file -> F3: Lister (sumatrapdf): 'N' scrolls forward 2 pages, 'P' scrolls back 2 pages.
Exactly. In version 3.1 and 3.2 it works correctly. I'll try to figure it out. And in a separate program, do these keys work for you at all? For some reason they don't work for me at all.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *tuska »

AkulaBig wrote: 2023-07-16, 20:42 UTC
tuska wrote: 2023-07-16, 20:05 UTC 5. Mark one PDF file -> F3: Lister (sumatrapdf): 'N' scrolls forward 2 pages, 'P' scrolls back 2 pages.
Exactly. In version 3.1 and 3.2 it works correctly. I'll try to figure it out. And in a separate program, do these keys work for you at all? For some reason they don't work for me at all.
'N' and 'P' work if I double-click on SumatraPDF-3.4.6-32.exe or SumatraPDF-3.4.6-64.exe and open a pdf file.
Even in SumatraPDF-prerel-64_3.5.15481.exe :wink:
AkulaBig
Senior Member
Senior Member
Posts: 372
Joined: 2021-09-09, 17:28 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *AkulaBig »

tuska wrote: 2023-07-16, 20:05 UTC E: Only one other plugin can be selected with number 4, after that the plugin selection stops.
I only press the '4' key. So as TC Lister iterates over plugins, it works. sLister works exactly the same. So that's how it should be.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *tuska »

AkulaBig wrote: 2023-07-16, 20:51 UTC
tuska wrote: 2023-07-16, 20:05 UTC E: Only one other plugin can be selected with number 4, after that the plugin selection stops.
I only press the '4' key. So as TC Lister iterates over plugins, it works. sLister works exactly the same. So that's how it should be.
OK, I just wanted to point out how it works in x86 (as opposed to x64).
AkulaBig
Senior Member
Senior Member
Posts: 372
Joined: 2021-09-09, 17:28 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *AkulaBig »

tuska wrote: 2023-07-16, 20:05 UTC SumatraPDF-prerel-64_3.5.15481.exe
I've had this version crash a few times. It also loses focus on Ctrl+Q. But my plugin has nothing to do with it.
AkulaBig
Senior Member
Senior Member
Posts: 372
Joined: 2021-09-09, 17:28 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *AkulaBig »

tuska wrote: 2023-07-16, 20:05 UTC E: Unfortunately, I do not understand that.
Can you please give an example (step-by-step)?
[img]https://i122.fastpic.org/thumb/2023/0716/21/3918eacfc668082b78004d7b4fe86421.jpeg[/img]
In a pdf-file where there are bookmarks, press the right mouse button and turn on Bookmarks. If they have item 4, then navigation can be done by pressing the 4 key.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *tuska »

AkulaBig wrote: 2023-07-16, 20:53 UTC
tuska wrote: 2023-07-16, 20:05 UTC SumatraPDF-prerel-64_3.5.15481.exe
I've had this version crash a few times. It also loses focus on Ctrl+Q. But my plugin has nothing to do with it.
Thank you for the explanation!
AkulaBig
Senior Member
Senior Member
Posts: 372
Joined: 2021-09-09, 17:28 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *AkulaBig »

MaxX wrote: 2023-07-16, 20:34 UTC May be something in 11.0 RC1?
I tested on 10.52. I'll try to test on 11.
AkulaBig
Senior Member
Senior Member
Posts: 372
Joined: 2021-09-09, 17:28 UTC

Re: TCSumatraPDF Plugin <-> sLister Plugin | SumatraPDF

Post by *AkulaBig »

tuska wrote: 2023-07-16, 20:48 UTC 'N' and 'P' work if I double-click on SumatraPDF-3.4.6-32.exe or SumatraPDF-3.4.6-64.exe and open a pdf file.
Even in SumatraPDF-prerel-64_3.5.15481.exe :wink:
They don’t work for me in these versions at all :( Maybe you need a setting in the configuration file?
Post Reply