![]() |
#31 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,270
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#32 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,510
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR Last edited by BetterRed; 01-17-2025 at 03:53 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,343
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Speaking of that, something I wonder: For the individual rules, they are stored in as icon_#column@@Category.png. What if there are two libraries with that column? Can they conflict?
Last edited by ownedbycats; 01-17-2025 at 03:59 PM. |
![]() |
![]() |
![]() |
#34 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,270
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Yes. If two libraries have columns with the same lookup name with identical values but with different meanings then the basic rule system will fail. You must use a template and the library uuid function to choose different icons depending on the library. My advice would be to use different lookup names to separate the name space.
|
![]() |
![]() |
![]() |
#35 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,343
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I may come across a bug. I was processing Cleanup books. I cleared them out and refreshed the search which normallly empties the tag browser:
|
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,343
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
If it helps to replicate,
Code:
program: if str_in_list($tags, ',', '[Cleanup]', 1, '') then list_difference($tags,'[Cleanup]' , ',') else list_union($tags,'[Cleanup]' , ',') fi Code:
from calibre_plugins.action_chains.actions.base import ChainAction class RefreshAction(ChainAction): name = 'Refresh GUI' def run(self, gui, settings, chain): gui.current_db.data.refresh() gui.library_view.model().resort() |
![]() |
![]() |
![]() |
#37 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,270
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
And as far as I know, a search doesn't affect the tag browser. If they did then clicking on a TB node to filter the book list would change the tree and it doesn't. Virtual libraries do change the tree. I'll be surprised if you see different behavior between the last release and the preview. |
|
![]() |
![]() |
![]() |
#38 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,343
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I have hide empty categories disabled. When I switch to another VL and back:
|
![]() |
![]() |
![]() |
#39 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,270
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
gui.tags_view.recount() |
|
![]() |
![]() |
![]() |
#40 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,343
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Thats weird because it always worked before.
|
![]() |
![]() |
![]() |
#41 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,270
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
With it checked you see this: |
|
![]() |
![]() |
![]() |
#42 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,270
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#43 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,270
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
gui.tags_view.model().reset_tag_browser() |
|
![]() |
![]() |
![]() |
#44 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,270
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#45 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,343
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Its possible that might be the case. Im not sure.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can I disable Icons in Tag Browser? | mikhail_fil | Library Management | 1 | 08-10-2023 06:34 PM |
Lighter icons in tag browser? | polymerwitch | Calibre | 3 | 11-29-2021 06:21 PM |
Category Ranges in Tag Browser | BetterRed | Library Management | 7 | 10-18-2020 04:44 AM |
Any way to unhide just one user category in the tag browser? | ownedbycats | Library Management | 2 | 10-14-2020 09:10 PM |
Show Category in Tag Browser | MerlinMama | Calibre | 4 | 02-01-2016 11:11 AM |