![]() |
#526 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Moderator Notice
@asdf asdf asdf - This is reminder to read the Guidelines In particular the paragraph about image sizes in Guideline #9 - Avatars, Images and Signatures . BR |
![]() |
![]() |
![]() |
#527 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
I misunderstood you when you complained about words being capitalized, I thought all letters are capitalized, not just the first letter.
You are right, adding new books does turn on the titlecase. This is the default behavior coded by kiwidude, most probably done to suit his own needs. It would be easy to change, but I don't want to alter behavior he has set himself, especially that it has been working this way for years with no one complaining. One option, would be to tie the titlecase to the tidy option. Problem with this is that it would only work for the csv tab, other tabs will not follow the same behaviour. |
![]() |
![]() |
![]() |
#528 |
Member Retired
![]() Posts: 5
Karma: 10
Join Date: Jan 2021
Device: none
|
Okay...
|
![]() |
![]() |
![]() |
#529 |
Member Retired
![]() Posts: 5
Karma: 10
Join Date: Jan 2021
Device: none
|
Here is a bug fix for the forced "Title Case" capitalization in case you don't live in a country where everything needs to be titlecased the American way:
Open the zip folder "IMPORT LIST.ZIP" of the addon in "C:\Users\YOURUSERNAME\AppData\Roaming\calibre\plu gins" Inside, open the file "page_resolve.py" and change line 599 to book['!calibre_title'] = book['title'] Don't change the indentation! Just remove the "titlecase" part! ---- For the admins: This user account can now be deactivated and the registered email deleted. I thought this completely unexpected and unwanted FeAtUrE was a bug. |
![]() |
![]() |
![]() |
#530 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
It's not a large issue, but is there anything that can be done about the appearance of dark mode? The contrast is so poor here I have difficulty reading it without magnifier.
|
![]() |
![]() |
![]() |
#531 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
I have no idea how to deal with colors to make them suitable for dark mode. Maybe someone else can help with that.
|
![]() |
![]() |
![]() |
#532 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
![]() |
#533 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I'm not sure how applicable this is to everything else, but JimmXinu modified FFF several months ago to make the syntax highlighting more readable:
https://github.com/JimmXinu/FanFicFa...highlighter.py This looks to be the relevant part Code:
try: if QApplication.instance().is_dark_theme: colors = { 'knownentries':Qt.green, 'errors':Qt.red, 'allkeywords':Qt.magenta, 'knownkeywords':QColor(Qt.blue).lighter(150), 'knownsections':Qt.darkCyan, 'teststories':Qt.cyan, 'storyUrls':Qt.magenta, 'comments':Qt.yellow } except Exception as e: logger.error("Failed to set dark theme highlight colors: %s"%e) |
![]() |
![]() |
![]() |
#534 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Before trying to look at how to handle colors in dark mode, I decided to run calibre in dark to see the problem myself, it seems to be fine with my calibre install. (screenshot attached)
Can anyone else running on Windows confirm having the same problems as @ownedbycats |
![]() |
![]() |
![]() |
#535 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quick drive by: If you implement such a check, be aware that earlier versions of Calibre don't have that. See: https://github.com/JimmXinu/FanFicFa...lighter.py#L45
|
![]() |
![]() |
![]() |
#536 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Thanks for the hint. I am not sure I am going ahead with this. I cannot replicate @ownedbycats problems. Also, changing color palette works for the whole application, but when I try to restrict it to the plugin wizard, nothing happens.
|
![]() |
![]() |
![]() |
#537 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Predefined: where
I have been having issues where the wrong series name is getting set on the Left side (and it caries over to the right)
Fantastic Fiction is my fav site Is there a place I can clear/refresh these. Uninstall and reinstall does not change the results |
![]() |
![]() |
![]() |
#538 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
The predefined sites are hardcoded in the plugin. If there are changes, the plugin needs to be updated. But, you can edit them and save them in the user settings. And post the changes to be updated.
|
![]() |
![]() |
![]() |
#539 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() Actually, this method might need to be changed to a separate config as there is an Edit button and if the user makes a custom change/add, wouldn't it get lost on a PI update? ![]() I'm still a little confused on what I had done before : The stock PI is not returning any series. (or Author) This (attachment ) is my clumsy fix. PLEASE CHECK |
|
![]() |
![]() |
![]() |
#540 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
No it would not. When you reach the third page of the wizard make sure to save the settings (as shown in attached screen). After that you can load the setting from the "User settings" tab in the first page of the wizard. The settings will not be lost even when the plugin is updated.
Seems to be working. Can add this to the plugin. |
![]() |
![]() |
![]() |
Tags |
column types |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Reading List | kiwidude | Plugins | 1425 | 07-24-2025 05:48 PM |
[GUI Plugin] Manage Sony x50 Reader Book List | kpw | Plugins | 170 | 10-02-2014 08:23 PM |
Import List plugin idea thread | kiwidude | Development | 45 | 08-13-2012 06:05 AM |
[GUI Plugin] WebOS Kindle-Import | CranstD | Plugins | 0 | 01-24-2012 03:36 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |