Bug 469824

Summary: Gwenview open with menu selects the wrong application
Product: [Applications] gwenview Reporter: yurapostates
Component: generalAssignee: phd <phd>
Status: RESOLVED FIXED    
Severity: major CC: dev+kde, kdelovaa, nate, phd, postix
Priority: HI    
Version: 23.04.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=462088
Latest Commit: Version Fixed In: 23.04.2
Sentry Crash Report:

Description yurapostates 2023-05-15 22:51:24 UTC
STEPS TO REPRODUCE
1.  Open an image
2.  Right click the image
3.  Open with-> (have 3 or more ) -> choose one of the applications

OBSERVED RESULT
The application directly above the selection opens instead. If the first application in the menu is chosen then a duplicate instance of Gwenview opens instead

EXPECTED RESULT
The selected application opens.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.3.1-zen2-1-zen (64-bit)

ADDITIONAL INFORMATION
Open With from Dolphin or from Desktop doesn't have this bug
Comment 1 Patrick Silva 2023-05-16 13:18:33 UTC
*** Bug 469843 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2023-05-16 19:17:45 UTC
Oh no, this is almost certainly a result of the fix for Bug 462088.
Comment 3 Bug Janitor Service 2023-05-17 07:29:55 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/gwenview/-/merge_requests/200
Comment 4 phd 2023-05-17 13:29:14 UTC
Git commit 32d967fc3f09f3d67c07020e7520fb5803b83f85 by Piotr Henryk Dabrowski.
Committed on 17/05/2023 at 07:26.
Pushed by ngraham into branch 'master'.

Fix running wrong application in 'Open with...' menu

M  +2    -2    app/fileopscontextmanageritem.cpp

https://invent.kde.org/graphics/gwenview/commit/32d967fc3f09f3d67c07020e7520fb5803b83f85
Comment 5 Nate Graham 2023-05-17 13:30:04 UTC
Git commit 6ac28ea410a7eacbab12cf0e18b474d3793c15fb by Nate Graham, on behalf of Piotr Henryk Dabrowski.
Committed on 17/05/2023 at 13:29.
Pushed by ngraham into branch 'release/23.04'.

Fix running wrong application in 'Open with...' menu


(cherry picked from commit 32d967fc3f09f3d67c07020e7520fb5803b83f85)

M  +2    -2    app/fileopscontextmanageritem.cpp

https://invent.kde.org/graphics/gwenview/commit/6ac28ea410a7eacbab12cf0e18b474d3793c15fb
Comment 6 Patrick Silva 2023-05-23 00:28:29 UTC
*** Bug 470126 has been marked as a duplicate of this bug. ***
Comment 7 Patrick Silva 2023-05-29 14:19:27 UTC
*** Bug 470416 has been marked as a duplicate of this bug. ***