Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-13-2016, 01:09 AM   #1
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
File Type Icon Disappearing in Book Browser

I'm not sure whether this has already been reported, but I've recently noticed that whenever I physically move an .xhtml file using drag and drop in the Text directory of the Book Browser in Sigil, the associated file type icon(Chrome Browser) completely disappears and the moved file ends up misaligned with no icon. All the other .xhtml files in the Book Browser display the correct file type icon. This isn't really a big deal but I just thought that I'ld mention it.

I'm using Windows 8 with Sigil 0.9.7

Last edited by slowsmile; 12-13-2016 at 01:29 AM.
slowsmile is offline   Reply With Quote
Old 12-13-2016, 04:10 AM   #2
theducks
Well trained by Cats
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: 30,942
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
It reappears when you 'save' (W10pro aniv)
theducks is offline   Reply With Quote
Old 12-13-2016, 08:23 AM   #3
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: 28,505
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Yes, it's been noticed and reported. Seems to be an innocuous Qt quirk that has crept in along the way. It's not new to the latest version of Sigil. There's lots of things that will makes the Book Browser icons disappear/come back. Haven't had time to see if there's anything we can do to work around the issue or not.
DiapDealer is offline   Reply With Quote
Old 12-13-2016, 03:18 PM   #4
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: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
OT a bit, this is on Windows 10 1511.

I have the Book Browser and the TOC panels docked as Tabs on the left edge. Of late, perhaps with the advent of Sigil 0.9.7, the TOC always takes priority when I start Sigil, whereas I'm sure the Book Browser (left most) took precedence at an earlier time.

So I now have to click the Book Browser tab to see the files, or toggle the BB off and on with Ctrl+Shift+B. I looked in the in sigil.ini for something to edit - but couldn't see anything likely. I tried reinstalling Sigil, I tried creating a fresh sigil-ebook in Appdata\Local and reconfiguring, I tried un-docking and re-docking the BB and TOC - all to no avail.

Anyone know of a way to fix this, other than removing the TOC from the left dock?

Click image for larger version

Name:	1.jpg
Views:	189
Size:	90.1 KB
ID:	153542


Regarding the disappearing icons - maybe provide an option to suppress them. IMO if the full file name is displayed, which it it is, the icons are akin to t**s on fish

BR

Last edited by BetterRed; 12-13-2016 at 03:27 PM.
BetterRed is offline   Reply With Quote
Old 12-13-2016, 03:48 PM   #5
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,702
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by BetterRed View Post
Anyone know of a way to fix this, other than removing the TOC from the left dock?
Actually, I didn't know that you can have two tabs left of the Code View window.

If you want to restore the default window positions:

1. Press ALT+F1 to hide the Book Browser.
2. Drag & drop the TOC Window right of the Code View window.
3. Press ALT+F1 to unhide the Book Browser window.

Alternatively, close Sigil, edit sigil.ini and delete the toolbars entry under [mainwindow].
Doitsu is offline   Reply With Quote
Old 12-13-2016, 04:15 PM   #6
MickiTee
Guru
MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.
 
MickiTee's Avatar
 
Posts: 860
Karma: 4097942
Join Date: Jun 2012
Location: London, UK
Device: Sony PRS-505, Pocketbook TL3, TL4, TL5
Quote:
Originally Posted by BetterRed View Post
I have the Book Browser and the TOC panels docked as Tabs on the left edge. Of late, perhaps with the advent of Sigil 0.9.7, the TOC always takes priority when I start Sigil, whereas I'm sure the Book Browser (left most) took precedence at an earlier time.

So I now have to click the Book Browser tab to see the files, or toggle the BB off and on with Ctrl+Shift+B. I looked in the in sigil.ini for something to edit - but couldn't see anything likely. I tried reinstalling Sigil, I tried creating a fresh sigil-ebook in Appdata\Local and reconfiguring, I tried un-docking and re-docking the BB and TOC - all to no avail.

Anyone know of a way to fix this, other than removing the TOC from the left dock? BR
I have three tabs (your two plus Clips) docked and Sigil has always defaulted to the Clips tab for as long as I've had this set-up - from V0.7.x onwards on a machine running Windows 7 32-bit. I've learnt to live with it as rearranging the tabs makes no difference.
MickiTee is offline   Reply With Quote
Old 12-13-2016, 05:18 PM   #7
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: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Doitsu View Post
Actually, I didn't know that you can have two tabs left of the Code View window.

