Bug 448105

Summary: Open just one instance of gwenview
Product: [Applications] gwenview Reporter: kde-bugs
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: nate, nicolas.fella
Priority: NOR    
Version First Reported In: 21.12.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kde-bugs 2022-01-08 11:05:24 UTC
SUMMARY
***
If gwenview is already open and I click another image, that one is opened in a new instance of gwenview. I would expect it to be opened in the already running gwenview-instance.
***


STEPS TO REPRODUCE
1. Open gwenview
2. Click an image

OBSERVED RESULT
Two gwenview instances (windows) are open.

EXPECTED RESULT
Open the image which was clicked to open in the already existing window.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Comment 1 Nicolas Fella 2022-01-08 13:36:55 UTC
You mean opening a second image from outside Gweview (e.g. Dolphin)?

I'd say having two instances of Gwenview makes sense here, that way I can for example compare the two images by having both windows side-by-side
Comment 2 kde-bugs 2022-01-08 15:30:40 UTC
(In reply to Nicolas Fella from comment #1)
> You mean opening a second image from outside Gweview (e.g. Dolphin)?
Yes, correct

> I'd say having two instances of Gwenview makes sense here, that way I can
> for example compare the two images by having both windows side-by-side
To me that's a different use case - I agree that comparing two images side-by-side is something that might be useful sometimes but that should be a feature of a running gwenview instance, E.g. marking two images with an option to open them side-by-side or alternatively right-click an image and then select 'open in new instance'. Clicking one a few images in a file browser like Dolphin I would not expect that each one of them opens in a separate instance.
Comment 3 Nate Graham 2022-01-13 04:24:04 UTC
Gwenview already has that feature, in fact! :)

Nonetheless, there are valid use cases for opening multiple instances, so I don't think we can do this, sorry.