Merge pull request 'Fix bug 74787' (#287) from fix/bug-74787 into release/v9.0.0

Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/desktop-apps/pulls/287
This commit is contained in:
Oleg Korshul
2025-06-04 12:31:19 +00:00

View File

@ -1203,6 +1203,15 @@ void CAscTabWidget::setFullScreen(bool apply, int id)
fsWidget = qobject_cast<CTabPanel *>(m_dataFullScreen->widget());
widget(index)->layout()->addWidget(fsWidget);
// TODO: remove after switching to libVLC libraries on Linux
#ifdef _LINUX
QCefView* cef_media_view = this->findChild<QCefView*>();
if (cef_media_view)
{
cef_media_view->OnMediaEnd();
}
#endif
RELEASEOBJECT(m_dataFullScreen->parent)
RELEASEOBJECT(m_dataFullScreen)
// updateGeometry();