Skip to content

Fix macOS dual-display presentation and fullscreen - #13

Merged
khalidt merged 1 commit into
khalidt:mainfrom
Hoemr:macos-dual-screen
Nov 25, 2026
Merged

khalidt merged 1 commit into
khalidt:mainfrom
Hoemr:macos-dual-screen

Conversation

@Hoemr

@Hoemr Hoemr commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Problem

On an Apple silicon Mac running macOS 27.2.1, pressing Present in TeXora 1.8.0 aborted in egui_glow with Unable to create Texture object. A one-page PDF was enough to reproduce the crash.

With Displays have separate Spaces disabled, native fullscreen also hid the presenter on the other display. A normal borderless window was constrained to the visible work area.

Changes

  • Use eframe's wgpu renderer with Metal on macOS. Windows and Linux use Glow.
  • On macOS with multiple displays, give the audience window the selected display's full AppKit frame and place it above the menu bar without creating a fullscreen Space.
  • Restore the normal window level in windowed mode. Regenerate the bundled third-party licence list.

Validation

  • Built with cargo build --release --locked. All 172 tests passed with cargo test --release --locked.
  • Tested both display assignments with a Beamer deck containing notes. The audience window filled the 1920 × 1080 external display and the built-in display's 1710 × 1107 logical frame. The presenter remained visible with notes and a next-slide preview, and slide changes appeared on both displays.
  • Verified F11 returned the audience window to windowed mode and back to full-display mode.

To reproduce the dual-display setup, extend the desktop, disable Displays have separate Spaces, place the presenter on one display, and select the other under Present → Audience screen. Start Present and advance a slide.

@khalidt

khalidt commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Tested this on macOS 26 as well, and everything works as expected. I was able to reproduce the original issue before applying the changes, although I didn't get the exact "Unable to create Texture object" error message. The fix resolves the issue.

Thanks for the contribution! Looks good to me. I'll merge this PR.

@khalidt
khalidt merged commit 2b03de7 into khalidt:main Nov 25, 2026
3 checks passed
@khalidt khalidt mentioned this pull request Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants