![]() |
#1 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Feb 2015
Device: Sony PRS-T1
|
Non-breaking space (doubled) bug
When i editing text in Book View and switch in Code View, all Non-breaking space are doubled.
I think this bug is since 0.8.3 Example: Original Code:
<p>Text1 Text2 Text3</p> Code:
<p>Text1 Text2 Text3</p> OS: aptosid x86_64 (based on Debian unstable) Sigil 0.8.4 (from DiapDealer) Edit: here a video https://drive.google.com/file/d/0ByD...ew?usp=sharing Last edited by Camelot; 02-13-2015 at 10:34 AM. Reason: edit video |
![]() |
![]() |
![]() |
#2 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
An earlier iteration of Sigil inserted a nbsp whenever you were in Page View and hit the space bar. Perhaps it's a feature (bug?) that has now returned.
|
![]() |
![]() |
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,487
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Well that's not good. Did you say this bug was introduced in 0.8.3 and did not exist in 0.8.2 or 0.8.1? Knowing that will help track it down.
Thanks, Kevin |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Feb 2015
Device: Sony PRS-T1
|
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,683
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
I tested this issue with the current 32/64bit 0.8.4 Windows and Linux builds and was only able to reproduce it with the 32/64bit Linux builds.
As a workaround, Linux users can do the following: 1. Select Edit > Preferences > Preserve Entities and add  . 2. Replace all occurrences of with  . |
![]() |
![]() |
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,360
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Out of curiosity, are both of you Linux users using my unofficial binary builds? Or have you built Sigil on your systems from source? I'd like to think it shouldn't make a difference, but you never can tell. |
|
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Feb 2015
Device: Sony PRS-T1
|
|
![]() |
![]() |
![]() |
#8 | |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Feb 2015
Device: Sony PRS-T1
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,360
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
![]() This doesn't sound like something that a specific gcc version or a Linux build process change would affect, but I'll try to eliminate that possibility a bit later on this day. |
|
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,683
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
On my Linux machines   is not repeated.
I tested your unofficial Linux and Windows legacy builds and only the 32/64 bit Linux builds had this problem. |
![]() |
![]() |
![]() |
#11 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,360
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Add the following in Code View: Code:
<p>Hey </p> Code:
Hey there Code:
<p>Hey there</p> |
|
![]() |
![]() |
![]() |
#12 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,683
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Maybe it has something to do with the fact that Sigil will automatically replace non-braking spaces in clipboard text with regular spaces. (At least, I was never able to copy and paste text that contained non-breaking spaces via the Windows clipboard.) @KevinH: Were you able to reproduce the OP's issue and DiapDealer's test case on your OSX machine? |
|
![]() |
![]() |
![]() |
#13 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Feb 2015
Device: Sony PRS-T1
|
I can reproduce with unoffizial sigil 64-bit versions 0.8.2 and 0.7.4 from DiapDealer.
Edit: No bug with 0.6.2 self compiled version. It's a QT 5 bug? Last edited by Camelot; 02-12-2015 at 12:14 PM. |
![]() |
![]() |
![]() |
#14 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,360
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Unfortunately, I cannot seem to reproduce the (or the  ) doubling issue on my Linux box (using the same binary build as doitsu and Camelot are). No matter what is in my Preserve Entities list, the named & hex non-breaking entities do not get doubled. They only get converted to normal spaces under the aforementioned situation (adding characters immediately following the space represented by the entity in Book View). |
|
![]() |
![]() |
![]() |
#15 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,683
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
IIRC, you're using an Ubuntu-based distro, which might have more recent system libraries. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Non-breaking space | JSWolf | ePub | 38 | 06-09-2020 09:00 PM |
Troubleshooting Kindle Touch and non-breaking space | utilitasetverita | Amazon Kindle | 4 | 09-05-2014 01:46 PM |
BUG: Calibre 2.0 E-Book Viewer ePub extra space display problem | trying | Calibre | 3 | 08-28-2014 07:56 AM |
Odd S&R with non breaking space | BobC | Editor | 2 | 07-30-2014 04:19 AM |
Bug with zero-width space Unicode | Peter Ahlstrom | Sigil | 8 | 02-28-2014 03:34 AM |