• Tor Lillqvist's avatar
    fdo#39007: Brute force fix: Unlink a potential restorecount.plist file · bd507a0d
    Tor Lillqvist yazdı
    It is not completely clear to me whether we really still might be
    leaving such files around. After all, we now in *two* places (at least
    in current master) tell our NSWindows to not be
    restorable... Norbert's code in AquaSalFrame::initWindowAndView()
    *and* Herbert Dürr's code in -[SalFrameWindow initWithSalFrame:].
    
    On the other hand, Cocoa does seem to create the file and keep it
    around for a short while before removing it (in responce to our
    setRestorable:NO calls?), so there is a slight time window where if LO
    crashes, the file will be left around.
    
    Such a file might also be around from an older LO version, or manually
    planted there by somebody wanting to reproduce the bug...
    
    Of course, the *real* fix for this problem would be to make LO a
    *proper* Cocoa document centric application, that would use
    NSDocument, NSApplication etc like native applications are supposed
    to, and that *would* handle window restoration the Cocoa way. I.e.,
    work with the system instead of against it.
    
    Change-Id: I9ed058130ddddf49cf0221d899bef3e2654589c7
    bd507a0d
Adı
Son kayıt (commit)
Son güncelleme
..
android Loading commit data...
aqua/source Loading commit data...
coretext Loading commit data...
generic Loading commit data...
headless Loading commit data...
inc Loading commit data...
ios Loading commit data...
null Loading commit data...
qa Loading commit data...
quartz Loading commit data...
source Loading commit data...
test Loading commit data...
uiconfig/ui Loading commit data...
unx Loading commit data...
win/source Loading commit data...
workben Loading commit data...
AllLangResTarget_vcl.mk Loading commit data...
CppunitTest_vcl_complextext.mk Loading commit data...
CppunitTest_vcl_filters_test.mk Loading commit data...
CustomTarget_afm_hash.mk Loading commit data...
CustomTarget_kde4_moc.mk Loading commit data...
CustomTarget_kde_moc.mk Loading commit data...
CustomTarget_tde_moc.mk Loading commit data...
Executable_kdefilepicker.mk Loading commit data...
Executable_tdefilepicker.mk Loading commit data...
Executable_ui-previewer.mk Loading commit data...
Library_desktop_detector.mk Loading commit data...
Library_vcl.mk Loading commit data...
Library_vclplug_gen.mk Loading commit data...
Library_vclplug_gtk.mk Loading commit data...
Library_vclplug_gtk3.mk Loading commit data...
Library_vclplug_kde.mk Loading commit data...
Library_vclplug_kde4.mk Loading commit data...
Library_vclplug_svp.mk Loading commit data...
Library_vclplug_tde.mk Loading commit data...
Makefile Loading commit data...
Module_vcl.mk Loading commit data...
Package_osxres.mk Loading commit data...
README Loading commit data...
StaticLibrary_headless.mk Loading commit data...
StaticLibrary_vclmain.mk Loading commit data...
UIConfig_vcl.mk Loading commit data...
WinResTarget_vcl.mk Loading commit data...
vcl.android.component Loading commit data...
vcl.headless.component Loading commit data...
vcl.ios.component Loading commit data...
vcl.macosx.component Loading commit data...
vcl.unx.component Loading commit data...
vcl.windows.component Loading commit data...