소스 검색

KonvergoWindow: remove a disruptive loadGeometry() call

This is called when the window goes to windowed mode - usually by
itself, because there's another loadGeometry() call in
KonvergoWindow::updateWindowState(), which sets the geometry when
explicitly switching to windowed mode from the PMP side.

I can't find any rason why this call exists. On the other hand, it can
have weird effects when the fullscreen state is lost due to display
hotplugging on Windows. Then the window will have no titlebar, and can
cover the desktop partially. (This is not the same as a similar bug,
which also looks like it covers the desktop partially, but actually it
fully covers the desktop and is merely transparent in some regions.)
Vincent Lang 8 년 전
부모
커밋
804f9ef178
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      src/ui/KonvergoWindow.cpp

+ 0 - 1
src/ui/KonvergoWindow.cpp

@@ -430,7 +430,6 @@ void KonvergoWindow::onVisibilityChanged(QWindow::Visibility visibility)
 
   if (visibility == QWindow::Windowed)
   {
-    loadGeometry();
 #ifdef Q_OS_MAC
     QTimer::singleShot(1 * 1000, [&] { OSXUtils::SetPresentationOptions(m_osxPresentationOptions); });
 #endif