Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 02-22-2025, 06:37 PM   #1
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,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
[Suggestions] All actions menu

Now that I better understand its intent, I'm using All actions as my secondary navigation tool - keyboard shortcuts being the primary.

Q. Are the outer branch range names fixed or are they determined by how many.

When I had 10 plugins installed I had a branch node "BR Menu - View Manager" with 10 leaf nodes, when I removed a plugin the branch node disappeared and I have 9 leaf nodes in the outer menu. I'd rather have a branch node, even if it only has one leaf**.

Incidentally I had to restart calibre to have the removed plugin disappear from the All actions Plugins menu. Aside: removing a plugin should offer a restart, like a adding a plugin does… IMO.

Anyway, some suggestions
  • Use '→' rather than '-' in the outer branch names e.g. Add books→Choose library

    I have to remind myself that they not connected actions - i.e. 'Add books - Choose library' does not mean choose the library to which books will be added.
  • Include all the Preference panels as per the lower section of the Preferences drop down menu:

    Click image for larger version

Name:	Clipboard_02-23-2025_01.jpg
Views:	131
Size:	9.5 KB
ID:	213803
  • Add another section - Libraries.

BR

** ATSCS - Acute Topographical Spatial Consistency Syndrome

Last edited by BetterRed; 02-22-2025 at 06:47 PM.
BetterRed is offline   Reply With Quote
Old 02-23-2025, 12:20 PM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
Q. Are the outer branch range names fixed or are they determined by how many.
It separates the two categories into groups of at most 10 items. I'm not going to make that number a setting. I'm open to not expanding a group if there aren't 10 items (only "Plugins" could fall here), but I'd want to hear from other people about it. There are arguments for both methods.
Quote:
Anyway, some suggestions
  • Use '→' rather than '-' in the outer branch names e.g. Add books→Choose library

    I have to remind myself that they not connected actions - i.e. 'Add books - Choose library' does not mean choose the library to which books will be added.
There are other places in calibre that use '-' as the separator, for example tag browser partitioning. For me, '→' is less intuitive than '-' because the arrow implies causality.
Quote:
  • Include all the Preference panels as per the lower section of the Preferences drop down menu:
It already does that in the menu. Example: clicking on/selecting "Preferences" here:

Click image for larger version

Name:	Clipboard01.jpg
Views:	127
Size:	68.0 KB
ID:	213836

Gives you this:
Click image for larger version

Name:	Clipboard02.jpg
Views:	110
Size:	37.2 KB
ID:	213837

"All actions" gives you the menu for the action if it has one, otherwise the dialog. And yes, having "Preferences", "Toolbars", and "Shortcuts" on the outer menu isn't consistent, but I like them there.
Quote:
  • Add another section - Libraries.
Wouldn't this be more-or-less the same thing you get by using "Choose library"?

Click image for larger version

Name:	Clipboard03.jpg
Views:	120
Size:	72.3 KB
ID:	213838

Click image for larger version

Name:	Clipboard04.jpg
Views:	119
Size:	42.7 KB
ID:	213839

The above notwithstanding, I certainly won't object if someone wants to change how All actions works and Kovid accepts the changes.
chaley is offline   Reply With Quote
Advert
Old 02-23-2025, 06:52 PM   #3
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,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
Quote:
Q. Are the outer branch range names fixed or are they determined by how many.
It separates the two categories into groups of at most 10 items. I'm not going to make that number a setting. I'm open to not expanding a group if there aren't 10 items (only "Plugins" could fall here), but I'd want to hear from other people about it. There are arguments for both methods.
The Tag browser partitioning uses first letter. In this instance that would be inappropriate because there are fewer items, the values are known, and they are relatively static; I would much prefer first letter ranges so that all the 'C's etc are in the same group, e.g. for English

A - B
C - E
F - O
P - S
T - Z

Quote:
Quote:
  • Use '→' rather than '-' in the outer branch names e.g. Add books→Choose library
There are other places in calibre that use '-' as the separator, for example tag browser partitioning. For me, '→' is less intuitive than '-' because the arrow implies causality.
My suggestion to use first letter ranges would resolve this issue.

Re plugins, this is what I have right now:

Click image for larger version

Name:	Screenshot 2025-02-24 094942.jpg
Views:	121
Size:	56.4 KB
ID:	213845

If I add a plugin that list will collapse to this,

Click image for larger version

Name:	Screenshot 2025-02-24 101404.jpg
Views:	123
Size:	39.0 KB
ID:	213846

If I then remove it will expand again - I recognise it's a border line case, and that most user will have more than 9 plugins installed, but for the minimalists on on the border it is irritating. Maybe a Tweak could be provided to prevent that happening, e.g.

