03-23-2024, 12:24 AM | #1 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Mar 2024
Device: none
|
Feature Request(s)
Hello Everyone,
I'm a long-time Sigil user, and as many others have said, really appreciate the ongoing effort to maintain and improve it. I'd like to make two feature requests. 1. Please expand the number of clips that can be saved. Clips are one of my favourite things and I've now reached the limit of 40!! :-) Actually, maybe the clip toolbar could be enhanced as well to use the full width of the window, because at the moment (at least on my system and I'm usually up to date with the latest release from git) I now have two clips toolbars, each only filled about 50%. 2. Could we have an option to disable the tooltips? I know they can be very useful, but when there's a lot of text it's quite disconcerting (well for me anyway) to suddenly see a huge block of text with a yellow background! :-) Thanks |
03-23-2024, 09:24 AM | #2 |
Sigil Developer
Posts: 8,019
Karma: 5449552
Join Date: Nov 2009
Device: many
|
1. As for more than 40 clips, that limit is only set for the number of clip icons. Have you tried using the Clips Window. It has no limit.
As for toolbars themselves, you can move, concatenate, and resize them by dragging and dropping each toolbar segment separator. That can be used to save lots of space, hide unused toolbars, etc. 2. Which tooltips specifically are we talking about? What huge block of text? Last edited by KevinH; 03-23-2024 at 10:14 AM. |
Advert | |
|
03-23-2024, 03:35 PM | #3 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Mar 2024
Device: none
|
Hi Kevin,
Thanks for the quick reply. Let me then change my request. Could you please increase the number of clip icons, and also adjust the toolbar to use the full width of the window? I've attached a couple of screenshots to better explain what I mean. As you can see, the clip icons only take up around half of the toolbar. The second screenshot shows the popup when I mouseover the 'Alle HTML Dateien' selector. Rgds Karl |
03-23-2024, 03:53 PM | #4 |
Sigil Developer
Posts: 8,019
Karma: 5449552
Join Date: Nov 2009
Device: many
|
I am confused ... What platform are you using?
You control the width of the toolbars. If a toolbar is too long, shrink it and place another beside it on the same line. If you have all 20 clips icons in a line, it should fill up the toolbar. And where is that tooltip coming from? It looks like the description of the Find and Replace targets. Is that the one? Is this in the Find and Replace Dialog or is it Saved Searches Dialog? And if you do not want the tooltip, why bother hovering over it? Most tooltips are quite short. That one must be the worst case. Turning off tooltips is probably not a good thing for general users. But we could hide that one under a pop-up ""Help" menu of some sort. Last edited by KevinH; 03-23-2024 at 04:02 PM. |
03-23-2024, 04:40 PM | #5 | |
null operator (he/him)
Posts: 20,855
Karma: 27620684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
On Windows, Sigil's tooltips persist until the pointer is moved, in most applications (including other Qt applications) they disappear after a few seconds - sometimes too few. BR |
|
Advert | |
|
03-23-2024, 04:56 PM | #6 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Mar 2024
Device: none
|
I am using Linux. I think there's still some confusion about what I mean with the toolbars. If you look at the screenshot, you can see that the toolbars are the full width of the window. That's fine. What I mean is, that the clip icons only take up the first half of the toolbar.
There are two clip toolbars, each with 20 clip icons. I haven't been able to find a way to increase the number of clip icons on each toolbar. As soon as I created the 21st clip, the icon appeared on the second toolbar and each one thereafter. |
03-23-2024, 05:29 PM | #7 |
Grand Sorcerer
Posts: 27,818
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
They only take up half the window because that's all the space needed to display 20 clips. 20 is the limit. More (with the necessary keyboard shortcut coding) is not really feasible. As mentioned, the Clips Widget has no limit.
|
03-23-2024, 05:43 PM | #8 | |
Connoisseur
Posts: 55
Karma: 10
Join Date: Mar 2024
Device: none
|
Quote:
Shame. I'm not a coder, but I have a lot if IT experience. Could you tell me where this is defined in the source code? Might be an interesting project for me to play around with. |
|
03-23-2024, 06:14 PM | #9 |
Grand Sorcerer
Posts: 27,818
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'll post some links to the relevant source code if you try using the clips dockwidget instead of the toolbars.
|
03-23-2024, 06:26 PM | #10 |
Sigil Developer
Posts: 8,019
Karma: 5449552
Join Date: Nov 2009
Device: many
|
There are two different clips toolbars. The first toolbar is for clips icons from 1-20.
The second toolbar is for clips icons 21-40. If 20 do not fill up the first toolbar, then resize it to fit. Then do the same with the second clips toolbar. Then grab the second clips toolbar and move it to the end of the first clips toolbar to save vertical space if you so desire. Last edited by KevinH; 03-23-2024 at 06:31 PM. |
03-23-2024, 06:32 PM | #11 | |
Connoisseur
Posts: 55
Karma: 10
Join Date: Mar 2024
Device: none
|
Quote:
|
|
03-23-2024, 06:45 PM | #12 |
Sigil Developer
Posts: 8,019
Karma: 5449552
Join Date: Nov 2009
Device: many
|
I find it truly hard to believe there are more than 40 clips you use so often that you need icons for them given you can access them all if you open the Clips Window.
But either way, check out the clips related code in: main.ui, MainWindow.cpp, and ClipsWindow.cpp, ClipEditorModel.cpp, ClipEditorTreeView.cpp, ClipEditor.cpp and their header files. main.ui defines the toolbars, MainWindow.cpp controls the toolbars that are viewable, and builds the clips toolbars on the fly and connects their signals and slots. The others define the clip structure and how users create them, and access them, etc. Have fun! That is what opensource is all about. Last edited by KevinH; 03-23-2024 at 06:47 PM. |
03-23-2024, 06:56 PM | #13 | |
Sigil Developer
Posts: 8,019
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Quote:
|
|
03-23-2024, 07:03 PM | #14 | |
Connoisseur
Posts: 55
Karma: 10
Join Date: Mar 2024
Device: none
|
Quote:
Could you also tell me where the code is for the mouseover popups? I'm thinking about trying to create a preference, something like 'show tooltips'. |
|
03-23-2024, 07:26 PM | #15 |
Grand Sorcerer
Posts: 27,818
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Some are in the ui files, some are in cpp files associated with the ui files. There is no one place. There's thousands of places. A preference setting to enable/disable them all isn't very likely to be a trivial task, but you're welcome to try.
Last edited by DiapDealer; 03-23-2024 at 07:29 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Feature request | jlynton | KOReader | 12 | 09-15-2019 04:43 AM |
Feature Request | galaxyhub | Sigil | 3 | 07-22-2019 01:47 PM |
Feature Request? | RobSys52 | Library Management | 4 | 03-12-2019 04:34 AM |
Feature request: | oilwood | Calibre | 5 | 11-08-2010 02:59 PM |
Feature request | AprilHare | EPUBReader | 2 | 11-22-2009 05:15 AM |