Bug 470416 - "Open with" opens image with application which is one item above the one clicked in context menu
Summary: "Open with" opens image with application which is one item above the one clic...
Status: RESOLVED DUPLICATE of bug 469824
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 23.04.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-29 13:44 UTC by postix
Modified: 2023-05-29 14:19 UTC (History)
1 user (show)

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


Attachments
Screenshot (411.86 KB, image/png)
2023-05-29 13:44 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2023-05-29 13:44:53 UTC
Created attachment 159322 [details]
Screenshot

SUMMARY

File -> "Open with" opens image with application which is one item above the one clicked in context menu

STEPS TO REPRODUCE
1. Open any image in gwenview
2. Click on File
3. Hover over "Open with"
4. Choose any application

OBSERVED RESULT

Journalctl reports on mouse hover over "Open with":
```
gwenview[7312]: qt.qpa.wayland: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x563b60b99ed0) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x563c0e9188c0) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents
```

When clicking on any application from the context menu it reports
```
gwenview[7312]: QString::arg: 2 argument(s) missing in org.kde.gwenview
```

When you click on the very first application in the list, the image opens in another instance of Gwenview.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230525
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.2-1-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series
Comment 1 Patrick Silva 2023-05-29 14:19:27 UTC

*** This bug has been marked as a duplicate of bug 469824 ***