elementary / elementary/screenshot

Desktop Action does not work when the app is already running

Open
#323 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Vala
Stars
89
Forks
21
PR merge metrics
No merged PRs in 30d

Description

### What Happened?

I cannot use any desktop action when the app is already running (having a window or in the background), which makes it problematic for keyboard shortcuts, accessing quickly a function from the dock, or from a script

I believe this is [because the primary instance does not pick up remote commandline arguments](https://valadoc.org/gio-2.0/GLib.ApplicationCommandLine.html)

### Steps to Reproduce

Open Screenshot
Right click in the dock
Select an option
Nothing happens beside the window getting focused

### Expected Behavior

desktop action is activated

### OS Version

8.x (Circe)

### OS Architecture

amd64 (on most hardwares)

### Session Type

Secure Session (Wayland)

### Software Version

Latest release (I have run all updates)

### Log Output

```shell

```

### Hardware Info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.