|  05-05-2019, 10:13 AM | #1 | 
| Enthusiast  Posts: 48 Karma: 10 Join Date: Mar 2008 Device: HTC-p3000 |  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> 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;
}Code: ... con l’Amulet</p> <p> oPoco...  This does *not* happen without the "drop-caps CSS fragment. | 
|   |   | 
|  05-05-2019, 11:24 AM | #2 | 
| Grand Sorcerer            Posts: 28,882 Karma: 207000000 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.
		 | 
|   |   | 
|  05-05-2019, 11:45 AM | #3 | 
| A Hairy Wizard            Posts: 3,395 Karma: 20212733 Join Date: Dec 2012 Location: Charleston, SC today Device: iPhone 15/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
		 | 
|   |   | 
|  05-05-2019, 03:04 PM | #4 | 
| Bibliophagist            Posts: 48,089 Karma: 174315300 Join Date: Jul 2010 Location: Vancouver Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos | |
|   |   | 
|  05-05-2019, 06:10 PM | #5 | |
| null operator (he/him)            Posts: 22,010 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | Quote: 
 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 | |
|   |   | 
|  05-09-2019, 03:48 PM | #6 | 
| Enthusiast  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. | 
|   |   | 
|  05-09-2019, 04:25 PM | #7 | ||
| Grand Sorcerer            Posts: 28,882 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | Quote: 
 Quote: 
 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. | ||
|   |   | 
|  05-09-2019, 05:04 PM | #8 | 
| Enthusiast  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. | 
|   |   | 
|  05-09-2019, 05:15 PM | #9 | 
| Wizard            Posts: 1,086 Karma: 6719822 Join Date: Jul 2012 Device: Palm Pilot M105 | |
|   |   | 
|  05-09-2019, 05:21 PM | #10 | 
| Grand Sorcerer            Posts: 28,882 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | |
|   |   | 
|  05-09-2019, 05:39 PM | #11 | 
| Sigil Developer            Posts: 9,071 Karma: 6361556 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. | 
|   |   | 
|  05-09-2019, 06:09 PM | #12 | 
| Grand Sorcerer            Posts: 28,882 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | 
			
			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.
		 | 
|   |   | 
|  05-10-2019, 01:47 AM | #13 | |
| just an egg            Posts: 1,848 Karma: 8006346 Join Date: Mar 2015 Device: Kindle, iOS | Quote: 
 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. | |
|   |   | 
|  05-10-2019, 08:28 AM | #14 | 
| Hedge Wizard            Posts: 802 Karma: 19999999 Join Date: May 2011 Location: UK/Philippines Device: Kobo Touch, Nook Simple | |
|   |   | 
|  05-18-2019, 02:13 PM | #15 | |
| Bookmaker & Cat Slave            Posts: 11,503 Karma: 158448243 Join Date: Apr 2010 Location: Phoenix, AZ Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2 | Quote: 
 Hitch | |
|   |   | 
|  | 
| Tags | 
| book view, bug report, drop caps, editing | 
| 
 | 
|  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 | 
| Firmware Update Found a strange bug in 2.5.3 | Pokesomi | Amazon Kindle | 4 | 06-21-2010 05:39 PM |