Its not a good idea to fetch and store backgrounds I expect; and there is no need on a modern OS - the underlying windows are backed by real texture / pixels anyway.
Pushed to master; gerrit for -5-0 in: https://gerrit.libreoffice.org/18203
Michael Meeks committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=59618d22a04ca441b19f388e48ae9b1c9dd8183c tdf#93822 - disable horror legacy menu background saving for OpenGL. It will be available in 5.1.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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Meeks committed a patch related to this issue. It has been pushed to "libreoffice-5-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=bce18e962dacdf6246123493690aa4b942568d10&h=libreoffice-5-0 tdf#93822 - disable horror legacy menu background saving for OpenGL. It will be available in 5.0.2. 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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.