Bug 106128 - Closing last document will close all frames in uno listening mode
Summary: Closing last document will close all frames in uno listening mode
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.3.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-21 13:39 UTC by Sven
Modified: 2022-04-13 07:24 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Test class (3.26 KB, text/x-java)
2017-02-21 13:39 UTC, Sven
Details
java eclipse-project (2.09 MB, application/x-zip-compressed)
2017-02-21 13:41 UTC, Sven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven 2017-02-21 13:39:58 UTC
Created attachment 131385 [details]
Test class

Hello @ all

-> start office in uno listening mode
-> the start center will be shown
-> open a document
-> close this document

=> the office will be completely closed and the soffice instance stays running in background

To reproduce it see attached Test class or java-eclipse project

When I uncomment the lines: 
XBridge xBridge = xBridgeFactory.createBridge("", "urp", xConnection, null);
...
everything works fine and the start center will be shown.


The problem exists since the last release lo 5.3.0.
Comment 1 Sven 2017-02-21 13:41:43 UTC
Created attachment 131386 [details]
java eclipse-project

java eclipse-project to reproduce the bug
Comment 2 Oliver Brinzing 2017-04-16 12:14:46 UTC
i can confirm this behaviour with lo 5.4.0.0.alpha0+
(Build ID: c2511f27768341e33b452429b6dac38efa039804)
Comment 3 QA Administrators 2018-06-17 02:43:37 UTC Comment hidden (obsolete)
Comment 4 Oliver Brinzing 2018-07-21 13:12:24 UTC
still reproducible in LO 6.0.6.1
Comment 5 Thorsten Behrens (allotropia) 2018-08-07 22:41:32 UTC
This was fixed under bug 102274 - see discussion there for possible improvements. Which scenario do you have in mind, where the new behaviour is a bug? Opening new documents should still work, via the IPC pipe parameter handover.
Comment 6 Xisco Faulí 2018-08-08 09:05:58 UTC
(In reply to Thorsten Behrens (CIB) from comment #5)
> This was fixed under bug 102274 - see discussion there for possible
> improvements. Which scenario do you have in mind, where the new behaviour is
> a bug? Opening new documents should still work, via the IPC pipe parameter
> handover.

Hi Sven, Oliver Brinzing,
Could you please reply to the question above ?
Comment 7 Sven 2018-08-08 19:39:41 UTC
Hi, 

thank you for your reply.

The soffice instance is not the problem. Our problem is when running in UNO listening mode and the user is closing the last opened document that the office frame will be closed.
The expected behaviour is that when I close the last document that the start center will be shown. This is also the behaviour when I close the last document and the office is not running in UNO listening mode.
Comment 8 Sven 2020-11-02 08:36:17 UTC
still reproducible in:
Version: 7.0.1.2 (x86)
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 4; OS: Windows 10.0 Build 17763; UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Comment 9 Samuel Mehrbrodt (allotropia) 2022-04-13 07:24:11 UTC
Fixed with https://git.libreoffice.org/core/+/9be078ae0d4cc4e4c01952bb42c9bb5943bbde86%5E%21 (since LO 7.1).