If you want to restore the default window positions:

1. Press ALT+F1 to hide the Book Browser.
2. Drag & drop the TOC Window right of the Code View window.
3. Press ALT+F1 to unhide the Book Browser window.

Alternatively, close Sigil, edit sigil.ini and delete the toolbars entry under [mainwindow].
@Doitsu - thanks, but didn't I effectively do that by reinstalling and recreating a fresh config folder, After configuring to my taste (removing toolbars, setting fonts and colours, changing kb shorts etc) and docking the panels as I want them, I was back in the same boat.

BTW I always use F2 to do line item edits, so I always remove or disable the F1 key - permanently; if I'm editing a file name or a value in metadata edit a the last thing I need is to leap off to a help website or even look at a local CHM. So I have the kb short for show/hide BB toggle set to Shift+Ctrl+B.

In the calibre editor which I assume uses the same Qt docking feature as Sigil, I have configured the Files, Live CSS, and TOC panels to dock as tabs on the left edge in that LTR order. When it opens a file, the Files tab (left most) is shown. I don't recall doing anything specific to make that happen. Although I do recall it was a PITA to get the three tabs to show in that order, so I'm loathe to mess with it.

IMO the docking tabs badly need a context menu and kb shorts (move tab left/right, show next/prev tab, remove tab etc), I'm guessing Qt doesn't provide the hooks - like there's no tool tip on action items Ψ².

@MikiTee - hmmm, I'm almost certain the BB panel was shown when I opened an epub in the not too far distant past. I avoid using the mouse so I tend to notice this sort of thing. But I could mistaken. It would interesting to know on what basis Sigil (or Qt) decides which tab takes priority.

To overcome the 'problem' I removed the TOC panel. Alt+V followed by a couple of up-arrows is not that hard :lol:

BR
BetterRed is offline   Reply With Quote
Old 12-13-2016, 06:31 PM   #8
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: 28,505
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by BetterRed View Post
@[B]@MikiTee - hmmm, I'm almost certain the BB panel was shown when I opened an epub in the not too far distant past. I avoid using the mouse so I tend to notice this sort of thing. But I could mistaken. It would interesting to know on what basis Sigil (or Qt) decides which tab takes priority.
I believe it's Qt that decides. At least I can't find find any Sigil code that would prefer one widget over another whenever they're in a tabbed configuration. In a perfect world, the saveState()/restoreState() calls would remember which one was "on top" when Sigil was closed, and restore them to that state when Sigil was reopened. But it doesn't seem to work that way.
DiapDealer is offline   Reply With Quote
Old 12-13-2016, 10:26 PM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
save/restore does cause the order + current tab to be restored. As for getting them in a particular order, IIRC the way to do it is to add them to the panel in reverse order, that is, the last added tab will be the first one in the tab bar.
kovidgoyal is offline   Reply With Quote
Old 12-13-2016, 10:46 PM   #10
theducks
Well trained by Cats
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: 30,942
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Doitsu View Post
Actually, I didn't know that you can have two tabs left of the Code View window.

If you want to restore the default window positions:

1. Press ALT+F1 to hide the Book Browser.
2. Drag & drop the TOC Window right of the Code View window.
3. Press ALT+F1 to unhide the Book Browser window.

Alternatively, close Sigil, edit sigil.ini and delete the toolbars entry under [mainwindow].
Yep!
It takes some fussing, but it does tab. Same with Calibre
theducks is offline   Reply With Quote
Old 12-14-2016, 02:47 AM   #11
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: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Now I've given TOC View a rememberable (memorable ?) keyboard shortcut (Ctrl+Shift+T) I don't need to have the TOC permanently parked in a dock tab.

Quote:
Originally Posted by kovidgoyal View Post
save/restore does cause the order + current tab to be restored. As for getting them in a particular order, IIRC the way to do it is to add them to the panel in reverse order, that is, the last added tab will be the first one in the tab bar.
Yes that controls the order in which they appear, but it doesn't seem to affect which one is opened when Sigil (or the calibre editor) starts.

