Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-29-2026, 01:29 PM   #91
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,479
Karma: 21000001
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
Most often I get a lot of open tabs when I am using a regex to jump through the ePub. Creating a bookmark every time before clicking “next” doesn’t sound very fun.
Turtle91 is offline   Reply With Quote
Old 03-29-2026, 01:44 PM   #92
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: 9,505
Karma: 6734148
Join Date: Nov 2009
Device: many
Okay, I have pushed the following to Sigil master:

- Becky's patch for ImageView.cpp so it fits image to the window and moved description to the top.

- use of actual times symbol in ResourceObjects/ImageResource.cpp so that it is used in GetInfo (again from BeckyEbook).

I have not implemented these changes in the ImageTab as I still want one way of seeing the image at its actual size. I will move its size information to the top though.

This is now in master.
KevinH is online now   Reply With Quote
Old 03-29-2026, 01:57 PM   #93
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: 9,505
Karma: 6734148
Join Date: Nov 2009
Device: many
And I just tested opening Chapter10 of Alice in Sigil, hitting Bookmark, then opening the css and when done editing it, I hit Return (and you can assign shortcuts to these) and it all worked as expected.

So the capability to remember a Tab and return to it is already implemented in Sigil.

Even better, if you right click on a class in CodeView in an open Tab, it will take you to the css tab for editing and right to that class definition and it ***auto sets the Bookmarkl!*** so just hitting the back Button (see the BookMark and Return toolbar or using shortcuts or menus) will bring you back to your previously open tab.

So all of the functionality being asked for already exists in Sigil and works.
KevinH is online now   Reply With Quote
Old 03-29-2026, 02:05 PM   #94
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: 9,505
Karma: 6734148
Join Date: Nov 2009
Device: many
So for all suggestions so far:

- image resized to fit to with descriptive info on top for ImageViewer (BeckyEbook)
- use full size image but with descriptive info on top for the ImageTab (my compromise)
- better use of multiply for GetInfo (ImageResource.cpp) (BeckyEbook)

are all in master now and:

- the ability to return to a previous spot (long implemented in Sigil). And the most common use case for right clicking on a class in CodeView automatically sets a BookMark so the Back button will always take you back.

So all that leaves is if and how to better visually highlight the active tab under Windows using the classic dark theme. I will leave that up to DiapDealer and BeckyEbook to work out.

So if anyone has any other suggestions/new feature requests please do let me know here.
KevinH is online now   Reply With Quote
Old 03-29-2026, 02:13 PM   #95
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: 31,655
Karma: 64144480
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 KevinH View Post
Have you tried adding a BookMark before going to another tab. Then using the Return. Doesn't that work?
Been doing it the by tab way since I first started and never thought to look
theducks is offline   Reply With Quote
Old 03-29-2026, 02:16 PM   #96
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: 9,505
Karma: 6734148
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by Turtle91 View Post
Most often I get a lot of open tabs when I am using a regex to jump through the ePub. Creating a bookmark every time before clicking “next” doesn’t sound very fun.
That is not a use case where you expect Bookmarks to be auto set. Search and replace always follows the order provided by the search parameters over the domain range also provided by the search parameters. So if you want to return to the start of the search then by all means bookmark the start.

If you want to peruse a long list of potential replacements, then use the Dry-Run tool or use the FilterReplacements tool.

If you are just hoping around, there is no history of Tabs tool. And I really can not see the need for one either to be honest.
KevinH is online now   Reply With Quote
Old 03-29-2026, 02:28 PM   #97
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: 50,977
Karma: 179232776
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by KevinH View Post
To try to summarize for my sake:

We have 1 vote for full size images (me) and 3 or 4 votes for fitted images.

I can see that if all you want is size info without scrolling, the move to top for the descriptive info will save scrolling for some full size images, (but Get Info will tell you the same thing).

I do not think it matters, if images are fitted, whether the descriptive info is at top or bottom (no good arguments yet presented one way or the other).

Is this pretty much correct?

...

Thoughts on this compromise?
Sounds good me to me. The info at the top saves me from having to scroll to the bottom to get that info especially for cover images which tend to be the largest when dealing with full size images. For fitted images, 6 of one and 2 threes of the other.

Last edited by DNSB; Yesterday at 01:07 AM. Reason: Removed link
DNSB is offline   Reply With Quote
Old 03-29-2026, 03:06 PM   #98
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: 9,505
Karma: 6734148
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by DNSB View Post
Link to my compile of the latest code can be obtained from: Sigil-2.7.6-Windows-x64-Setup.exe
Thanks so much for creating and posting this, as it allows others to try things out so they can comment on them!
KevinH is online now   Reply With Quote
Old 03-29-2026, 03:17 PM   #99
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: 50,977
Karma: 179232776
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by KevinH View Post
Thanks so much for creating and posting this, as it allows others to try things out so they can comment on them!
It takes very little effort after I compile the code for my use and as you said, it allows others to try things out and increases the chances that someone will spot an issue.
DNSB is offline   Reply With Quote
Old 03-29-2026, 05:17 PM   #100
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 963
Karma: 3600000
Join Date: Jan 2017
Location: Poland
Device: Various
I’ve been out all day, but I’m back now and have read all the new posts.

To clarify:
Ad 1 (fitting the image to the window): a brilliant, truly Solomon-like solution – dimensions at the top, double-clicking on the image gives the full size, but going via ‘Go To Link’ allows for a quick preview of the whole image.

Ad 2 (active tab): I regard this QSS code as a curiosity that might be useful to a certain group of people who miss this additional active tab indicator.
This is a group of people who:
a) use Windows
b) use dark mode
c) use classic dark mode [i.e. NOT @BetterRed, as he uses the Qt style]
d) may have some vision problems (which is entirely understandable)
That is why, especially for these people, I have presented the ready-made QSS code, which they may, but are under no obligation to, use.
I spent far longer than I should have tinkering with the tab styling myself, simply because I was worried that by ‘removing’ that red close symbol, I might make it harder for someone with vision problems to use Sigil, and that made me feel bad.

Ad 3 (multiplication sign). That’s exactly what I meant. The previous character (U+2715) was too conspicuous. Thank you.
BeckyEbook is offline   Reply With Quote
Old 03-29-2026, 06:55 PM   #101
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: 22,558
Karma: 32600660
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@DiapDealer - Spellchecking using the Spell checker will jump in and out of existing tabs and append new ones as each misspelt word is dealt with.

Knowing where one is in a work helps provides context. Some spelling errors are not 'wrong', e.g, could be a mispronounced word in dialogue, could be jargon, could be a quote from a US publication, in a work set to use UK dictionary.

BR
BetterRed is online now   Reply With Quote
Old 03-29-2026, 08:17 PM   #102
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: 22,558
Karma: 32600660
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by BeckyEbook View Post
This is a group of people who:
a) use Windows
b) use dark mode
c) use classic dark mode [i.e. NOT @BetterRed, as he uses the Qt style]
Because it gives me the red cross differentiator on CV tabs.

Quote:
Originally Posted by BeckyEbook View Post
I have presented the ready-made QSS code, which they may, but are under no obligation to, use.
I'll be giving it a try it later.

BR
BetterRed is online now   Reply With Quote
Old 03-29-2026, 08:59 PM   #103
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: 22,558
Karma: 32600660
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Quote:
Originally Posted by BeckyEbook View Post
I have presented the ready-made QSS code, which they may, but are under no obligation to, use.
I'll be giving it a try it later.
Click image for larger version

Name:	Screenshot 2026-03-30 114832.jpg
Views:	14
Size:	460.8 KB
ID:	222198

I will go back to where I was, and leave it at that.

Suggestion for Kevin - a Restart option.

BR

Last edited by BetterRed; 03-29-2026 at 09:11 PM.
BetterRed is online now   Reply With Quote
Old 03-29-2026, 09:28 PM   #104
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: 9,505
Karma: 6734148
Join Date: Nov 2009
Device: many
I think you are using qss to show focus in Sigil in yellow that interferes with the new top border. Perhaps these changes should be limited to just the TabBar class used in Sigil's TabManger.

If so, I think that qss BeckyEbook supplied needs to only specify just the Tabbar that is a child of the TabManager which has a setObjectName of "tabmgr".

So those selectors might need to use a descendent selector something like the following:

QTabWidget#tabmgr QTabBar

instead of just QTabBar

Of course I have not tested that but it should work in theory based on my reading of the Qt qss documentation.

If that doesn't work we can use setObjectName in TabBar.cpp to set its specific id so that is can be more easily identified uniquely. That would be an easy one-line change to make in the code.

Last edited by KevinH; 03-29-2026 at 09:39 PM.
KevinH is online now   Reply With Quote
Old 03-30-2026, 12:06 AM   #105
jugaor
Enthusiast
jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.jugaor for a long time would go to bed early.
 
jugaor's Avatar
 
Posts: 49
Karma: 17648
Join Date: Jun 2011
Location: Lima, Peru
Device: Kindle 10Gen / Kobo Aura HD / Nook STR
BeckyEbook: Thank you so much for following up on my requests and providing solutions.

After the initial negative response, I had come up with a simple solution:
Code:
/* diferenciar pestaña activa */
QTabBar::tab:selected {
	background-color: Green;
	font-weight: bold;
}
but your qt_styles.qss redesign is beautiful! (now I don't know which one to choose )

Quote:
Originally Posted by KevinH View Post
So those selectors might need to use a descendent selector something like the following:

QTabWidget#tabmgr QTabBar

instead of just QTabBar

Of course I have not tested that but it should work in theory based on my reading of the Qt qss documentation.
Kevin, your specificity works very well.
Although, in my case, I prefer the change to be global (it doesn’t conflict with Classic Dark Mode).
jugaor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestions for Sigil Improvements or New Features KevinH Sigil 241 03-02-2026 01:09 PM
Suggestions for Sigil Improvements or New Features KevinH Sigil 168 11-18-2025 12:23 PM
Ideas for New Improvements or Features KevinH Sigil 97 04-09-2025 09:45 AM
What Features or Tools does Sigil Still Need Yet? KevinH Sigil 175 03-06-2021 09:11 PM
Improvements/bugs/features dontcrash KOReader 10 10-23-2019 10:05 AM


All times are GMT -4. The time now is 05:39 PM.


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