This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

is anybody can help me about epub quick viewer?
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
netsking
Junior Member
Junior Member


Joined: 17 Dec 2003
Posts: 20

PostPosted: Fri Mar 20, 2015 5:55 pm    Post subject: is anybody can help me about epub quick viewer? Reply with quote

I have a problem quick view (Ctrl+q) epub, mobi, fb2 files with TC.
Here is my wincmd.ini lines of slister plugins and slister.ini
wincmd.ini
20=%COMMANDER_PATH%\PLUGINS\wlx\slister\slister.wlx
20_detect=MULTIMEDIA& (EXT="DJVU" | EXT="DJV"| EXT="XPS" | EXT="EPUB" | EXT="MOBI" | EXT="CBZ" | EXT="CBR")
silister.ini
[slister]
path=%COMMANDER_PATH%\utils\sumatrapdf\SumatraPDF.exe

the updated sumatraPDF.exe (v3.1) is in the slister plugin folder.
There is no problem for SumatraPDF to open epub, fb2 and mobil files.

I can use quick view to read "djvu" file, but not epub, fb2 and mobi files.

Any suggestion? Thanks a lot in advance for your help.
Back to top
View user's profile Send private message
milo1012
Power Member
Power Member


Joined: 02 Feb 2012
Posts: 1030

PostPosted: Fri Mar 20, 2015 7:59 pm    Post subject: Reply with quote

There's not much you can do.
It doesn't work for me too, and never did.

The problem is that slister "hooks" into the SumatraPDF window,
but in case of epub files SumatraPDF realigns the window to allow epub navigation.
Slister wasn't designed for that and doesn't find the window it expects.
So either contact the author of the plugin to fix it,
or the author of SumatraPDF to allow turning off that navigation mode.
_________________
TC plugins: PCREsearch and RegXtract
Back to top
View user's profile Send private message Send e-mail
netsking
Junior Member
Junior Member


Joined: 17 Dec 2003
Posts: 20

PostPosted: Fri Mar 20, 2015 9:07 pm    Post subject: Reply with quote

Milo1012, thanks a lot for your reply.
That's too bad if this is the real reason.
I guess it may cause by other reasons, i.e., too many plugins.
I tried to limit plugins with tc plugin manager which I got in here.
So far, has a little progress.
I can only view mobi which was downloaded from manybooks.net.
Actually, other two were download from the same site of the same novel in epub and fb2.

A little bit wired.
Back to top
View user's profile Send private message
milo1012
Power Member
Power Member


Joined: 02 Feb 2012
Posts: 1030

PostPosted: Fri Mar 20, 2015 9:19 pm    Post subject: Reply with quote

Believe me, I've seen the source code of slister, and there is no doubt about it.
Having many plugins isn't the problem, since Lister plugins are only loaded when needed,
and I can reproduce the problem with any configuration

The author *may* fix this by observing what SumatraPdf does in the newer versions,
but considering that the plugin wasn't updated in more than three years I doubt that.
_________________
TC plugins: PCREsearch and RegXtract
Back to top
View user's profile Send private message Send e-mail
Horst.Epp
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 2653
Location: Germany

PostPosted: Sat Mar 21, 2015 3:25 am    Post subject: Reply with quote

The actual SumatraPDF together with SLister has no problems to show EPUB files.
I use the x64 version 1.1.2 of SLister.

SumatraPDF is downloaded and installed from:
http://xhmikosr.1f0.de/sumatrapdf/

SLister.ini just contains:

[slister]
path=c:\Program Files\SumatraPDF\SumatraPDF.exe
Back to top
View user's profile Send private message
sqa_wizard
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 3283
Location: Germany

PostPosted: Sat Mar 21, 2015 6:02 am    Post subject: Reply with quote

netsking: Is it really slister who opens the epub file?
I ask, because your wincmd.ini entry is 20th in row.
May another lister plugin feels responsible for epub first!

Just press F3 on the epub file to open lister.
The name of the currently used plugin is shown at the window title ...
_________________
#5767 Personal license
Back to top
View user's profile Send private message
milo1012
Power Member
Power Member


Joined: 02 Feb 2012
Posts: 1030

PostPosted: Sat Mar 21, 2015 6:14 am    Post subject: Reply with quote

Horst.Epp wrote:
The actual SumatraPDF together with SLister has no problems to show EPUB files.
I use the x64 version 1.1.2 of SLister.

No it doesn't, no matter if using 3.0 or 3.1 pre.
I don't know what epub files you're using, but none of mine works.
I haven't tested the x64 version yet, but the 32bit version,
but there shouldn't be any difference since it's the same source.

The problem remains as I described it.
CBZ files are zip files, just like epub, but the first one work w/o problems
while the latter can't be hooked with slister due to the different window setup.

And to clarify: we're talking about quick view (CTRL+Q), F3 lister works normally.

sqa_wizard wrote:
Is it really slister who opens the epub file?...May another lister plugin feels responsible for epub first!

I tested under a clean TC install with slister being the only plugin -> no difference.
_________________
TC plugins: PCREsearch and RegXtract
Back to top
View user's profile Send private message Send e-mail
nsp
Power Member
Power Member


Joined: 04 Dec 2005
Posts: 1129
Location: Lyon (FRANCE)

PostPosted: Sat Mar 21, 2015 8:56 am    Post subject: Reply with quote

milo1012 wrote:

No it doesn't, no matter if using 3.0 or 3.1 pre.
I don't know what epub files you're using, but none of mine works.
.......
I tested under a clean TC install with slister being the only plugin -> no difference.

I'm using sumatrapdf from zeniko it is version 3.1 32bit. It is installed on the same folder as slister !
All works for most of my epub but the one that contain bookmarks from calibre (META-INF\calibre_bookmarks.txt) are viewed corectly with F3 but not in Quickview.
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Horst.Epp
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 2653
Location: Germany

PostPosted: Sat Mar 21, 2015 10:09 am    Post subject: Reply with quote

Quickview of mobi files works fine, but not epub.
I guess he reason is that epubs are zip files.

The same plugins work fine with QuickView in FreeCommander
UnrealCommander and DoubleCommander.

So the problem is TC itself and its handling of such files.
Back to top
View user's profile Send private message
milo1012
Power Member
Power Member


Joined: 02 Feb 2012
Posts: 1030

PostPosted: Sat Mar 21, 2015 10:51 am    Post subject: Reply with quote

Horst.Epp wrote:
I guess he reason is that epubs are zip files.

I already said that this can't be the reason, since CBZ files are zip too.
Also it wouldn't work for some rare epub files if it would be some general "detection" problem.

Horst.Epp wrote:
The same plugins work fine with QuickView in FreeCommander
UnrealCommander and DoubleCommander.

Compatibility with these program count, because...?

Horst.Epp wrote:
So the problem is TC itself and its handling of such files.

You don't know that. I think it's some glitch in slister interfacing with TC.
In any case, only the author can investigate it, but one could debug the source code though.
From a first look at the source it seems that some epub files trigger different functions in SumatraPDF,
which makes the Window handles created by CreateWindow() unable to hook in TC's lister context.
_________________
TC plugins: PCREsearch and RegXtract
Back to top
View user's profile Send private message Send e-mail
Horst.Epp
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 2653
Location: Germany

PostPosted: Sat Mar 21, 2015 11:02 am    Post subject: Reply with quote

milo1012 wrote:
.
...
Horst.Epp wrote:
The same plugins work fine with QuickView in FreeCommander
UnrealCommander and DoubleCommander.

Compatibility with these program count, because...?

Because they are using the same SLister plugin and SumatraPDF combination.
Back to top
View user's profile Send private message
netsking
Junior Member
Junior Member


Joined: 17 Dec 2003
Posts: 20

PostPosted: Sat Mar 21, 2015 11:15 am    Post subject: Reply with quote

sqa_wizard wrote:
netsking: Is it really slister who opens the epub file?
I ask, because your wincmd.ini entry is 20th in row.
May another lister plugin feels responsible for epub first!

Just press F3 on the epub file to open lister.
The name of the currently used plugin is shown at the window title ...


I've searched epub in wincmd.ini, only in slister has this.
Back to top
View user's profile Send private message
netsking
Junior Member
Junior Member


Joined: 17 Dec 2003
Posts: 20

PostPosted: Sat Mar 21, 2015 11:18 am    Post subject: Reply with quote

[quote="milo1012"]
Horst.Epp wrote:
... the 32bit version,
but there shouldn't be any difference since it's the same source.

The problem remains as I described it.

And to clarify: we're talking about quick view (CTRL+Q), F3 lister works normally.


I use 32bit version on 64 bit computer. Does this cause the problem?
Back to top
View user's profile Send private message
netsking
Junior Member
Junior Member


Joined: 17 Dec 2003
Posts: 20

PostPosted: Sat Mar 21, 2015 11:22 am    Post subject: Reply with quote

milo1012, Thanks a lot. I will give up to continue try unenable other plugins. Just accept it as is. Maybe when new TC release, there is a way to quick view epub file.
Back to top
View user's profile Send private message
netsking
Junior Member
Junior Member


Joined: 17 Dec 2003
Posts: 20

PostPosted: Sat Mar 21, 2015 11:23 am    Post subject: Reply with quote

Thanks all of you to answer my question.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group