https://bugs.documentfoundation.org/show_bug.cgi?id=169918

            Bug ID: 169918
           Summary: VCL examples windows go to background when started
                    from command line
           Product: LibreOffice
           Version: 25.8.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When running VCL examples from command line, they go to background and do not
take focus. As they don't show any menus on top, smaller windows can easily get
lost.

Steps to Reproduce:
1. Build LibreOffice from sources
2. Run a VCL example, for example:
./bin/run minvcl
Or, the one with smaller window:
./bin/run mingled

Actual Results:
A window is created, but you may not find it as it can remain in the
background. As the window does not show any menus on top, it may even get lost
if it is small. One may think that no window is created.

Expected Results:
Window should get focus, and become visible by coming on the top.


Reproducible: Always


User Profile Reset: No

Additional Info:
This is a known macOS specific behavior, that can be customized/solved if a
.app is created for the binaries.

The problem also happens for LibreOffice. If it is executed as below, its main
window remains in the back:

% /Applications/LibreOffice.app/Contents/MacOS/soffice
If compiled from sources:
% ./instdir/LibreOfficeDev.app/Contents/MacOS/soffice

In comparison, using "open" with defined apps works just fine.

% open /Applications/LibreOffice.app
If compiled from sources:
% open instdir/LibreOfficeDev.app

Or, by name:
% open LibreOffice
If compiled from sources:
% open -a LibreOfficeDev

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to