Bug 112784 (printeroffline) - opens windows in wrong session
Summary: opens windows in wrong session
Status: RESOLVED NOTABUG
Alias: printeroffline
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.4.1.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL: https://www.printer-offline.com/
Whiteboard:
Keywords: needsDevAdvice
Depends on:
Blocks:
 
Reported: 2017-09-30 18:09 UTC by Stéphane Aulery
Modified: 2020-05-13 08:59 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

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.

Thanks,
	Shai.
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)
Comment 5 okdf@johnfreed.com 2019-08-28 12:20:40 UTC
Agree with comment 1. Closing.
Comment 6 printeroffline 2020-01-29 07:35:23 UTC Comment hidden (spam)
Comment 7 elisa martin 2020-05-13 08:59:07 UTC Comment hidden (spam)