Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/e2d159462984916504ada05b25053221bec0e507?style=unified&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
4 additions and
3 deletions
src/desktop/UBDesktopAnnotationController.cpp
src/frameworks/UBPlatformUtils_mac.mm
@ -366,6 +366,7 @@ void UBDesktopAnnotationController::stylusToolChanged(int tool)
{
Q_UNUSED ( tool ) ;
# ifdef Q_OS_OSX
/* no longer needed
if ( UBDrawingController : : drawingController ( ) - > isInDesktopMode ( ) )
{
UBStylusTool : : Enum eTool = ( UBStylusTool : : Enum ) tool ;
@ -377,7 +378,7 @@ void UBDesktopAnnotationController::stylusToolChanged(int tool)
{
UBPlatformUtils : : toggleFinder ( false ) ;
}
}
} */
# endif
updateBackground ( ) ;
@ -91,10 +91,10 @@ void UBPlatformUtils::setDesktopMode(bool desktop)
#if defined(Q_OS_OSX) && (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
// temporarily disabled due to bug: when switching to desktop mode (and calling this),
// openboard switches right back to the board mode. clicking again on desktop mode works.
if (desktop) {
/* if (desktop) {
[NSApp setPresentationOptions:NSApplicationPresentationAutoHideMenuBar | NSApplicationPresentationAutoHideDock];
}
else
else*/
[NSApp setPresentationOptions:NSApplicationPresentationHideMenuBar | NSApplicationPresentationHideDock];
#else // QT_VERSION_CHECK(5, 10, 0)
[NSApp setPresentationOptions:NSApplicationPresentationHideMenuBar | NSApplicationPresentationHideDock];