Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-05-2019, 10:13 AM   #1
ZioNemo
Enthusiast
ZioNemo began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
Exclamation Strange bug editing in BookView

I am unsure if this is the right place to report this kind of bugs.
Please feel free to redirect me as needed.

A minimal example to reproduce the bug is:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link href="../Styles/Style0001.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<div class="scene">
<p>Jona era appena uscito che il Sacerdote chiamò il suo Apprendista e dette una serie di ordini, poi tornò a parlare con l’Amuleto.<br/>Poco dopo una piccola processione composta dal Sacerdote...</p>
</div>
</body>
</html>
Together wit the following CSS fragment:
Code:
p:first-child:first-letter {
    float: left;
    font-size: 3em;
    line-height: 1;
    margin-bottom: -0.20em;
    margin-right: 0.05em;
    margin-top: -0.1em;
}
If you try to convert the newline (<br/>) to a proper paragraph (</p><p>) in BookView (i.e: cursor at end of first line, [del], [enter]) result is:
Code:
... con l’Amulet</p>
<p>&nbsp;oPoco...
which does not look right

This does *not* happen without the "drop-caps CSS fragment.
ZioNemo is offline   Reply With Quote
Old 05-05-2019, 11:24 AM   #2
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: 20,115
Karma: 103978634
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Lots of strange things happen when editing in Book View. That's why it's highly recommended that you don't do it.
DiapDealer is offline   Reply With Quote
Old 05-05-2019, 11:45 AM   #3
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 1,760
Karma: 11819190
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone X/6/iPad 1,2 & Air/Surface Pro/Kindle PW
Perhaps a large sticky..."Problems with editing in Book View"....with a single post "DON'T DO IT"...then close the thread??? lolz
Turtle91 is offline   Reply With Quote
Old 05-05-2019, 03:04 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 5,729
Karma: 25499999
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Aura One, Aura H2O, Aura HD, Nexus 7 HD, iPad Air, Tolino epos
Quote:
Originally Posted by Turtle91 View Post
Perhaps a large sticky..."Problems with editing in Book View"....with a single post "DON'T DO IT"...then close the thread??? lolz
I'd add "THIS MEANS YOU!".
DNSB is offline   Reply With Quote
Old 05-05-2019, 06:10 PM   #5
BetterRed
null operator
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: 13,024
Karma: 10793226
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Turtle91 View Post
Perhaps a large sticky..."Problems with editing in Book View"....with a single post "DON'T DO IT"...then close the thread??? lolz
A black on yellow warning in the status line would be better, probably with a link to an explanatory note, here or the Sigil Wiki.

The majority of people don't see the stickies (or Similar Threats). I often have to move inappropriate threads from calibre's Development sub-forum, despite the UPPER case sticky.

BR
BetterRed is offline   Reply With Quote
Old 05-09-2019, 03:48 PM   #6
ZioNemo
Enthusiast
ZioNemo began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
Sorry Sirs,
I do understand this is a volunteer project, but that's not an excuse to mock people having problem with it.

If editing in in Book View is not supported then, pretty please, disable it and make Book View read-only.

Today Sigil became unresponsive and I had to kill it.
Problem was it filled one of the files with 800k+ worth of "#160", choking (almost) to death.
I *might* have edited something while in Book View, but that doesn't seem a valid excuse for this behavior.

As said, if Book View is so buggy, PLEASE disable editing, for user's sake.
ZioNemo is offline   Reply With Quote
Old 05-09-2019, 04:25 PM   #7
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: 20,115
Karma: 103978634
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by ZioNemo View Post
Sorry Sirs,
I do understand this is a volunteer project, but that's not an excuse to mock people having problem with it.
Apologies. We sometimes assume everyone knows this because it's talked about all the time here at the support forums. It's a bit of a mantra: "don't use Book View for editing."

Quote:
Originally Posted by ZioNemo View Post
If editing in in Book View is not supported then, pretty please, disable it and make Book View read-only.
I'll do you one better: the next release of Sigil, will very likely be the last version that has Book View in it at all. After that, it will be gone.

