[LH4604] RC7 - Local links within web pages now misfire

JJ
JJSlote
Posts: 621
Joined: Tue Oct 26, 2010 5:44 pm
Platform: Windows
Location: Unlogged bugs thru RC8:  t=61527 HTML clipboard miscode; 62407 Multiselect on edit

Mon Jun 15, 2020 8:14 pm Post

Hi - Scrivener RC7 has curtailed a very powerful and useful capability: clicked links in HTML docs no longer load in Scrivener's own panes. If they're external http:///, they display in the default browser; if they're local file:///, they now "open" uselessly in Windows File Explorer.

There's a new checkbox in Options: Behaviors > Navigation > Allow limited navigation in web pages . Please, what does that mean, and why the change? The checkbox has no obvious effect; there's no documentation for it, and I'm really hoping we can restore the same behavior we've relied on all through the beta cycle. Back context button and Meta Refresh all worked like a dream in the web pane through RC6. RC7 is way too late to scuttle a capability so essential.

My research material is in the form of a local wiki, and the ability to navigate through it in the secondary pane, and across projects, is, for me, a huge part of what makes Scrivener Scrivener. The research informs the writing. I don't want to traverse these docs in Firefox or File Explorer. I need 'em in my writing environment: in Scrivener's left pane.

Thanks for any insights and support on what seems like a major wrong turn in the design.

Rgds - Jerome

JJ
JJSlote
Posts: 621
Joined: Tue Oct 26, 2010 5:44 pm
Platform: Windows
Location: Unlogged bugs thru RC8:  t=61527 HTML clipboard miscode; 62407 Multiselect on edit

Wed Jun 17, 2020 4:11 am Post

Update: I did a mass convert of my indirectly displayed HTML docs from the Meta Refresh approach to the Research Files as Shortcuts approach, and everything works splendidly and more quickly than before. With the shortcuts working, the "Allow Limited Navigation in Web Pages" setting replicates the previous default behavior, and my research wiki is back on.

The bug on copying Windows Shortcut "docs" from project to project does need attention though:

RC7 - Dragging doc of type "Research File as Shortcut" between projects creates a dead document

Otherwise, all good. Just had to modernize the docflow a bit.

Rgds - Jerome

JJ
JJSlote
Posts: 621
Joined: Tue Oct 26, 2010 5:44 pm
Platform: Windows
Location: Unlogged bugs thru RC8:  t=61527 HTML clipboard miscode; 62407 Multiselect on edit

Wed Jun 17, 2020 8:02 pm Post

Update 2: I had it right the first time. This is a real bug. RC7 ignores our initial toggle for Allow limited navigation in web pages , and treats the setting as if it were turned off.

If the toggle is initially checked, we must uncheck it, select Apply, check it again, and select OK before our local html links open in Scrivener. Otherwise they'll misfire and open in File Explorer.

I've attached a zipped demo project to test and confirm.

Rgds - Jerome

LinkBugDemo.scriv.zip
(27.66 KiB) Downloaded 8 times

User avatar
MimeticMouton
Posts: 8824
Joined: Wed May 05, 2010 5:39 am
Platform: Mac + Windows
Location: city of rain
Contact:

Thu Jun 18, 2020 7:23 am Post

Thanks, I've filed the bug of the "Allow limited navigation in webpages" option needing to be continually reneabled. The other bug regarding copying imported shortcuts between projects is also on file.

Regarding the webpage navigation, although it seems like you've got it working aside from the bug, the Windows user manual hasn't been updated with this yet, but here's the relevant bit from the Mac version for anyone interested:

User Manual §8.1.3 Viewing webpages wrote:The web view displays archived web pages, which will in most cases be a preserved copy of the page at the time it was imported. Even if the page changes live, or is subsequently removed, your copy will be safely stored. By default, clicking on any links in the page will send the URL to your default Web browser. If you would like to (at your own risk) make it possible to navigate to links through Scrivener, then you can disable this restriction with the Allow limited navigation in web pages setting in the Behaviors: Navigation preference pane. The editor history function will consider all Web navigation to be one “frame”. To navigate back and forward within the history of the page, use the contextual menu by right-clicking anywhere within the page.
Last edited by MimeticMouton on Thu Jun 18, 2020 6:08 pm, edited 1 time in total.
Reason: Fixed some missing text in the quote!
Jennifer Hughes
(MM for short)

User avatar
DavidR
Posts: 846
Joined: Fri Mar 08, 2013 12:21 am
Platform: Windows

Thu Jun 18, 2020 3:53 pm Post

MimeticMouton wrote:... here's the relevant bit from the Mac version for anyone interested:

User Manual §8.1.3 Viewing webpages wrote:The web view displays archived web pages, which will in most cases be a preserved copy of the page at the time it was imported. Even if the page changes. By default, clicking on any links in the page will send the URL to your default Web browser.....

I wonder whether, for the sake of clarity, and for the sanity of grammar-obsessed writers (the two of us who are still standing), the sentence fragment I've underlined in the quote from the manual might be attached to the sentence before it:
The web view displays archived web pages, which will in most cases be a preserved copy of the page at the time it was imported, even if the page changes.

Thank you for considering my humble yet anxious request.
<thinks_he's_funny>Of course, I realize that this might be just a bit of Mac laid-back, too-cool-for-school styling. I still think it ought to be edited for the more anal retentive Windows world where I live.</thinks_he's_funny>
David
Scrivener for Windows Version 1.9.9
Windows 7 Pro 64-bit

What's the difference between a free lance and a loose cannon?

User avatar
MimeticMouton
Posts: 8824
Joined: Wed May 05, 2010 5:39 am
Platform: Mac + Windows
Location: city of rain
Contact:

Thu Jun 18, 2020 6:02 pm Post

Hahaha ahhh no, that was my failure when copying and pasting from a PDF with footnotes and trying to clean it up. Somewhere I dropped part of the sentence. It should be:

The web view displays archived web pages, which will in most cases be a preserved copy of the page at the time it was imported. Even if the page changes live, or is subsequently removed, your copy will be safely stored.
By default...


Sorry about that! :D
Jennifer Hughes
(MM for short)

User avatar
DavidR
Posts: 846
Joined: Fri Mar 08, 2013 12:21 am
Platform: Windows

Thu Jun 18, 2020 8:46 pm Post

:D No biggie. It's a little comforting to know that even MM is capable of error, actually. :lol:
David
Scrivener for Windows Version 1.9.9
Windows 7 Pro 64-bit

What's the difference between a free lance and a loose cannon?