Author Topic: ugly lines when I drag the aui panel in Code::Blocks  (Read 8314 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5916
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
ugly lines when I drag the aui panel in Code::Blocks
« on: October 21, 2023, 03:12:32 pm »
See the screen shot as attachment, when I drag the bottom "logs and others" panel, up and down, I see ugly lines.

I just tried the wx's official AUI sample, and I can't find the issue there.

Any ideas?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: ugly lines when I drag the aui panel in Code::Blocks
« Reply #1 on: October 21, 2023, 07:24:21 pm »
It must have been there for quite a while.
I can get it happen with wx 311, 3221 and 323 (msw).
But I have to drag slowly.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5916
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: ugly lines when I drag the aui panel in Code::Blocks
« Reply #2 on: October 22, 2023, 12:48:13 am »
Yes, it happens for a long time, and it still happens in wx 3.2.3.

But I can't reproduce this always. Sometimes, it happens, sometime it does not.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5916
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5916
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: ugly lines when I drag the aui panel in Code::Blocks
« Reply #4 on: October 22, 2023, 10:07:18 am »
I can reproduce it in the wxAUI sample code, so I reported it in the github issue system:

when drag the wxAUI window edge, there are some ugly lines shows in the desktop like edge shadows Issue #23982 wxWidgets/wxWidgets
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5916
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: ugly lines when I drag the aui panel in Code::Blocks
« Reply #5 on: October 23, 2023, 12:45:33 pm »
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.