More on Quartz bug

About my previous email, I found this in QZ_SetVideoMode (In 1.2.7) :

/*
There is a bug in Cocoa where NSScreen doesn’t synchronize
with CGDirectDisplay, so the main screen’s frame is wrong.
As a result, coordinate translation produces incorrect results.
We can hack around this bug by setting the screen rect
ourselves. This hack should be removed if/when the bug is fixed.
*/

May this be the cause of my problem? In that case, it seems the hack
isn’t
working properly.

Since I can’t reproduce the bug, is there anything I can do to help
someone get this fixed?

Ing. Gabriel Gambetta
ARTech - GeneXus Development Team
ggambett at artech.com.uy

About my previous email, I found this in QZ_SetVideoMode (In 1.2.7) :

/*
There is a bug in Cocoa where NSScreen doesn’t synchronize
with CGDirectDisplay, so the main screen’s frame is wrong.
As a result, coordinate translation produces incorrect results.
We can hack around this bug by setting the screen rect
ourselves. This hack should be removed if/when the bug is
fixed.
*/

May this be the cause of my problem? In that case, it seems the hack
isn’t
working properly.

Extremely unlikely. The above comment documents a bug in the OS, which
we work around specifically, so it should not affect you. The primary
reasons that comment is there is to explain the code following it (and
thus to prevent anybody from removing the seemingly “useless” code).

Since I can’t reproduce the bug, is there anything I can do to help
someone get this fixed?

I would recommend that you:

  • try to create a minimal test case with which your user can reproduce
    the problem. IDeally it’d be very short, so you can show it to us
  • what specs does your user have? SDL version, OS version (you can use
    the “sw_vers” command to tell), did you create the binary, or did they
    compile it; what hardwards: which machine, which graphics card, which
    graphics modes are set / available; specific steps to reproduce the
    bug; etc. etc. etc :slight_smile:

Cheers,

MaxAm 22.03.2004 um 20:40 schrieb Gabriel Gambetta:

I would recommend that you:

  • try to create a minimal test case with which your user can reproduce

the problem. IDeally it’d be very short, so you can show it to us

Sure, I’ll do that ASAP. Fortunately, at least two people in the mailing
list can reproduce this problem. I still can’t :frowning:

I would recommend that you:

  • try to create a minimal test case with which your user can reproduce

the problem. IDeally it’d be very short, so you can show it to us

Sure, I’ll do that ASAP. Fortunately, at least two people in the
mailing
list can reproduce this problem. I still can’t :frowning:

I am still not quite sure i correctly understand how the problems
"looks" on the screen (which is why I asked for a digi cam to show
us)… is the image just “shifted” to the side? Is a part cut off but
no shift happens? Is it flickering? A shifted image can be caused when
a screen resolution is set on the video card which your screen can’t
cope with.

Bye,

MaxAm 24.03.2004 um 18:36 schrieb Gabriel Gambetta: