Bug 395737

Summary: If the user presses Shift+F3 and writes the name of an inexistent file: Krusader opens a viewer window
Product: [Applications] krusader Reporter: Toni Asensi Esteve <toni.asensi>
Component: krviewerAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: krusader-bugs-null, nikita+kde
Priority: LO Keywords: reproducible, triaged
Version: Git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Toni Asensi Esteve 2018-06-22 10:17:16 UTC
If the user presses Shift+F3 and writes the name of an inexistent file: Krusader opens a viewer window, though there's nothing to see, of course.

Maybe Krusader should show an error message saying 'The file "<name>" does not exist.'?
Comment 1 Toni Asensi Esteve 2020-02-08 19:18:33 UTC
This bug was confirmed.

There's a proposed solution inhttps://phabricator.kde.org/D27258
Comment 2 Toni Asensi Esteve 2020-02-15 17:01:51 UTC
Git commit 419ac6ec839414bbae52849af536bc8ba1da83e4 by Toni Asensi Esteve.
Committed on 15/02/2020 at 16:56.
Pushed by asensi into branch 'master'.

Manage what happens when a PanelViewerBase (e.g. using Shift+F3) is being used to open a local file that does not exist

This solves some problems. For example, if users press Shift+F3 and paste the path of a local inexistent file: Krusader opens a viewer window as it that file existed and was empty (but that file is not empty, it really does not exist). Note: That problem doesn't happen in the case of remote inexistent files.

FIXED: [ 395737 ] If the user presses Shift+F3 and writes the name of an inexistent file: Krusader opens a viewer window

M  +7    -2    krusader/KViewer/panelviewer.cpp

https://commits.kde.org/krusader/419ac6ec839414bbae52849af536bc8ba1da83e4