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
See bug 145127#c4 There's no headless VCL implementation on macOS.
Could this be considered a DUP of bug 145127 ?
(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.
Alex: do you confirm this on macOS?
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.
(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
- vcldemo does work; but to get it to display anything you need to give it some options, like: bin/run vcldemo --widgets - svdemo shows a window but doesn't have any content. - minweld doesn't show any window at all. - mtfdemo works and shows a window with the picture - minvcl shows a window with no content
I lied, minweld does show the tip of the day window, but like the others it doesn't jump to front when run so its lost behind other ones.
I think with current git master all of these work as expected; if there is an issue with a specific demo we should either change this bug to reflect that demo, or file new bugs for the issues in each demo.
(In reply to dcbw@libreoffice.org from comment #8) > minweld does show the tip of the day window, but like the others it > doesn't jump to front when run so its lost behind other ones. Thanks for clarifying. This matches my older observations, but maybe it was vcldemo that made me believe that nothing is working! vcldemo indeed has a problem with displaying demo window. Also, `bin/run vcldemo --popup` gives some warnings and nothing more, while it works on Windows and Linux. These issues does not happen for LibreOffice widgets, or at least those widgets it uses. Falling behind other windows is an important issue, but that is also a separate separate. This also happens for LibreOffice, when you invoke from command line. I close this one as WORKSFORME, and I will file separate issues for the above problems
(In reply to dcbw@libreoffice.org from comment #7) > - vcldemo does work; but to get it to display anything you need to give > it some options, like: Ah! I waited 40 seconds on a fast idle macOS machine, and in the end vcldemo window came up! Of course, without any extra switches. :-D