Animation incorrect while exiting fullscreen under macOS

Once you’ve done the above, delete everything above this line.

Steps to reproduce

  1. Launch Obsidian and make it windowed
  2. Use Fn(:globe_with_meridians:) + F to toggle fullscreen, the animation is correct
  3. Use Fn(:globe_with_meridians:) + F to toggle from fullscreen to windowed, the animation is incorrect.

Expected result

A correct animation while exiting fullscreen with Fn(:globe_with_meridians:) + F

Actual result

The animation is very abrupt while exiting fullscreen


  • Operating system: macOS 12.6.2
  • Debug info:
    Obsidian version: v1.1.9
    Installer version: v1.1.9
    Operating system: Darwin Kernel Version 21.6.0: Sun Nov 6 23:31:13 PST 2022; root:xnu-8020.240.14~1/RELEASE_ARM64_T6000 21.6.0
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: adapt to system
    Community theme: none
    Snippets enabled: 0
    Restricted mode: off
    Plugins installed: 1
    Plugins enabled: 1
    1: LanguageTool Integration v0.3.3

Additional information

  • The animation is correct while exiting fullscreen with the hotkey command+control+F, but not Fn(:globe_with_meridians:) + F, which is what I would usually use.
  • This is the screen recording, in .gif, of the problem
    屏幕录制2022-12-25 22.03.04
  • There will be a straight corner appearing around the round cornered window of Obsidian after exiting fullscreen with Fn(:globe_with_meridians:) + F.

likely electron bug.