• Tor Lillqvist's avatar
    tdf#115284: Unify LibreOffice and system full-screen concepts on macOS · 4b42fd7e
    Tor Lillqvist yazdı
    Also tdf#76476, and probably more.
    
    Make it so that when a window is in full-screen mode from
    LibreOffice's point of view, it is also full-screen from the system's
    point of view, and vice versa.
    
    All three ways to enter and leave full-screen mode can now be used
    with the same end result: The Ctrl-Cmd-F shortcut, the "View > Full
    Screen" menu entry, and the green bubble on the title bar.
    
    Don't disable/deactivate/etc menus while in full-screen mode. The menu
    auto-hides so there is no harm in having it function normally.
    
    Don't display the floating toolbar with a single "Full Screen" button
    in it as the way to leave full-screen mode. Instead, the same three
    ways that can be used to enter full-screen mode work to leave it, too.
    
    Sadly I could not figure out a way to set a window properly to
    full-screen at the point where a document window is created and set to
    be the same size as that kind of document window was the previous time
    it was open in LibreOffice. Thus don't save state for full-screen
    windows as we can't properly restore them. At least not for macOS. It
    is not good to just restore them as non-full-screened but still at the
    size they had when full-screen.
    
    One irritating glitch remains, and I was unable to fix that properly:
    I now prevent closing the document window that is in full-screen mode.
    Otherwise, if it is closed, the full-screen mode remains even if no
    window is open there; the desktop is completely black. Moving the
    cursor to the top edge, the LibreOffice menu is there, though. I tried
    to fix that but with no fully satisfying result. (Some attempts even
    lead to crashes, so just disabling closing is better than crashing at
    least.)
    
    Change-Id: Id909077ef9de9f19d48c8b9ad10d748a65b2417f
    Reviewed-on: https://gerrit.libreoffice.org/54760Tested-by: 's avatarJenkins <ci@libreoffice.org>
    Reviewed-by: 's avatarTor Lillqvist <tml@collabora.com>
    4b42fd7e
Adı
Son kayıt (commit)
Son güncelleme
..
classification Loading commit data...
doc Loading commit data...
emojiconfig Loading commit data...
inc Loading commit data...
qa Loading commit data...
sdi Loading commit data...
source Loading commit data...
uiconfig/ui Loading commit data...
util Loading commit data...
AllLangMoTarget_sfx2.mk Loading commit data...
CppunitTest_sfx2_classification.mk Loading commit data...
CppunitTest_sfx2_controlleritem.mk Loading commit data...
CppunitTest_sfx2_dialogs_test.mk Loading commit data...
CppunitTest_sfx2_metadatable.mk Loading commit data...
CppunitTest_sfx2_misc.mk Loading commit data...
CustomTarget_classification.mk Loading commit data...
JunitTest_sfx2_complex.mk Loading commit data...
JunitTest_sfx2_unoapi.mk Loading commit data...
Library_sfx.mk Loading commit data...
Makefile Loading commit data...
Module_sfx2.mk Loading commit data...
Package_classification.mk Loading commit data...
Package_emoji.mk Loading commit data...
PythonTest_sfx2_python.mk Loading commit data...
README Loading commit data...
UIConfig_sfx.mk Loading commit data...