aseba-community / aseba

Aseba is a set of tools which allow beginners to program robots easily and efficiently. To contact us, please open an issue.
http://aseba.wikidot.com
GNU Lesser General Public License v3.0
48 stars 62 forks source link

Screenshots can be corrupted by reordering VPL code #447

Open ddoak opened 8 years ago

ddoak commented 8 years ago

See these example screenshots:

1 and 2

To reproduce: Create a VPL program with instruction lines of different lengths (e.g. 1 vs 2 action blocks). Save a screenshot of the program, then reorder the instruction lines by dragging one on top of the other and then screenshot again. The second screenshot will contain un-refreshed areas where the graphics did not overlap.

Only tested so far on Mac (OS X 10.9.5) (100% reproducible on two different machines)

stephanemagnenat commented 8 years ago

That is fascinating. Does it happens with both SVG and PNG?

ddoak commented 8 years ago

Just checked - SVG seems to be fine, PNG is broken.

(I noticed it earlier today when I was trying to make screenshots for #446 - I was dragging the blocks to reorder the code)

I also managed to do this earlier (png) by resizing the VPL window - which looks like a screen buffer issue - but I couldn't find simple clear steps to reproducing it.

untitled

stephanemagnenat commented 8 years ago

Are you using Windows? On Linux I could not reproduce this bug.

ddoak commented 8 years ago

Mac (OS X 10.9.5) (100% reproducible on two different machines)

I can't reproduce it on Win XP.

stephanemagnenat commented 8 years ago

It looks like a Qt bug to me.

stephanemagnenat commented 7 years ago

Is this bug still present with Qt 4.8.7 as used in the Windows 1.5.5 packages?