Code:
Collapse AA's list of plugins if there are more than N plugins.
I'd set N to 1.

Quote:
Quote:
  • Include all the Preference panels as per the lower section of the Preferences drop down menu:
It already does that in the menu. clicking on/selecting "Preferences"

"All actions" gives you the menu for the action if it has one, otherwise the dialog. And yes, having "Preferences", "Toolbars", and "Shortcuts" on the outer menu isn't consistent, but I like them there.
That's what threw me. So, in my mind's eye I'll relabel that section as chaley's tool-belt

Quote:
Quote:
  • Add another section - Libraries.
Wouldn't this be more-or-less the same thing you get by using "Choose library"?
More or less, as in select Choose library, and if the library one wants isn't in Choose library's shortlist, select Quick switch.


Breaking news: I removed the option to put the AA button in the status bar (which I didn't use). When I use my Ctrl+Alt+A shortcut now, AA pops up in the top right corner rather than the bottom left corner… which I much prefer. The submenus don't flyout backwards, and notifications don't pop-over the AA menu.

BR

Last edited by BetterRed; 02-23-2025 at 06:55 PM.
BetterRed is offline   Reply With Quote
Old 02-23-2025, 07:31 PM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
The Tag browser partitioning uses first letter. In this instance that would be inappropriate because there are fewer items, the values are known, and they are relatively static; I would much prefer first letter ranges so that all the 'C's etc are in the same group, e.g. for English

A - B
C - E
F - O
P - S
T - Z
The tag browser already uses first letter ranges if you ask it to. Example:
Click image for larger version

Name:	Clipboard01.jpg
Views:	117
Size:	35.2 KB
ID:	213847

If also provides nearly-fixed-size ranges, as in:
Click image for larger version

Name:	Clipboard04.jpg
Views:	116
Size:	23.2 KB
ID:	213849

The reason for "nearly" is hierarchical items. Those can't be separated so it splits after them, making the partition size value a minimum.

When partitioning in this manner the label is set by a template in Tweaks. You could use an arrow instead of a dash if you want. The above is generated with this tweak value:
Code:
categories_collapsed_name_template = '{first.sort:substr(0,4)} - {last.sort:substr(0,4)}'
Quote:
Re plugins, this is what I have right now:

If I add a plugin that list will collapse to this,

If I then remove it will expand again - I recognise it's a border line case, and that most user will have more than 9 plugins installed, but for the minimalists on on the border it is irritating. Maybe a Tweak could be provided to prevent that happening, e.g.

Code:
Collapse AA's list of plugins if there are more than N plugins.
I'd set N to 1.
I already said I won't add an option to control the partition size.

If more people than you care then I will look at always collapsing even if the count is less than the partition size. That would be equivalent to you setting N to 1.
chaley is offline   Reply With Quote
Old 02-24-2025, 11:40 AM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
After reflection, I think first letter ranges are better than fixed-size partitions.

Change is in calibre source.
Attached Thumbnails
Click image for larger version

Name:	Clipboard04.jpg
Views:	116
Size:	40.6 KB
ID:	213862  
chaley is offline   Reply With Quote
Advert
Old 02-24-2025, 02:03 PM   #6
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,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none


Curious: How are the ranges determined considering Interface language issues - reference to an imported library or code will be fine. I recall wrestling with such issues on VAX/VMS 40+ years ago, I think we ended up rolling our own for Latin and Cyrillic only.

BR

Last edited by BetterRed; 02-24-2025 at 02:10 PM. Reason: clarity
BetterRed is offline   Reply With Quote
Old 02-24-2025, 02:23 PM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post


Curious: How are the ranges determined considering Interface language issues - reference to an imported library or code will be fine. I recall wrestling with such issues on VAX/VMS 40+ years ago, I think we ended up rolling our own for Latin and Cyrillic only.

BR
The list of actions is first sorted by display name, which can be translated. The sort takes language/locale into consideration. The actions are then grouped together by translated first letter. The ranges are then built by combining first letters together until the count in the group exceeds the arbitrary value of IIRC 7. Given that we know the total action count is at most in the hundreds, we don't need to make the group size dynamic.
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to make it so the upper menu doesn't also bring up the bottom menu? Gaqs KOReader 1 11-10-2022 10:40 AM
Hyperlinks :Section Menu and Main menu not clickable/working in recipe generated mitra Recipes 0 01-22-2016 04:37 AM
section menu/ main menu link auto added even if output-profile was set to kindle flyingfoxlee Recipes 1 05-20-2013 11:42 PM
Suggestions on menu structure daubnet Sigil 18 10-12-2011 01:25 PM
main menu, section menu, css for calibre mobipocket output naisren Calibre 2 08-23-2010 11:42 PM


All times are GMT -4. The time now is 07:35 AM.


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