Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple atril instances #577

Open
braoult opened this issue Feb 21, 2023 · 3 comments
Open

Multiple atril instances #577

braoult opened this issue Feb 21, 2023 · 3 comments

Comments

@braoult
Copy link

braoult commented Feb 21, 2023

For some reasons, if I launch (for example from command-line) twice atril on the same document, the second instance does not open the same document in a new window, but instead the first window is shown.

Expected behaviour

It would be nice to have two windows (or at least to have an option to do so).

Actual behaviour

A document opened a second time activates the first instance window.

Steps to reproduce the behaviour

$ atril foo.pdf &
$ atril foo.pdf &

Atril version: 1.26.0 on Xubuntu 22.10.

Workaround

Launch atril on a copy of the document.

@lukefromdc
Copy link
Member

lukefromdc commented Feb 21, 2023 via email

@braoult
Copy link
Author

braoult commented Feb 21, 2023

This was most likely an intentional decision made by Evince developers long prior to the MATE fork. Libunique was used to force all invocations to one instance, today GtkApplication is used for that purpose.

I am not sure to understand what you say : Launching two atril on different files shows 3 processes: atrild and 2 x atril, and there are two windows.
The issue I am referring to is only about opening the same file twice.

@lukefromdc
Copy link
Member

lukefromdc commented Feb 21, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants