Bug 139876 - Launching Calc with file parameter does not bring window to foreground if LibreOffice window open
Summary: Launching Calc with file parameter does not bring window to foreground if Lib...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-24 07:49 UTC by Dan Dascalescu
Modified: 2022-03-15 03:56 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 Dan Dascalescu 2021-01-24 07:49:55 UTC
1. Have the LibreOffice window open
2. From a terminal, launch `libreoffice7.0 --calc somefile.ods`

Notice that Calc doesn't come into foreground. Is this intended? If so, it doesn't quite match the behavior of double-clicking ODS files from file managers.

3. Close the spreadsheet, but keep the LibreOffice window open
4. From the terminal, run `xdg-open somefile.ods`

Same result, Calc stays in the background.

5. Repeat step 3
6. From Nemo, double click an ODS file

Notice the focus is... somewhere, but neither in the sheet, nor in Nemo?

7. Repeat step 3
8. Double-click an ODS file from Double Commander

Same result as after Step 2.

I don't know how Double Commander executes the file association; I haven't configured anything specifically, so perhaps xdg-open?

Partial screencast at https://youtu.be/z96ffAdFCzU

Runnint Linux Mint 20.1. This might be the case with other LO file types, but I haven't tested. It's a common issue when the LO window is open with one file, and the user to open another one - the new file will be opened, but Calc won't receive focus, which is probably not what the user expects.
Comment 1 Jean-Baptiste Faure 2021-08-15 16:24:53 UTC
Not reproducible for me with 

Version: 7.2.1.0.0+ / LibreOffice Community
Build ID: fb36611e73c653a883bb899782557a6939911b62
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Ubuntu_20.04_x86-64
Calc: threaded

Not reproducible with

Version: 7.1.6.0.0+ / LibreOffice Community
Build ID: c2c2f74e26c8a7da78a8daee4671e1cb14509c12
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Ubuntu_20.04_x86-64
Calc: threaded

OS : Ubuntu 20.04 with Gnome.

Please, could you try a newer version of LibreOffice?
Status has been set to NEEDINFO, please set it back to UNCONFIRMED once requested information has been provided.

Best regards. JBF
Comment 2 QA Administrators 2022-02-12 03:37:55 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2022-03-15 03:56:43 UTC
Dear Dan Dascalescu,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp