doing so, displays LibreOffice Fatal Error message "configmngr modification of finalized item"
and then Crash
Build ID: b5ac74bf8683a92078a2bc8aff97d4b436af63cb
Ah, interesting... I have an extension installed that does some settings for the options on that page.
- Disabling that extension
- First attempt to set the option hardware acceleration leads to the same crash
- but after restart, the option is set (was not before)
- and in this situation, I'm able to (dis-)able without a crash...
Looks as a problem more for configuration then graphics, so changing the component
Created attachment 113434 [details]
extension doing the settings
note the Canvas.xcu in the extension:
<prop oor:name="ForceSafeServiceImpl" oor:op="fuse" oor:finalized="true">
- enable extension again.
- touch setting hardware acceleration > crash
- disable extension again.
- restart LibreOffice
- touch setting hardware acceleration > fine
@stephan: one for you probably ?
Well its the oor:finalized="true" which makes it throw the "configmgr modification of finalized item" exception
When configmgr is asked to change a finalized value via
in CanvasSettings::EnabledHardwareAcceleration (cui/source/options/optgdlg.cxx) it throws a css::lang::IllegalArgumentException in configmgr::Access::checkFinalized (configmgr/source/access.cxx) that is apparently not handled properly.
The Options dialog appears to handle the possibility of the underlying configuration value being finalized for only a few of the configuration values exposed through the dialog. One example is m_pFileDialogCB/m_pFileDlgROImage in OfaMiscTabPage (also cui/source/options/optgdlg.cxx), which is supposed to show a lock and disable the checkbox of "Use LbireOffice dialogs" when the underlying configuration value is finalized.
http://cgit.freedesktop.org/libreoffice/core/commit/?id=a96acacb91197a04e8fd9114d8c4bcda24372f54 will suffice for this checkbox, just disable it if its read-only
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":
Resolves: tdf#89417 disable hardware accel checkbox if property is readonly
It will be available in 4.5.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.