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 06-18-2010, 07:24 PM   #1
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Sigil 0.2.1

OK, I just pushed the (not so) small bugfix release before my several week coding pause. Blog post with details here.
Valloric is offline   Reply With Quote
Old 06-18-2010, 07:58 PM   #2
zelda_pinwheel
zeldinha zippy zeldissima
zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.
 
zelda_pinwheel's Avatar
 
Posts: 27,828
Karma: 908606
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
thanks valloric ! downloading immediately. i hope you'll be sleeping at least a little bit during your coming code-free weeks.
zelda_pinwheel is offline   Reply With Quote
Old 06-18-2010, 08:13 PM   #3
theducks
Grand Sorcerer
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: 14,095
Karma: 5468860
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Wow!

Thanks for the hard work.
theducks is online now   Reply With Quote
Old 06-19-2010, 10:10 AM   #4
theducks
Grand Sorcerer
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: 14,095
Karma: 5468860
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
I am good at breaking Sigil ( .2.1 on XP SP3)

Single tab edits in code view still reverting when switching to book view. (does selecting text R to L, for edits, affect things differently? Seems if I selected text L to R, no problems.)

Consecutive S+R's (down) ALL HTML hangs on second (from start point) pass with tabs already open (caret is at /near bottom of pages from previous S&R). (Process explorer shows no CPU cycles being used)

Unknown hangs on Save?
theducks is online now   Reply With Quote
Old 06-19-2010, 10:33 AM   #5
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by theducks View Post
Single tab edits in code view still reverting when switching to book view. (does selecting text R to L, for edits, affect things differently? Seems if I selected text L to R, no problems.)
Please try to make it repeatable, then create a new issue on the tracker.

Quote:
Originally Posted by theducks View Post
Consecutive S+R's (down) ALL HTML hangs on second (from start point) pass with tabs already open (caret is at /near bottom of pages from previous S&R). (Process explorer shows no CPU cycles being used)
I have no idea what you just said here.

Quote:
Originally Posted by theducks View Post
Unknown hangs on Save?
Are you saying you've seen some hangs on save with 0.2.1?
Valloric is offline   Reply With Quote
Old 06-19-2010, 11:24 AM   #6
theducks
Grand Sorcerer
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: 14,095
Karma: 5468860
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Valloric View Post
Please try to make it repeatable, then create a new issue on the tracker.



I have no idea what you just said here.
If I select text moving Right to Left, and apply a "action" (Bold, Center...) it tends to revert.
If I select Left to Right and apply the action. It "Takes"

