Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-21-2023, 08:56 AM   #16
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
The book/data folders don't seem to be copied at all, even they only contain one file.

I only tried copy, not copy and delete, I copied to an empty library, with and without custom columns.

BR
BetterRed is offline   Reply With Quote
Old 04-21-2023, 10:04 AM   #17
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,211
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by BetterRed View Post
I have this in my Links Column

Code:
<p><a href="file:///D:/Calibre/Libraries/Test/Anat%20Admati/The%20Bankers'%20New%20Clothes%20(159)/data/"><span style="color: #9e7852">Attachments</span></a></p></
BR
What kind of custom column is that? I was under the impression that only 'Long text' could show HTML. But 'Long text' behaves like 'comments', and always appear at the end of the Book Details panel.

I did some testing here but couldn't figure it out.

Also, you said 'I have this in my Links Column', but you certainly have more, right?
thiago.eec is offline   Reply With Quote
Old 04-21-2023, 10:05 AM   #18
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 book/data folders don't seem to be copied at all, even they only contain one file.

I only tried copy, not copy and delete, I copied to an empty library, with and without custom columns.

BR
@kovid: I can replicate this problem. It seems to be caused by this in db.copy_to_library
line 108 is
Code:
                nbp = newdb.field_for('path', book_id)
but should be
Code:
                nbp = newdb.field_for('path', new_book_id)
I didn't push the change because I am not confident enough that I understand all the ramifications. However, with the change, "Copy to library" does copy the data files.
chaley is offline   Reply With Quote
Old 04-21-2023, 10:41 AM   #19
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@chaley: That was indeed the correct fix, thanks. https://github.com/kovidgoyal/calibr...520a8e220e9e84
kovidgoyal is offline   Reply With Quote
Old 04-21-2023, 11:03 AM   #20
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 thiago.eec View Post
What kind of custom column is that? I was under the impression that only 'Long text' could show HTML. But 'Long text' behaves like 'comments', and always appear at the end of the Book Details panel.

I did some testing here but couldn't figure it out.

Also, you said 'I have this in my Links Column', but you certainly have more, right?
In the column definition, set "Column heading" (the second one of these with a drop down list) to "Show heading to the side of the text". That changes it to appear with the other fields instead of with comments.

And yes, I will fix the label of that row in column definition, and I will improve the documentation in book details column selection.

Edit: That second "Column heading:" label is now "Heading position". The tool tips were changed to say how positioning affects placement in book details.

Last edited by chaley; 04-21-2023 at 11:35 AM.
chaley is offline   Reply With Quote
Old 04-21-2023, 01:00 PM   #21
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,211
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by chaley View Post
In the column definition, set "Column heading" (the second one of these with a drop down list) to "Show heading to the side of the text". That changes it to appear with the other fields instead of with comments.

And yes, I will fix the label of that row in column definition, and I will improve the documentation in book details column selection.

Edit: That second "Column heading:" label is now "Heading position". The tool tips were changed to say how positioning affects placement in book details.

Thanks! I would never had guessed that.
thiago.eec is offline   Reply With Quote
Old 04-21-2023, 01:25 PM   #22
revjoe
Junior Member
revjoe began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2011
Device: none
This is really nice addition, thanks!
revjoe is offline   Reply With Quote
Old 04-21-2023, 02:58 PM   #23
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,211
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
@kovid @chaley

Do you guys think it would be possible to click links directly on custom columns (main window)? Maybe using 'shift+click'.

Last edited by thiago.eec; 04-21-2023 at 03:28 PM. Reason: typo
thiago.eec is offline   Reply With Quote
Old 04-21-2023, 04:14 PM   #24
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by thiago.eec View Post
What kind of custom column is that? I was under the impression that only 'Long text' could show HTML. But 'Long text' behaves like 'comments', and always appear at the end of the Book Details panel.

I did some testing here but couldn't figure it out.

Also, you said 'I have this in my Links Column', but you certainly have more, right?
I think BR uses HTML longtext column. Job Spy has a new feature to view longtexts in a popup window.
ownedbycats is online now   Reply With Quote
Old 04-21-2023, 05:48 PM   #25
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
@kovid: I can replicate this problem. It seems to be caused by this in db.copy_to_library
<snip>
I didn't push the change because I am not confident enough that I understand all the ramifications. However, with the change, "Copy to library" does copy the data files.
Quote:
Originally Posted by kovidgoyal View Post
@chaley: That was indeed the correct fix, thanks.
Whew, I thought it was just me with my inter/intra-library links!

My sole use of the Copy to library feature is to copy books from my Intake library to my Books, Journals and Media libraries and I add any attachments after that.

Has anyone else noticed the little green popup offering Undo immediately after to doing a Remove - it appears just under the title bar. If you have icons in your toolbar you mayn't notice it.

BR
BetterRed is offline   Reply With Quote
Old 04-21-2023, 06:02 PM   #26
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I noticed it. Is easy to miss though. I thought it could've been a bit more visible.
ownedbycats is online now   Reply With Quote
Old 04-21-2023, 06:48 PM   #27
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 thiago.eec View Post
@kovid @chaley

Do you guys think it would be possible to click links directly on custom columns (main window)? Maybe using 'shift+click'.
It's at my finger tips, F3, Ctrl+N, Tab to link, Enter

Click image for larger version

Name:	Screenshot 2023-04-22 083610.jpg
Views:	121
Size:	293.3 KB
ID:	201161

BR
BetterRed is offline   Reply With Quote
Old 04-21-2023, 09:56 PM   #28
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
I may have raised this before.

The Browse button in the long text editor Link tool does not allow selection of a folder. If you want the resultant file:\\\ URL to open the folder, you must select a file within the folder, and then cut it out of the Enter URL: field.

I have a sneaking suspicion this maybe a Qt issue.

BR
BetterRed is offline   Reply With Quote
Old 04-21-2023, 10:03 PM   #29
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by ownedbycats View Post
I noticed it. Is easy to miss though. I thought it could've been a bit more visible.
It's the same one that's used in the editor for deleting files. It's meant to be subtle so it doesnt get in the way for an operation thats very rarely used.
kovidgoyal is offline   Reply With Quote
Old 04-22-2023, 01:27 AM   #30
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by BetterRed View Post
I may have raised this before.

The Browse button in the long text editor Link tool does not allow selection of a folder. If you want the resultant file:\\\ URL to open the folder, you must select a file within the folder, and then cut it out of the Enter URL: field.

I have a sneaking suspicion this maybe a Qt issue.

BR
https://github.com/kovidgoyal/calibr...d950290e74e10d
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extra data in CSS when converting from MS Wod kumarashantanu Conversion 2 03-03-2021 05:17 PM
KFX Conversion Failed: Extra Data? popkulcher Plugins 2 01-29-2020 05:41 PM
Extra .sdr files Georgie W Kindle Developer's Corner 7 06-18-2019 08:06 PM
Extra files in fbreader kblechman Android Devices 0 01-11-2018 01:26 PM
About a FlightCrew remark roger64 Sigil 6 02-26-2012 07:29 PM


All times are GMT -4. The time now is 01:38 PM.


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