-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-9.2.0
-
None
-
None
-
rhel-sst-display-window-management
-
ssg_display
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
x86_64
-
None
Description of problem:
I can capture screenshot via dbus, the Portal window shows but I have no need to interact with it to see the image. Is this intended behavior or am I doing something wrong? I would assume the image would not be accessible before confirming the Portal window and definitely should not be seen if I cancel it. No matter what I click in the Portal application I will get the screenshot.
Version-Release number of selected component (if applicable):
xdg-desktop-portal-1.12.4-1.el9.x86_64.
How reproducible:
100%
Steps to Reproduce:
1. Capture the screenshot:
>#!/usr/bin/env python3
>from dasbus.connection import SessionMessageBus
>MESSAGE_BUS = SessionMessageBus()
>SCREENSHOT_PROXY_OBJECT = MESSAGE_BUS.get_proxy(
> service_name="org.freedesktop.portal.Desktop",
> object_path="/org/freedesktop/portal/desktop"
>)
>SCREENSHOT_PROXY_OBJECT.Screenshot("/home/test/Pictures/", {})
2. Try to open the screenshot.
3.
Actual results:
Screenshot can be opened without any interaction with the Portal app.
Expected results:
The screenshot should not be viewable before interacting with the Portal app.
Additional info:
No matter the interaction with Portal app the screenshot can be opened.
Reproducible on rhel-8 also
- external trackers