Bug 150381 - LibreOffice 7.3.5.2 started giving a warning when clicking link to HTML file
Summary: LibreOffice 7.3.5.2 started giving a warning when clicking link to HTML file
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.5.2 release
Hardware: x86-64 (AMD64) Windows (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-12 11:07 UTC by JIM7
Modified: 2023-03-15 03:35 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Edited sample (16.40 KB, text/html)
2022-08-14 19:18 UTC, JIM7
Details

Note You need to log in before you can comment on or make changes to this bug.
Description JIM7 2022-08-12 11:07:46 UTC
Description:
When editing a chapter of a story, I use the <CTRL - mouse left click> to bring up the next chapter.
7.3.5.2 does not allow this.

Actual Results:
Download a story
Open a chapter. IF, at the bottom of the chapter there is a hyperlink that looks like this: Chapter 18 (usually in 18pt blue text), hold CTRL down and left click the mouse ON the hyperlink.
Previous to 7.3.5.2 that brings up the next chapter.

Expected Results:
I EXPECTED the new chapter. What I get is this "Warning": It might be dangerous to open "file:///../Program Files (x86)/Authors 5a/Sarge/Honkytonk Hero/57099_Chapter_17.html".
Do you really want to open it?
Followed by: Windows cannot find "file:///../Program Files (x86)/Authors 5a/Sarge/Honkytonk Hero/57099_Chapter_17.html". Make sure you typed the name correctly, then try again.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
SHOULD have brought up Chapter 17.
Comment 1 JIM7 2022-08-12 11:42:22 UTC
Correction! This only happens on chapters I have previously edited.
Thank you.
Comment 2 Timur 2022-08-12 12:19:35 UTC
Can you make and attach a minimal sample.odt with link to chapter.html being in the same folder as sample.odt?
Comment 3 Timur 2022-08-12 12:26:48 UTC
I made a simple ODT with a link to HTML and I don't reproduce. 
It may be some local issue or specific to those files.
Comment 4 Timur 2022-08-12 12:28:11 UTC
Who is giving the Warning? Antivirus program, which one? Paste Help-About.
Comment 5 Mike Kaganski 2022-08-14 17:50:18 UTC
(In reply to Timur from comment #4)
> Who is giving the Warning?

The exact wording of the warning matches our STR_DANGEROUS_TO_OPEN [1].
Indeed, we need Help->About and a sample document to see the details, why *some* links end up pointing likely to some incorrect (and read-only) locations.

[1] https://opengrok.libreoffice.org/xref/core/include/sfx2/strings.hrc?r=44211d62#105
Comment 6 JIM7 2022-08-14 19:18:54 UTC
Created attachment 181771 [details]
Edited sample

Help/About is at the bottom of the Sample.
Hyperlink is not present in .odt.
This happens when I am directly editing html files.
I tested this file.
Hyperlink no longer works.
I'm also attaching the file that the hyperlink is supposed to access.
Comment 7 QA Administrators 2022-08-15 03:46:04 UTC Comment hidden (obsolete)
Comment 8 Mike Kaganski 2022-08-15 05:59:51 UTC
(In reply to JIM7 from comment #6)
> Help/About is at the bottom of the Sample.

I couldn't locate it in test of attachment 181771 [details] (also in its source).

> I'm also attaching the file that the hyperlink is supposed to access.

I couldn't find that file either.

Anyway: when I download the attachment to my D:/Downloads as "72282_Chapter_02.html", copy it side-by-side as "72282_Chapter_03.html" (so I have these two files next to each other), and open "72282_Chapter_02.html" in LibreOffice Version: 7.4.0.2 (x64) / LibreOffice Community
Build ID: 1512ce97d7ed39dce3121f7e15651fd8895f950e
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL

(I just right-click the file in Windows Explorer and choose "Open With LibreOffice"), I can Ctrl+Click on the hyperlink at the bottom of the document, and the other file gets open in Chrome without warnings.
Comment 9 Timur 2022-08-15 09:42:54 UTC
Again Needinfo for reporter to make reproducible problem. 
Best if you can try on another computer.
Comment 10 QA Administrators 2023-02-12 03:21:09 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2023-03-15 03:35:38 UTC
Dear JIM7,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp