|
|
#91 |
|
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
|
|
|
|
|
#92 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
|
|
#93 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
|
|
#94 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
|
|
#95 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
|
|
|
|
|
|
#96 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,505
Karma: 6734148
Join Date: Nov 2009
Device: many
|
Quote:
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. |
|
|
|
|
|
|
#97 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50,977
Karma: 179232776
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Last edited by DNSB; Yesterday at 01:07 AM. Reason: Removed link |
|
|
|
|
|
|
#98 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,505
Karma: 6734148
Join Date: Nov 2009
Device: many
|
Quote:
|
|
|
|
|
|
|
#99 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50,977
Karma: 179232776
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
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.
|
|
|
|
|
|
#100 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
|
|
#101 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
|
|
|
|
|
#102 | ||
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,558
Karma: 32600660
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
BR |
||
|
|
|
|
|
#103 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,558
Karma: 32600660
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() 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. |
|
|
|
|
|
|
#104 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
|
|
#105 | |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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;
}
)Quote:
Although, in my case, I prefer the change to be global (it doesn’t conflict with Classic Dark Mode). |
|
|
|
|
![]() |
|
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 |