![]() |
#856 |
null operator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,042
Karma: 22381319
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#857 | |
null operator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,042
Karma: 22381319
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Check Library was no errors I'll try rebuilding it, after I save the database. BR |
|
![]() |
![]() |
![]() |
#858 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,160
Karma: 2010524
Join Date: Aug 2013
Location: Texas
Device: none
|
By design, it goes to row #0 in the last-used #column.
Should I make that an option only? |
![]() |
![]() |
![]() |
#859 | |
null operator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,042
Karma: 22381319
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() My usage will be ad-hoc, find my way to a book, decide I want to look at a long text column, press the NV shortcut (Ctrl+Alt+N) and then Alt+C to select the column. Make it an opt-out if that is better for you, and/or other users. BR |
|
![]() |
![]() |
![]() |
#860 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,160
Karma: 2010524
Join Date: Aug 2013
Location: Texas
Device: none
|
<a href="file:/// Links in NV
So, re: file links in NV:
"External Links" that it knows about, such as https etc. are handled properly. "Internal Links", like file:///, have the behavior described below. <a href="file:///X:\MyPluginsPy3\_ris_import_dir\abstract.txt">NV Test File URI</a> When clicked in NV, the .txt file in the link above is opened by NV directly within the NV qtextbrowser widget, and shown in it. In NV, directly. Clicking "refresh book" reloads the current Custom Column text. If the file extension were, for example, .xyz, and there were no default file handler for .xyz files (in Qt), NV would do nothing but show an error message in DEBUG. Example: "QTextBrowser: No document for file:///X:/MyPluginsPy3/_ris_import_dir/test4.ris" Supposedly the errors is issued because .ris is a random extension that Qt has no standard file handler for. Unlike .txt files. I will continue researching. Maybe I can allow a user to update on-the-fly what extensions are registered by QDesktopServices, which is what does the work for links. I don't know enough yet to know, and I don't know what I don't know. DaltonST |
![]() |
![]() |
![]() |
#861 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,160
Karma: 2010524
Join Date: Aug 2013
Location: Texas
Device: none
|
New version posted in OP.
DaltonST Last edited by DaltonST; 03-18-2023 at 01:35 PM. Reason: deleted |
![]() |
![]() |
![]() |
#862 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,160
Karma: 2010524
Join Date: Aug 2013
Location: Texas
Device: none
|
Version 1.0.218 Notes Viewer Enhancements
Version 1.0.218 -2023-03-18 Notes Viewer: To support HTML Links, switched to a QTextBrowser widget instead of QTextEdit for HTML Only; Dark Mode; Others.
The ToolTips are required reading to use the NV. DaltonST |
![]() |
![]() |
![]() |
#863 |
null operator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,042
Karma: 22381319
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I can't get any file:/// links to work in NV, but I might have a clue for you.
Thought I'd try a PDF, viz: When I clicked PDF TEST in NV I got a spinning wheel for a couple of seconds then this: This is the Plain view of the html code: I tried removing the div and color span tags to a barebones link, same result. BR Last edited by BetterRed; 03-18-2023 at 05:51 PM. |
![]() |
![]() |
![]() |
#864 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,061
Karma: 41077675
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Well this is weird. After seeing that plain mode was working fine in BR's screenshot, I installed Calibre portable with just Job Spy to check that it wasn't some config issue. But I'm still getting the grey text on a white background.
BR: Are you using explicit dark mode or System default? (I'm using the former.) I can't see how it would make a difference but thats the only thing I can think of. |
![]() |
![]() |
![]() |
#865 |
null operator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,042
Karma: 22381319
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Color palette (needs restart): System default
BR |
![]() |
![]() |
![]() |
#866 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,061
Karma: 41077675
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Switching Windows to dark and Calibre to system default fixed it!
I wonder what the difference is |
![]() |
![]() |
![]() |
#867 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,160
Karma: 2010524
Join Date: Aug 2013
Location: Texas
Device: none
|
File:/// Test Version
I found a solution, which appears to be universally used with QTextBrowsers for opening file links. Had to override Qt, and either open a Windows subprocess for the clicked file in the link, or open the default webbrowser via Python.
See the attached version to test. DaltonST Last edited by BetterRed; Yesterday at 05:36 PM. Reason: removed defunct plugin zip |
![]() |
![]() |
![]() |
#868 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,061
Karma: 41077675
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Tested more: The background colour depends only on the "Choose your default app mode" in Personalize > Colours > Choose your Colour: Custom. Setting it to 'light' results in the white background, setting it to 'dark' results in normal.
|
![]() |
![]() |
![]() |
#869 |
null operator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,042
Karma: 22381319
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
File links are working
But Onenote links have stopped working. They're weird creatures, viz: Code:
<div> <p><a href="onenote:https://d.docs.live.net/cc6283b11474a776/Documents/Philip's%20Notebook/Quick%20Notes.one#Tale%20of%20Two%20Cities&section-id=%7BD4B7ECE2-C681-4C2F-99CC-56565B06F898%7D&page-id=%7B822953DD-ACFC-4058-8021-2D87472686B9%7D&end"><span style="color: #ff4fff">Tale of Two Cities</span></a></p></div> From NV I get this in Edge (ftr: my default browser is Firefox)? BR |
![]() |
![]() |
![]() |
#870 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,061
Karma: 41077675
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Edge is kind of pushy. Try pressing F1 on a legacy application that still uses .hlp files and you'll see.
|
![]() |
![]() |
![]() |
Tags |
author aka, author pen name, colors, toolbag, toolbox, tools |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 492 | 10-25-2022 08:13 AM |
[GUI Plugin] Ex Libris | AlPe | Plugins | 87 | 10-10-2020 03:10 PM |
[GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 12:48 PM |
Ubuntu/Linux : Command to schedule a job with Calibre.( No GUI ) | DurgaPrasad | Calibre | 0 | 10-16-2013 06:50 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |