Bug 113601 - Starting soffice --invisible is not entirely invisible on macOS
Summary: Starting soffice --invisible is not entirely invisible on macOS
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.4.2.2 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Dev-related
  Show dependency treegraph
 
Reported: 2017-11-02 14:39 UTC by Loic Nageleisen
Modified: 2023-10-04 19:22 UTC (History)
1 user (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 Loic Nageleisen 2017-11-02 14:39:32 UTC
Description:
soffice --help says that LibreOffice should only be interacted with and managed via API and OS-level signal process management:

   --invisible         Starts in invisible mode. Neither the start-up logo nor
                       the initial program window will be visible. Application
                       can be controlled, and documents and dialogs can be
                       controlled and opened via the API. Using the parameter,
                       the process can only be ended using the taskmanager
                       (Windows) or the kill command (UNIX-like systems). It
                       cannot be used in conjunction with --quickstart.

However on macOS running such an instance has the dock icon showing up.

When running a LO instance dedicated to API processing, isolated through --env:UserInstallation, there is thus a second icon showing up alongside a possibly already running interactive instance, confusing users as to which one is the interactive one, or if there is none, why it is not behaving as expected.

When running multiple LO instances (each one with its own UserInstallation) dedicated to parallel API processing, there is an icon for each separate instance, which, although correct WRT UserInstallation, is quite invasive.

Steps to Reproduce:
1. open a terminal
2. run /Applications/LibreOffice.app/Contents/MacOS/soffice --invisible --env:UserInstallation=file:///tmp/test


Actual Results:  
LibreOffice starts but an icon is shown in the dock.

Expected Results:
LibreOffice should be entirely invisible, including its dock icon.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 5.4.2.2
Build ID: 22b09f6418e8c2d508a9eaf86b2399209b0990f4
CPU threads: 4; OS: Mac OS X 10.13.1; UI render: default; 
Locale: en-GB (en_GB.UTF-8); Calc: group


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5
Comment 1 Alex Thurgood 2017-11-06 13:44:02 UTC
Confirming with 

Version: 5.4.2.2
Build ID: 22b09f6418e8c2d508a9eaf86b2399209b0990f4
Threads CPU : 4; OS : Mac OS X 10.13; UI Render : par défaut; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group
Comment 2 QA Administrators 2018-11-07 04:02:14 UTC Comment hidden (obsolete)
Comment 3 Loic Nageleisen 2018-11-07 15:32:15 UTC
Confirmed as still present on LibreOffice 6.1.3.2 86daf60bf00efa86ad547e59e09d6bb77c699acb
Comment 4 QA Administrators 2019-11-08 03:37:14 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2021-11-08 04:07:44 UTC
Dear Loic Nageleisen,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug