Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 855f20f

Browse filesBrowse files
authored
Merge pull request opencv#27082 from iiiuhuy:fix_bug
displayOverlay doesn't disappear after timeout opencv#27082 Fixes opencv#26555 ### Expected Behaviour An overlay should be displayed atop an image and then disappear after `delayms` has timed out, but it doesn't. Also, `displayStatusBar` doesn't appear to set any text on the window. ### Actual Behaviour The overlay appears but doesn't disappear unless a mouse move event happens on the image. ### Changes - Fixed the issue with `displayOverlay` not disappearing after the timeout. ### Checklist - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV. - [x] The PR is proposed to the proper branch. - [x] There is a reference to the original bug report and related work. - [ ] There is accuracy test, performance test, and test data in the opencv_extra repository, if applicable. - [ ] The feature is well documented, and sample code can be built with the project CMake.
1 parent 2090407 commit 855f20f
Copy full SHA for 855f20f

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎modules/highgui/src/window_QT.cpp

Copy file name to clipboardExpand all lines: modules/highgui/src/window_QT.cpp
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2949,6 +2949,7 @@ void DefaultViewPort::stopDisplayInfo()
29492949
{
29502950
timerDisplay->stop();
29512951
drawInfo = false;
2952+
viewport()->update();
29522953
}
29532954

29542955

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.