MATLAB Answers

Wild screen display with rbbox in 2016a. Need help

4 views (last 30 days)
Song
Song on 3 Mar 2017
Commented: Swathi Iyer on 10 May 2017
I just found out that the behavior of rbbox() on my computer is quite wild. I tried the example code from help document, and if I click on the figure, the half of my screen gets distorted (see screenshot). After I press win+D and refresh the screen, everything goes fine.
So what's wrong with rbbox() and is there a remedy for that?
Thanks

  0 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 3 Mar 2017

  5 Comments

Show 2 older comments
Song
Song on 4 Mar 2017
Hello Walter, after trying a little, I think I get a workaround by myself.
I added a while endless loop, watching for the mousebuttonup event, and then let the program flow go further. At least this solve the issue with distorted screen and still give me the same functionality, even though now no box lines can be seen. :P
Walter Roberson
Walter Roberson on 4 Mar 2017
Sorry, I am not familiar with the details of this or how to work around the associated Windows bugs (other than to roll back the problem Windows updates.)
Swathi Iyer
Swathi Iyer on 10 May 2017
There is a solution for this problem. Please see the link in the next answer!

Sign in to comment.

Sign in to answer this question.

Tags