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-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: 27,549
Karma: 193191846
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 online now   Reply With Quote
Advert
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: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
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: 35,388
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, 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 online now   Reply With Quote
Old 05-05-2019, 06:10 PM   #5
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,567
Karma: 26954694
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
Advert
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: 27,549
Karma: 193191846
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 online now   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
Wizard
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: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
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: 27,549
Karma: 193191846
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 online now   Reply With Quote
Old 05-09-2019, 05:39 PM   #11
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
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 online now   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: 27,549
Karma: 193191846
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 online now   Reply With Quote
Old 05-10-2019, 01:47 AM   #13
odamizu
just an egg
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: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, 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: 800
Karma: 19999999
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: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
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


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 02:33 PM.


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