Bug 112784 - opens windows in wrong session
Summary: opens windows in wrong session
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
Keywords: needsDevAdvice
Depends on:
Reported: 2017-09-30 18:09 UTC by Stéphane Aulery
Modified: 2018-10-08 12:32 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Aulery 2017-09-30 18:09:44 UTC
From: Shai Berger <shai@platonix.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libreoffice: opens windows in wrong session
Date: Sun, 15 Apr 2012 02:00:10 +0300

Dear Maintainer,

If one user has more than one session running on the same computer;
and one of these sessions has a LibreOffice app running; and the
user tries to open this app again in another session, a new window
for the app is opened in the first session.

This is very confusing, as it appears like nothing happens in the
session where the user is trying to do something. In the case where
I ran into this, all sessions were on the same physical terminal,
so the spurious windows in the first session were only found later,
but of course, having a word-processor window open on you out of
the blue is also confusing.

Actually, in second thought, there may be a security issue involved;
usually, each X session is isolated and cannot be manipulated from 
the outside.

Simple procedure to reproduce:

1) In a desktop session, open LibreOffice Writer.
2) Open another session for same user. It doesn't have to be a
full desktop session -- you can use a text-only terminal such
as VT1.
3) In this new session, issue the command "lowriter".
4) See that nothing happens.
5) Go back to the original desktop session
6) See a new, "uninvited", Writer window.

Comment 1 Jean-Baptiste Faure 2017-10-12 13:43:43 UTC
I reproduce the described behavior, but for me that is not a bug because LibreOffice allows only one instance (of a given  installation) for a given user.
Need confirmation by a developer.

Best regards. JBF
Comment 2 Bean Smith 2018-09-25 17:36:32 UTC Comment hidden (obsolete)
Comment 3 Jean-Baptiste Faure 2018-09-26 07:18:26 UTC Comment hidden (obsolete)
Comment 4 RickyAnderson 2018-10-08 12:32:22 UTC Comment hidden (spam)