Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 08-20-2019, 08:24 AM   #1
Frenchguy
Enthusiast
Frenchguy began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Oct 2016
Device: none
Links in file preview

When you click on a link in the file preview, 2 cases :
- if the target file is already opened, you get to the precise target
- if the target file is not yet opened, then you get to the beginning of the file, not to the fnal target
Frenchguy is offline   Reply With Quote
Old 08-20-2019, 08:47 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I cannot replicate this. Do you have a sample book where the editor shows this behavior.
kovidgoyal is offline   Reply With Quote
Advert
Old 08-21-2019, 05:51 PM   #3
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,211
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Hi, @kovidgoyal.

It happens with every book here. As far as I can remember, it has always been like that.

My system: Windows 10 x64 1903, calibre 3.46, any epub file.

Steps to reproduce:

1) Close all files, then open 'fileA.xhtml'.
2) Click on a link in this file pointing to 'fileB.xhtml#someID'.
3) Calibre opens 'fileB.xhtml' and places the cursor on 'someID' on the code window, but the preview window always show the top of the file.
4) If you click inside the code window, then the preview syncs again.

On step 1), if you let 'fileB.xhtml' open, then it works perfectly. The problem is when the editor has to open the file and sync to a given location at the same time.

Last edited by thiago.eec; 08-22-2019 at 04:22 AM.
thiago.eec is offline   Reply With Quote
Old 08-22-2019, 12:48 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Ah OK, I didn't see it because I am using the editor from calibre 4, which has a re-written preview window using Qt WebEngine and does not suffer from this issue. So just wait for calibre 4, and you will be fine.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
File preview out of sync with editor Phssthpok Editor 6 06-01-2018 11:09 AM
No text in file preview Fritz571 Editor 7 10-10-2017 02:11 PM
File Preview Pane missing Telyt Editor 2 08-18-2014 01:15 PM
Problem after (once) closing the File Preview Britomart Editor 6 05-02-2014 01:21 AM
File Preview not working eschwartz Editor 10 02-02-2014 09:49 PM


All times are GMT -4. The time now is 02:47 AM.


MobileRead.com is a privately owned, operated and funded community.