![]() |
#76 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,330
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
![]() |
#77 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,330
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I think I've had the same issue when dealing with icons and such. Idealy I'd like dialog to change to another column instead of deleting. Don't know how much work.
|
![]() |
![]() |
![]() |
#78 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,269
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
What else would you have it do? If when you open the tb icon rules editor, it finds a column in the rules that *can't* be there, should it leave it to break something else later? Leave it there but hide it (it can't be edited) in hopes you will eventually create a valid column with that lookup name? Try to work around having item values in the rules that don't exist? Having the editor protect invalid data isn't something I think is reasonable.
As we have discussed several times before, changing lookup names doesn't propogate through calibre. Because of the problems that arise when reusing lookup names I have considered keeping a list of former names and rejecting any that match. Much more than I am willing to do. I won't stand in the way if someone else wants to attempt it. |
![]() |
![]() |
![]() |
#79 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,269
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I found a ton of small problems caused by non-existent lookup names. While fixing these I backed out the "remove" code. It now tries to deal with the problem. The user can now either a) change the lookup names and the invalid column values, or b) leave the bad data and hope for the best.
Another fixed problem: changing the "Show only categories and values available in the current library" threw away all edits. It is no longer possible to change that check box once edits have been done. There are probably edge cases in how the UI handles correcting the bad data. In particular, undo doesn't work in the case where an invalid lookup name was changed to a valid one. The changes are in calibre source. |
![]() |
![]() |
![]() |
#80 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,330
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Is there a way to display a
![]() |
![]() |
![]() |
![]() |
#81 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,269
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#82 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,330
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I can't think of the word. Like a message but not. In the L&F > Tag Browser > Icons to mark the invalid lookups.
I had a minor stroke at the end of last year and have a touch of aphasia. ![]() Last edited by ownedbycats; 02-14-2025 at 04:38 PM. |
![]() |
![]() |
![]() |
#83 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,269
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
As you can see, the tool tip also says the icon file doesn't exist. If the icon file does exist then the icon from that file is shown. I thought you might be asking for a default icon in the tag browser for icon files that don't exist. |
|
![]() |
![]() |
![]() |
#84 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,330
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Ah. Yes, good.
|
![]() |
![]() |
![]() |
#85 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,330
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: When multiple categories share one icon (E.g. in #fanficcat, display a game controller for all games without an individual icon), what's the best way to do this?
For column icons, I was using a regex (foo|bar|xyz), but I find that's hard to maintain. |
![]() |
![]() |
![]() |
#86 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,269
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Last edited by chaley; 03-09-2025 at 09:37 AM. Reason: Clarity |
|
![]() |
![]() |
![]() |
#87 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,330
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Thank you.
|
![]() |
![]() |
![]() |
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 |