Menu

#45 "Put Snapshot of View.." takes snapshot of non-Aztec windows

v2.0
open
nobody
4
2003-08-03
2003-08-03
Richard
No

NOTE: This bug is for Windows XP only (afaik it
shouldn't happen on win2k due to the way 2k handles
menu selections, not sure though), with all eye candy
enabled (menu effects, etc).

When selecting the "View" -> "Put Snapshot of View into
an Image View", Aztec2 creates a snapshot of the view
*including* any other window that is on top of this view.

At first, you might think this is nearly impossible,
but Windows XP fades out menu selections (by default
when running a fast system) so this (translucent)
selection is shown on the resulting snapshot in the
Image View as well.

To fix this, Aztec2 should only take the contents of
the MContainer (or actually the win32 window of it)
with the embedded view inside of it and not any window
outside of it.
(not sure if this is actually possible on win32 tho)

Additionally, I think it would be better to leave out
the menu or any other toolkit specific control and take
a snapshot of the view itself only, using GL functions
(-> would also make it cross platform compatible).

Discussion

  • Richard

    Richard - 2003-08-03
     
  • Richard

    Richard - 2003-08-03

    Logged In: YES
    user_id=180235

    I've attached a screenshot showing what the resulting
    snapshot could look like..

     

Log in to post a comment.

MongoDB Logo MongoDB