But you can already stop using Book View and use the read-only Preview that has been a part of Sigil for a long, long time. Trying to make Book View read-only would be much more difficult that yanking it completely.

Last edited by DiapDealer; 05-09-2019 at 05:21 PM.
DiapDealer is offline   Reply With Quote
Old 05-09-2019, 05:04 PM   #8
ZioNemo
Enthusiast
ZioNemo began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
Thanks.

I found Preview a bit difficult to use because it resembles less to final aspect, but that's a minor issue.

If you plan to make it the default tool I suggest, if possible, to make it behave as the Book View; I mean: to have a toggle button switching from editing to preview and back, that would make it much less confucing (IMHO, of course).

Thanks.
ZioNemo is offline   Reply With Quote
Old 05-09-2019, 05:15 PM   #9
lumpynose
Addict
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 283
Karma: 1064114
Join Date: Jul 2012
Device: eBookMan EBM-900
Quote:
Originally Posted by DiapDealer View Post
I'll do you one better: the next release of Sigil, will very likely be the last version that has Book View in it at all. After that, it will be gone.
Please keep Preview!
lumpynose is offline   Reply With Quote
Old 05-09-2019, 05:21 PM   #10
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: 20,115
Karma: 103978634
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by lumpynose View Post
Please keep Preview!
Oh god, yes. Preview isn't going anywhere.
DiapDealer is offline   Reply With Quote
Old 05-09-2019, 05:39 PM   #11
KevinH
Wizard
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: 3,298
Karma: 1958102
Join Date: Nov 2009
Device: many
And Preview can be zoomed and resized at will. It is also dockable and therefore detachable.

Preview will not be hidden behind CodeView as that would simply defeat the purpose.

BookView is going away but a new standalone app called PageEdit is being actively developed to replace its functionality. It will be possible to launch a page using "Open With" in Sigil.
KevinH is offline   Reply With Quote
Old 05-09-2019, 06:09 PM   #12
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: 20,115
Karma: 103978634
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by ZioNemo View Post
Thanks.

I found Preview a bit difficult to use because it resembles less to final aspect, but that's a minor issue.
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.
DiapDealer is offline   Reply With Quote
Old 05-10-2019, 01:47 AM   #13
odamizu
maniac
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 842
Karma: 1831444
Join Date: Mar 2015
Device: Kindle Oasis1 & Voyage, iOS
Quote:
Originally Posted by ZioNemo View Post
... If you plan to make [Preview] the default tool I suggest, if possible, to make it behave as the Book View; I mean: to have a toggle button switching from editing to preview and back, that would make it much less confucing (IMHO, of course).
What's nice about Preview is you can have it open at the same time as Code View. You don't have to toggle back and forth.

As you type in Code View, the changes are automatically reflected in Preview.

You can have Preview as a docked pane to the right, left, above, or below Code View. Or you can undock it as a floating window.
odamizu is offline   Reply With Quote
Old 05-10-2019, 08:28 AM   #14
Thasaidon
Hedge Wizard
Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.
 
Thasaidon's Avatar
 
Posts: 401
Karma: 4004168
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
Quote:
Originally Posted by DiapDealer View Post
I'll do you one better: the next release of Sigil, will very likely be the last version that has Book View in it at all. After that, it will be gone.
Yay! Thank you.
Thasaidon is offline   Reply With Quote
Old 05-18-2019, 02:13 PM   #15
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 7,478
Karma: 68413397
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, and NookColor. 2 Droid, 1 Win8 ePUB rdrs
Quote:
Originally Posted by DiapDealer View Post
I'll do you one better: the next release of Sigil, will very likely be the last version that has Book View in it at all. After that, it will be gone.
Amen. That will stop a LOT of the "why doesn't this work" issues that we see here all the time and hopefully, will also put a stake in the heart of the whole "gee, this is a word-processor for eBooks" shtick that causes so much grief. Preview works GREAT.

Hitch
Hitch is offline   Reply With Quote
Reply

Tags
book view, bug report, drop caps, editing

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:29 AM.


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