Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-24-2019, 02:01 AM   #16
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 668
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by DiapDealer View Post
I'm afraid I don't follow. There's no difference in how Book View renders compared to Preview. Other than being able to edit, there's no difference between the two. They use the exact same QtWebKit renderer.
Except that sometimes Preview fails to scroll and is stuck at the top of the file, not in sync with the code window. So I often do a quick F2 .... F2 after entering some code to confirm it worked as expected.
AlanHK is offline   Reply With Quote
Old 05-24-2019, 09:32 AM   #17
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
Not unless the cursor is not inside a local element, it reverts to its parent being the body tag which is the top of the file. So simply move the cursor to a local element and click.
KevinH is online now   Reply With Quote
Old 05-24-2019, 10:21 AM   #18
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
AlanHK always forgets to mention that he's using the Windows Legacy version of Sigil that's still built with Qt5.6.2, Community WebKit, and Python 3.4.x. Not to say that the same thing won't happen in the official latest version of Sigil, but until it's verified that it does ... apples and oranges.

Besides ... "Preview sometimes doesn't scroll" is hardly relevant to the portion of my post he quoted where I talked about how Preview and Book View both render the same code the same (because they use the same rendering engine).

Last edited by DiapDealer; 05-24-2019 at 10:27 AM.
DiapDealer is offline   Reply With Quote
Old 05-25-2019, 04:43 AM   #19
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 668
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by DiapDealer View Post
Not to say that the same thing won't happen in the official latest version of Sigil, but until it's verified that it does ... apples and oranges.
All I know is what happens on my PC. I'd be rather surprised if this was something that depended on the version of Qt.

Quote:
Originally Posted by DiapDealer View Post
Besides ... "Preview sometimes doesn't scroll" is hardly relevant to the portion of my post he quoted where I talked about how Preview and Book View both render the same code the same (because they use the same rendering engine).
I didn't say they don't render the same, it's how they react.

But actually, now I know that it syncs up with the cursor, and not the visible code which is what I expected, it's more explicable, though still rather frustrating, for me at least.

When I am editing in codeview, my cursor is usually in the para I'm editing and want to preview so the Bookview will sync (and so will the preview).

But if I'm scrolling through the code (using mousewheel or scrollbar), the preview does not move, and if I switch over to it, it jumps back to the start; if I click in it it pulls the code page back to the start and I lose my position there too. So I blamed the preview, when it actually affects both "views".

Now I know it's all about the cursor, a workaround is always click in the text to put the cursor where you want to preview. If I use pageup/down to jump the cursor, it does sync, but not smoothly, a lag of a second. So here bookview is preferable: I can scroll through it smoothly, put the cursor in the text, F2 and be in the code. Disclaimer: maybe this is due to my own setup, YMMV.

Not that my preference matters, but I think it would be more intuitive if the preview display synced with the visible code screen, not wherever the cursor is, which is usually at the top of the file if you scrolled without clicking in the page.
AlanHK is offline   Reply With Quote
Old 05-25-2019, 03:23 PM   #20
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Alan
Your jump is caused by not having the cursor insert point move with the scroll. If you just click in the text area (before clicking on the preview) , the preview syncs to that point
theducks is online now   Reply With Quote
Old 05-25-2019, 09:35 PM   #21
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
If you scroll the Codeview or Preview window with the mouse wheel you can bring the other one into sync by clicking in the window you're scrolling - that's simple enough. If you're scrolling by clicking in a scroll bar (does anyone actually do that) or sliding a scroll button it's the same, click in the window you were scrolling to bring the other window into synch.

But if you use the up/down Arrow or Page up/down keys to scroll you have to grab the mouse and click in the window in which you were using up/down Arrow or Page up/down keys - not as simple, and its easy to click in the wrong one and 'lose' your place. I'm keyboard centric, so this happens to me quite often.



It maybe worth noting how the calibre editor behaves in this regard.

If its Codeview or Preview windows are scrolled with the mouse wheel the other one is not kept in sync - i.e it's the same as Sigil, as is the scroll bar behaviour.

However, the Preview window never seems to retain keyboard focus. even if one clicks in it, i.e. the Codeview window always retains keyboard focus. So, the up/down Arrow or Page up/down keys always operate on the Codeview window, and in this instance the Preview window is kept in synch with the Codeview window.

Not being able scroll the Preview window via the keyboard is a negative for me, and it's not compensated by the fact that the Preview window does sync with Codeview if the up/down keys are used. In fact I find it quite irritating; a page of code is often a lot more than a page of content. So, when I press Page down the Preview window may sit there like stunned mullet, or it may move by some apparently arbitrary amount.

BR
BetterRed is offline   Reply With Quote
Old 05-26-2019, 06:06 AM   #22
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by AlanHK View Post
I didn't say they don't render the same, it's how they react.
Which makes it even odder that you quoted my post that was addressing rendering. If you weren't responding to the conversation about rendering, why did you quote my content which was dealing solely with how the two render?
DiapDealer is offline   Reply With Quote
Reply

Tags
book view, bug report, drop caps, editing


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange bug after switching from another app tetrault Sigil 3 07-08-2017 09:13 PM
Calibre 2.6/7 strange bug with copying alexsz Devices 9 05-13-2017 02:06 PM
Strange issues when editing Comments and Annotations fields brainvision Calibre 5 11-02-2013 03:54 PM
Strange highlighting issue (bug?) jovercash Sigil 1 12-04-2012 02:02 PM
Firmware Update Found a strange bug in 2.5.3 Pokesomi Amazon Kindle 4 06-21-2010 05:39 PM


All times are GMT -4. The time now is 08:12 AM.


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