No matter what I do in Sigil regarding the order of two tabs, the TOC is always opened when Sigil starts, and if I have Clips in the same dock, it's always opened when Sigil starts - irrespective of the order of the three tabs. Which is what MickiTee reports.

Conversely no matter what I do in the calibre editor with respect to the order of the three tabs (Files, Live CSS, TOC) the Files Browser is always opened when the editor starts. Which makes sense because the calibre editor starts with no files open.

Is calibre's behaviour a fortuitous fluke, and Sigil's luckless misfortune? Or are both 'by design'? Starting with the TOC might make sense if one did most of one's editing in Book View?

BR

Last edited by BetterRed; 12-14-2016 at 02:52 AM.
BetterRed is offline   Reply With Quote
Old 12-14-2016, 06:59 AM   #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: 28,505
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by kovidgoyal View Post
save/restore does cause the order + current tab to be restored.
i would think that should be the case, but one dock widget always seems to be the "default" after restoreState is called. -- no matter which tabbed QDockWidget was current when saveState was called. Only the order (and the tabbed state itself, of course) seems to be being saved and/or restored. I'll keep looking for Sigil Code that might be in play after restoreState (or before saveState), but I sure haven't found any yet. Keep in mind that any tabbed dockwidget configurations are made by the user. Sigil doesn't tabify any dockwidgets programmatically.

Quote:
Originally Posted by kovidgoyal View Post
As for getting them in a particular order, IIRC the way to do it is to add them to the panel in reverse order, that is, the last added tab will be the first one in the tab bar.
Qt5.6+ allows the user to drag the tabs into desired order with the mouse, as well.

Last edited by DiapDealer; 12-14-2016 at 07:02 AM.
DiapDealer is offline   Reply With Quote
Old 12-14-2016, 07:41 AM   #13
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@BR -- IIRC calibre treats a few dock widgets specially, the File Browser being one, since it is cetral to the operation of the editor. Personally, I keep docked tabs on the right side, where the one that was the current tab when the editor was closed is always the one that is the current tab when it is restarted, at least for me.
kovidgoyal is offline   Reply With Quote
Old 12-14-2016, 07:43 AM   #14
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by DiapDealer View Post
i would think that should be the case, but one dock widget always seems to be the "default" after restoreState is called. -- no matter which tabbed QDockWidget was current when saveState was called. Only the order (and the tabbed state itself, of course) seems to be being saved and/or restored. I'll keep looking for Sigil Code that might be in play after restoreState (or before saveState), but I sure haven't found any yet. Keep in mind that any tabbed dockwidget configurations are made by the user. Sigil doesn't tabify any dockwidgets programmatically.
Haven't seen that myself -- one thing that comes to mind is if Sigil calls show/setVisible on some tabs explicitly, that might mess with the order.


Quote:
Qt5.6+ allows the user to drag the tabs into desired order with the mouse, as well.
That's good, though calibre will only move to Qt 5.6 for calibre 3.0
kovidgoyal is offline   Reply With Quote
Old 12-14-2016, 08:22 AM   #15
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: 28,505
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by kovidgoyal View Post
Haven't seen that myself -- one thing that comes to mind is if Sigil calls show/setVisible on some tabs explicitly, that might mess with the order.
That's a possibility. There's a lot of residual "workaround" code still in place for dealing with maximized window-state issues in Qt4.8. I've no idea if they're necessary or even relevant anymore.

Of the four Sigil dockwidgets that are tabbable, there definitely seems to be a very specific "pecking order" they honor whenever user-tabified dockwidgets are restored. That pecking order should probably be a pretty-good clue as to what's going on.

Thanks for the verification that "current tab" SHOULD be being restored, though. I couldn't find any hard-and-fast evidence in the documentation that that was indeed the case (though it makes sense that it should be). Knowing it should work is half the battle most times.
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Check book 'omits' message about large file (File browser) chaot Editor 1 06-02-2016 01:33 PM
Kindle Book with no file type holyfeld Library Management 1 09-22-2014 06:52 PM
Problem with Tag Browser Custom Icon for Languages MartyTX Library Management 1 02-03-2013 03:44 AM
Browser icon not displayed on menu bar Eddy R enTourage Archive 4 03-01-2011 04:19 PM
Display File Type and Sort by Type pragmortal Calibre 7 09-21-2009 08:07 PM


All times are GMT -4. The time now is 03:57 PM.


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