Quote:
Are you saying you've seen some hangs on save with 0.2.1?
Yes, Random. May be triggered by initiating a second save because I did not believe the first click was recognized . (an immediate "Saving" message would be nice. I know the "File Saved appears for a very Brief time.

Is it possible to add an "un-saved" mark (*) to any tab label with un-saved changes?
theducks is online now   Reply With Quote
Old 06-19-2010, 11:46 AM   #7
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by theducks View Post
If I select text moving Right to Left, and apply a "action" (Bold, Center...) it tends to revert.
If I select Left to Right and apply the action. It "Takes"
It works for me selecting text both ways. Try to make a repeatable, detailed, step-by-step procedure in a new issue on the tracker.

Quote:
Originally Posted by theducks View Post
Yes, Random. May be triggered by initiating a second save because I did not believe the first click was recognized . (an immediate "Saving" message would be nice. I know the "File Saved appears for a very Brief time.
I just rapidly saved a large epub file in quick succession multiple times, and it works just fine. No hang.

Again, I can't fix it if I can't reproduce it. Try to make a repeatable procedure.
Valloric is offline   Reply With Quote
Old 06-19-2010, 12:03 PM   #8
theducks
Grand Sorcerer
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: 14,095
Karma: 5468860
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Valloric View Post
It works for me selecting text both ways. Try to make a repeatable, detailed, step-by-step procedure in a new issue on the tracker.



I just rapidly saved a large epub file in quick succession multiple times, and it works just fine. No hang.

Again, I can't fix it if I can't reproduce it. Try to make a repeatable procedure.
Sigh!
There has to be something weird with my XP rig,
I seem to get this issue a lot.

Code view. I see my change(s) , Switch views and they are gone.

I have had "tidy" put things back if I did not get a tag exactly correct.
In this type of case, the edit did not break a tag pair /attribute
theducks is online now   Reply With Quote
Old 06-19-2010, 03:49 PM   #9
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by theducks View Post
Code view. I see my change(s) , Switch views and they are gone.
This is not a problem that has been reported before. There was a problem with F&R dialog replacements not sticking, but that should be fixed now.

Did you have this problem in 0.2.0 or did it just appear in 0.2.1?
Valloric is offline   Reply With Quote
Old 06-19-2010, 04:21 PM   #10
theducks
Grand Sorcerer
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: 14,095
Karma: 5468860
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Valloric View Post
This is not a problem that has been reported before. There was a problem with F&R dialog replacements not sticking, but that should be fixed now.

Did you have this problem in 0.2.0 or did it just appear in 0.2.1?
It appeared in 2.1, not the same as it was before, where clicking in a document locked in the S&R.
This was a simple edit (remove words).

It was so bad this morning (3 or 4 times it did it to me), I rolled back to 2.0 .

(First, I tried: Removed Sigil via the windows control panel.
The program files dir vanished as expected.
I then re-installed Sigil 2.1 (prior was done as upgrade).

No Joy.

Removed and installed 2.0

I will play with the Linux 2.1 later and see if it happens there.
theducks is online now   Reply With Quote
Old 06-19-2010, 05:00 PM   #11
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by theducks View Post
It appeared in 2.1, not the same as it was before, where clicking in a document locked in the S&R.
This was a simple edit (remove words).

It was so bad this morning (3 or 4 times it did it to me), I rolled back to 2.0 .
When it happened, were you working in Split View and then clicking between the two panes, or just switching directly between full Book View and full Code View?

The more information you can provide on what you were doing when it happened, the better. Did you use the shortcut to switch, or did you press the button in the menu or the toolbar? As much detail as possible, please.
Valloric is offline   Reply With Quote
Old 06-19-2010, 05:07 PM   #12
theducks
Grand Sorcerer
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: 14,095
Karma: 5468860
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Valloric View Post
When it happened, were you working in Split View and then clicking between the two panes, or just switching directly between full Book View and full Code View?
Not Split View

BTW I just tried a file I had trouble with on Windows on Ubuntu. No problem doing a task I tried many times to do on Windows version.

Got to be my system is bad Sigil is running slower than it was, when I first switched to 2. Beta
theducks is online now   Reply With Quote
Old 06-19-2010, 05:41 PM   #13
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by theducks View Post
BTW I just tried a file I had trouble with on Windows on Ubuntu. No problem doing a task I tried many times to do on Windows version.

Got to be my system
I was just about to say that it must be your system, for several reasons:
  1. Nothing changed in the way CV -> BV transition is preformed (or the other way around) between 0.2.0 and 0.2.1.
  2. I've been staring at the relevant pieces of code for the past hour, and there's just no way that you could make a change in CV, switch to BV and not have the changes applied there.
There are three content caches for HTML tabs, for performance reasons. There's the QWebPage which holds the rendered state of the HTML and is the main cache for Book View. When you type in BV, this is what you're changing. Then there's the QTextDocument which holds the syntax highlighted text for the Code View, and is its main cache. Again, you're editing this in CV. And then there's QDomDocument, which is the central, "neutral", DOM cache which represents the actual state of the HTML resource.

When you edit in a View and then leave the tab, Sigil catches the loss of focus on the tab and saves the changes from one of the secondary caches (QWebPage, QTextDocument) to the primary one (QDomDocument). When the tab regains focus or the user switches to it without giving it focus, the secondary cache of the current View is updated.

Now, when you switch between the Views, the primary cache is circumvented, and the changes are applied directly between the two secondaries (again, performance).

The absolutely only way that you could edit in CV, switch to BV and not have the changes transfer... well several things would need to happen:
  1. You'd have to find some unimaginable way of circumventing the secondary cache sync algos. Normally I'd say that was impossible: you can't click a button or the shortcut for switching views without invoking them. No way, period.
  2. Then you'd have to enter BV without being in CV before it... again, how exactly if you just pushed a button do it? But let's say you did, you'd now be entering BV as if the tab was just opened or the focus was in, say, the Book Browser and now the BV syncs from the primary cache.
  3. And then, the primary cache would need to out of date for the BV to sync to the "old" content. Again, impossible. Even if step 2 worked, and you left CV and entered BV by some freaky way, CV would still update the primary cache on losing focus.
Bottom line? The only way all of this could maybe (and that's a ridiculous maybe) happen is if your OS isn't sending focus events the way it should... or QtWebKit exploded... or whatever.

If you're seeing this behavior on one machine and not the other, then the first machine has more serious problems than Sigil.
Valloric is offline   Reply With Quote
Old 06-19-2010, 05:59 PM   #14
theducks
Grand Sorcerer
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: 14,095
Karma: 5468860
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Valloric View Post
I was just about to say that it must be your system, for several reasons:


If you're seeing this behavior on one machine and not the other, then the first machine has more serious problems than Sigil.
Thanks for looking.
Since no one else is griping, it must be my XP system

Now I got to figure what is wrong (reloading XP is a PITA) with this beast. as it pretty well works for most stuff.
theducks is online now   Reply With Quote
Old 06-20-2010, 06:03 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: 2,203
Karma: 11569469
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
No No It's Not Just Ducky! ME TOO!

Hold it, it's not just Ducky or theDucks.

This has happened to me repeatedly since yesterday when I downloaded 0.21, in fact last night when I was trying to get my &^%$#@ to validate on epub 1.05, I had to go back and make a crapload of changes, and they just don't...for lack of a better word, STICK. I have this problem repeatedly on S&R- if I make a change and close the s&r box, and, heavens forbid, change the view to WYSIWYG, the changes in cdodeview disappear and are not saved.

It is particularly egregious on s&r, although I have had it happen with manual changes, also. I made some s&r changes last night, saved it, ran the validator, and, kablammo!--same errors. Went back, looked, and the changes had quite simply "undone." It's like using CTRL-Z on a global basis.

@Ducky, you ain't alone, and @Valloric, it isn't something he's doing, at least, not uniquely.

I am running XP 32-bit.

Hitch
Hitch is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil 0.2.4 Valloric Sigil 16 09-09-2010 11:04 AM
Sigil 0.2.3 Valloric Sigil 16 06-25-2010 10:59 AM
Sigil Marc_liest Software 19 06-01-2010 12:59 AM
Sigil v0.1.5 Valloric Sigil 66 12-01-2009 06:55 PM
Sigil v0.1.2 Valloric Sigil 52 08-18-2009 03:15 AM


All times are GMT -4. The time now is 11:34 PM.


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