Bug 416773

Summary: Refuses to load file that has been opened via Windows File Explorer if krita is already open
Product: [Applications] krita Reporter: Ralek Kolemios <info>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: halla
Priority: NOR    
Version First Reported In: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ralek Kolemios 2020-01-26 01:22:14 UTC
SUMMARY
Krita refuses to open any .kra files that are launched from a Windows File Explorer window, if Krita is already open.
This includes double clicking, right click > Open and Right click > Open with > Krita
Dragging from File explorer into Krita works as intended.
Opening from explorer also works fine if Krita is currently closed.

STEPS TO REPRODUCE
1. Double click, right click > Open or right click > open with > krita on any .kra file in windows explorer.

OBSERVED RESULT
The file does not open.

EXPECTED RESULT
The file opens, as it would if Krita were not running.



Krita
  Version: 4.3.0-prealpha (git dc7d037)

Qt
  Version (compiled): 5.12.5
  Version (loaded): 5.12.5

OS Information
  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.17134
  Pretty Productname: Windows 10 (10.0)
  Product Type: windows
  Product Version: 10
Comment 1 Halla Rempt 2020-01-26 12:15:05 UTC
Please update to a newer nightly build; this was fixed in this commit:

commit db5ee6cd2b3230870dff14d1337299b6fdac19be
Author: Boudewijn Rempt <boud@valdyas.org>
Date:   Tue Jan 14 09:56:05 2020 +0100

    Fix regression when opening a new image in an existing krita instance
    
    Thanks to Nicholas LaPointe who found the regression.
    
    BUG:416202