Bug 166297 - Enable native window tabbing on macOS
Summary: Enable native window tabbing on macOS
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All macOS (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: macOS-UI-polish
  Show dependency treegraph
 
Reported: 2025-04-22 23:41 UTC by Patrick (volunteer)
Modified: 2025-04-23 18:00 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Snapshot of macOS "Prefer tabs when opening documents" preference (616.93 KB, image/png)
2025-04-22 23:45 UTC, Patrick (volunteer)
Details
Snapshot of rough implementation of native tabbed windows in LibreOffice (728.04 KB, image/png)
2025-04-22 23:48 UTC, Patrick (volunteer)
Details
Snapshot of the EnableNativeTabbedWindows LibreOffice expert preference (667.57 KB, image/png)
2025-04-22 23:56 UTC, Patrick (volunteer)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick (volunteer) 2025-04-22 23:41:34 UTC
Since macOS Sierra, macOS has the ability to support multiple NSWindows within a single NSWindow. NeoOffice implemented this feature a few years ago.
Comment 1 Patrick (volunteer) 2025-04-22 23:45:14 UTC
Created attachment 200460 [details]
Snapshot of macOS "Prefer tabs when opening documents" preference

Native tabbed windows on macOS are controlled by the "Prefer tabs when opening documents" preference in the System Preferences application. The default setting is "In Full Screen" but in this snapshot, it is set to "Always" so that non-full screen windows also can have tabbed windows.
Comment 2 Patrick (volunteer) 2025-04-22 23:48:01 UTC
Created attachment 200461 [details]
Snapshot of rough implementation of native tabbed windows in LibreOffice

I have this feature working in the following "work in progress" patch:

https://gerrit.libreoffice.org/c/core/+/184390
Comment 3 Patrick (volunteer) 2025-04-22 23:56:58 UTC
Created attachment 200462 [details]
Snapshot of the EnableNativeTabbedWindows LibreOffice expert preference

For those who want to disable native window tabbing even when it is enabled in the System Preferences application, setting the "EnableNativeTabbedWindows" expert preference to "false" will disable native window tabbing.