I understand the problem with glcapture and rubber-banding in Vista. But I am not sure what to do about it and need to study the situation.

Rubber-banding uses a technique that has worked in all versions of windows up to vista. It gets a drawing device context for the entire screen and then does updates with an xor write that it can undo as it moves around.

Vista has a fancy window manager and for various stated reasons this venerable technigue no longer works.

I find lots of discussion about how and why it is broken in vista. But no suggestions on what to replace it with. My guess is the xor drawing will have to be done to the isigraph memory buffer and this will have to be bltd to the screen. This probably isn't too difficult and probably has performance comparable to under XP. One difference is that the drawing outside the isigraph rectangle will no longer be visible on the screen.

----- Original Message ----- From: "David Mitchell" <[EMAIL PROTECTED]>
To: "Beta forum" <[email protected]>
Sent: Wednesday, February 13, 2008 11:31 AM
Subject: Re: [Jbeta] Display bugs in isigraph/paint demo and splitter demo


I was not able to duplicate the Paint Demo problem on XP with a Mobile Intel 945GM Express chipset.

I tried the splitter demo on Vista. When the vertical or horizontal splitter tool moved out of the graphic area, it left behind a trail of vertical or horizontal single pixel lines as tall or as wide as the splitter tool but consisting of bitmap data from prior windows or the background image. Wiggling the splitter tool when it was outside the graphic area would eventually fill in an area with alternating one pixel lines, half containing the bad bitmap data and half containing appropriate bitmap data.

I tried the splitter demo on the XP system and it had one odd artifact: when the vertical splitter tool moved out of the splitter graphic area and over the ijx window, it turned into a long triangle or possibly a quadrilateral made up of single pixel white lines with an invisible apex above the top of the ijx window. The apex drifted, trailing the splitter tool line as the mouse was wiggled. When the mouse button was released, the two descending white lines would be left overlayed on the ijx window and the splitter tool line would be repainted with the appropriate ijx window contents.

No non-J windows were affected in XP. The horizontal splitter tool did not have the behavior that the vertical tool did. It behaved correctly.

David Mitchell

David Mitchell wrote:
I was able to reproduce this problem on Vista with an ATI Radeon Xpress 5975 card. It happens with J6.01 and J6.02 beta.

Freehand and Box drawings are clipped appropriately at the edge of the J Paint Demo graphic area. Line and Ellipse show a bounding box that is filled with the bitmap from prior window(s) while the mouse button is held down. When the mouse button is released, the area in the J graphic area is re-painted with the appropriate content. The area outside the J graphic area, including the black border line around the graphic area, the J Paint Demo window borders and any non-J windows underneath the J Paint Demo window are left with the inappropriate bitmap data.

David Mitchell

Sherlock, Ric wrote:
I don't think so, the display cards are from different manufacturers.
One is a Toshiba M9 laptop with an NVIDA Quadro NVS 130M card, the other
is an 24" iMac with an ATI Radeon HD 2600 XT card.

---bill lam wrote:
Will it be a problem of your display card driver. Which display card is in use? Do the two vista use the same display card?

I have duplicated the problems on a 2nd Vista machine, but could not
reproduce the Paint Demo problem on an XP SP2 machine. I was able to
reproduce the Splitter Demo behaviour you describe above on
XP, which is
not as severe as it appears to be in Vista. I have posted some
screenshots to the wiki.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to