Integrated Sumatra PDF based Lister plug-in (wlx)
Moderators: Hacker, petermad, Stefan2, white
With changing the view between "fit page" and "fit to width", it also changes the view of pics in the listerplugin Imagine. Is there a way to avoid it?
The reason is, that your plugin also changes the entry "ShrinkBitmap" unter "[Lister]" in the wincmd.ini, while changing the views. This option also the Imagine plugin uses to save the view.
The reason is, that your plugin also changes the entry "ShrinkBitmap" unter "[Lister]" in the wincmd.ini, while changing the views. This option also the Imagine plugin uses to save the view.
#201591 Single user licence
This is by design. It's not Imagine that saves the view but Total Commander/Lister itself. See the Options -> Fit image to window. This way when you want to fit the files you view to the window it is consistent throughout Lister.Xnor wrote:With changing the view between "fit page" and "fit to width", it also changes the view of pics in the listerplugin Imagine. Is there a way to avoid it?
The reason is, that your plugin also changes the entry "ShrinkBitmap" unter "[Lister]" in the wincmd.ini, while changing the views. This option also the Imagine plugin uses to save the view.
damn, so I can't set to fit image to window for the Imagine plugin and to fit to width for this pluginj wrote:This is by design. It's not Imagine that saves the view but Total Commander/Lister itself. See the Options -> Fit image to window. This way when you want to fit the files you view to the window it is consistent throughout Lister.Xnor wrote:With changing the view between "fit page" and "fit to width", it also changes the view of pics in the listerplugin Imagine. Is there a way to avoid it?
The reason is, that your plugin also changes the entry "ShrinkBitmap" unter "[Lister]" in the wincmd.ini, while changing the views. This option also the Imagine plugin uses to save the view.

Isn't it possible to store that option in the lsplugin.ini, so the lister doesn't overwrite the "ShrinkBitmap" option while changing the view in this plugin?
#201591 Single user licence
Well Imagine as well as any other viewer that fully supports the wlx plug-in API...Xnor wrote:damn, so I can't set to fit image to window for the Imagine plugin and to fit to width for this plugin![]()
Isn't it possible to store that option in the lsplugin.ini, so the lister doesn't overwrite the "ShrinkBitmap" option while changing the view in this plugin?
It would be possible to not notify Lister that "Fit to window" was selected from the menu. Maybe I'll make a hidden option to disable it.
I would be deeply grateful if you could add it as an option.j wrote:Well Imagine as well as any other viewer that fully supports the wlx plug-in API...Xnor wrote:damn, so I can't set to fit image to window for the Imagine plugin and to fit to width for this plugin![]()
Isn't it possible to store that option in the lsplugin.ini, so the lister doesn't overwrite the "ShrinkBitmap" option while changing the view in this plugin?
It would be possible to not notify Lister that "Fit to window" was selected from the menu. Maybe I'll make a hidden option to disable it.
Something like that should be stored separate anyway. There are so many various plugins and for one I need this view and for another one another view. I guess the plugin API says to do it that way but I think it's a bit outdated in this point. The Multimedia mode in the Lister is not anymore for viewing images only. But I don't think there will be any changes in the lister.
#201591 Single user licence
that was fast ! :upj wrote:An option it is. Add a [face=courier]sendcommand=0[/face] to the [face=courier][SumatraPDF][/face]-secion of lsplugin.iniXnor wrote:I would be deeply grateful if you could add it as an option.
Version 0.8 should also fix the problem with the TOC on some documents.
the option works but then it also doesn't save the changed view anymore

#201591 Single user licence
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
If I open SUmatraPdf.wlx with FileInfo lister I see:
Can be possible to change the File/Product version: 1.2.0.0 / 1.2.0.0 to the right numbers. I ask this because e.g. TP Plugin Manager show the wrong version (1.2.0.0)
Code: Select all
File Version Information :
Version language : Inglese (Stati Uniti)
Comments : SumatraPDF.wlx viewer
CompanyName : j
FileDescription : SumatraPDF
FileVersion : 0.8.1
OriginalFilename : SumatraPDF.wlx
ProductName : SumatraPDF.wlx
ProductVersion : 0.8.1
Creation Date : 23/08/2010 09:43:50
Last Modif. Date : 23/08/2010 00:43:24
Last Access Date : 23/08/2010 09:43:51
FileSize : 1688576 bytes ( 1649.000 KB, 1.610 MB )
FileVersionInfoSize : 1236 bytes
File type : Application (0x1)
Target OS : Win32 API (Windows NT) (0x40004)
File/Product version : 1.2.0.0 / 1.2.0.0
Language : Inglese (Stati Uniti) (0x409)
Character Set : 1252 (ANSI - Latin 1 (US, Western Europe)) (0x4E4)
Build Information :
Debug Version : no
Patched Version : no
Prerelease Version : no
Private Version : no
Special Build : no