Bug 421389 - When View Document fails, no error is displayed
Summary: When View Document fails, no error is displayed
Status: RESOLVED WORKSFORME
Alias: None
Product: KBibTeX
Classification: Applications
Component: Loading/saving files (other bugs)
Version First Reported In: 0.9.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Thomas Fischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-12 05:51 UTC by glyphimor
Modified: 2020-12-13 04:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description glyphimor 2020-05-12 05:51:12 UTC
SUMMARY

When an element has an incorrect file link and View Document fails, it does so silently, with no error in the GUI and no message printed on the command line.

STEPS TO REPRODUCE
1. On the External tab, add or edit a file link so it's not correct
2. Trigger View Document

OBSERVED RESULT

Nothing happens.

EXPECTED RESULT

Error message is displayed in GUI and/or command line

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION

I think this behavior changed recently? I seem to remember there used to be a popup when a linked file was no longer present. Submitting a vote to bring it back. (At least when there actually is a file link -- a "no response" seems appropriate if nothing's linked.)
Comment 1 Thomas Fischer 2020-05-16 19:51:49 UTC
The "view document" button should become inaccessible in case an invalid URL or filename is entered. I would need to have more information such an example for which 'incorrect file link' this test fails.

Then, in case the editing element thinks it has recognized an URL to open, the actual opening is delegated to the KDE subsystem which determines which program to use to open the URL, e.g. your browser or Okular. KBibTeX does not receive any feedback if this external process succeeds or fails.
Comment 2 Thomas Fischer 2020-07-07 18:42:04 UTC
(In reply to Thomas Fischer from comment #1)
> The "view document" button should become inaccessible in case an invalid URL
> or filename is entered. I would need to have more information such an
> example for which 'incorrect file link' this test fails.

Does this problem still exist? If yes, can you please provide additional information, such as examples for an invalid URL.

Otherwise, I would like to close this bug.
Comment 3 Justin Zobel 2020-11-13 03:05:08 UTC
Awaiting further info.
Comment 4 Bug Janitor Service 2020-11-28 04:33:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2020-12-13 04:34:03 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!