Bug 169688 - VCL demo applications do not display any window on macOS as they should
Summary: VCL demo applications do not display any window on macOS as they should
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Dev-related
  Show dependency treegraph
 
Reported: 2025-11-25 16:39 UTC by Hossein
Modified: 2025-11-29 05:43 UTC (History)
2 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 Hossein 2025-11-25 16:39:54 UTC
Description:
While VCL demos and workbenches work fine on Linux and Windows, many of them do not display any window on macOS.

Steps to Reproduce:
1. Build LibreOffice from sources on macOS
2. Run vcl demos and workbenches from command line:
$ ./bin/run vcldemo
$ ./bin/run svdemo
$ ./bin/run minweld
$ ./bin/run mtfdemo odk/examples/basic/forms_and_controls/burger.wmf
$ ./bin/run midvcl

Actual Results:
Only the last command displays a window, and other commands although run, do not display any window on the screen.

Expected Results:
Each of the above commands should display a window consisting of some stuff. This is the result on Linux and Windows.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 26.2.0.0.alpha0+ (AARCH64) / LibreOffice Community
Build ID: 02a8272d7c3b94a8721bdd4ab94bdc42bcd44caf
CPU threads: 10; OS: macOS 26.1; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Alex Thurgood 2025-11-26 13:07:38 UTC
See bug 145127#c4

There's no headless VCL implementation on macOS.
Comment 2 Alex Thurgood 2025-11-26 13:09:11 UTC
Could this be considered a DUP of bug 145127 ?
Comment 3 Hossein 2025-11-26 13:36:19 UTC
(In reply to Alex Thurgood from comment #1)
> See bug 145127#c4
> There's no headless VCL implementation on macOS.
That is true, but is it related to the specific issue here?
I mean do 'vcldemo' or 'minvcl' examples need headless implementation of VCL? I don't think so. If that was the case, you would get explicit exception message telling you that. It happens with LibreOfficeKit examples:
> ...
> [General] nextEventMatchingMask should only be called from the Main Thread!
But not here.

(In reply to Alex Thurgood from comment #2)
> Could this be considered a DUP of bug 145127 ?
No, I don't think so.
Comment 4 Buovjaga 2025-11-26 14:43:09 UTC
Alex: do you confirm this on macOS?
Comment 5 Alex Thurgood 2025-11-26 17:44:27 UTC
I couldn't previously get any sdk examples to even build on macOS, so haven't tested anything remotely related to this in a long time.

Unfortunately, I'm neither in a position to confirm or deny. Your best bet might be to ask Patrick.
Comment 6 Buovjaga 2025-11-29 05:43:48 UTC
(In reply to Alex Thurgood from comment #1)
> See bug 145127#c4
> 
> There's no headless VCL implementation on macOS.

There is now with Kendy's 857a760f317ad6540a6f03169ef8dda97d2c1de7
Make vcl build on macOS with --enable-headless