PtNumericInteger UpDown buttons are corrupting

I am having problem with the PtNumericInteger widget in that the up/down
buttons will often become graphically corrupt (eg the down arrow may become
a black block or have a black stripe through it.) I have tried multiple
things to no avail.

A couple things about this situation are:

  1. Using QNX 4.25 Patch C and Photon 1.14
  2. It appears on dialog boxes that are part of a “folder” motif.
  3. Because they are on a “folder”, the widgets are created/destroyed often.
  4. I even force a PtDamageWidget upon first creation and then upon any
    Ph_EV_EXPOSE events. One affect that this seems to have is that it can move
    the corruption from the up arrow to the down arrow.
  5. The problem is spuratic and affects various PtNumericInteger’s at
    different times, though it tends to stay with certain ones.
  6. The problem is quite frequent.

If you have any suggestions, I would greatly appreciate them. Thanks.

Jim Momeyer

I have a display with 8 of these widgets. One of them is corrupted 90% of the time after first painting. Sometimes, a second is also corrupted. The other 6 are always fine. Once I use the corrupted decrement button, it fixes itself.

Jim wrote:

I am having problem with the PtNumericInteger widget in that the up/down
buttons will often become graphically corrupt (eg the down arrow may become
a black block or have a black stripe through it.) I have tried multiple
things to no avail.

A couple things about this situation are:

  1. Using QNX 4.25 Patch C and Photon 1.14
  2. It appears on dialog boxes that are part of a “folder” motif.
  3. Because they are on a “folder”, the widgets are created/destroyed often.
  4. I even force a PtDamageWidget upon first creation and then upon any
    Ph_EV_EXPOSE events. One affect that this seems to have is that it can move
    the corruption from the up arrow to the down arrow.
  5. The problem is spuratic and affects various PtNumericInteger’s at
    different times, though it tends to stay with certain ones.
  6. The problem is quite frequent.

If you have any suggestions, I would greatly appreciate them. Thanks.

Jim Momeyer

Jack Rosenbloom
Webcraft Mail Systems
Manager, Process Control Systems Engineering
4371 County Line Road
Chalfont PA. 18914
Phone: (215) 997-5269
FAX: (215) 997-5455
E-Mail jrosenbloom@webcraft.com

Hi

Could either of you send me a small sample app so I can test it out here. Depending on what I find I will submitt a PR or I will ask for more info.

Thanks
Rodney


Previously, Jack Rosenbloom wrote in qdn.public.qnx4.photon:

I have a display with 8 of these widgets. One of them is corrupted 90% of the time after first painting. Sometimes, a second is also corrupted. The other 6 are always fine. Once I use the corrupted decrement button, it fixes itself.

Jim wrote:

I am having problem with the PtNumericInteger widget in that the up/down
buttons will often become graphically corrupt (eg the down arrow may become
a black block or have a black stripe through it.) I have tried multiple
things to no avail.

A couple things about this situation are:

  1. Using QNX 4.25 Patch C and Photon 1.14
  2. It appears on dialog boxes that are part of a “folder” motif.
  3. Because they are on a “folder”, the widgets are created/destroyed often.
  4. I even force a PtDamageWidget upon first creation and then upon any
    Ph_EV_EXPOSE events. One affect that this seems to have is that it can move
    the corruption from the up arrow to the down arrow.
  5. The problem is spuratic and affects various PtNumericInteger’s at
    different times, though it tends to stay with certain ones.
  6. The problem is quite frequent.

If you have any suggestions, I would greatly appreciate them. Thanks.

Jim Momeyer

Jack Rosenbloom
Webcraft Mail Systems
Manager, Process Control Systems Engineering
4371 County Line Road
Chalfont PA. 18914
Phone: (215) 997-5269
FAX: (215) 997-5455
E-Mail > jrosenbloom@webcraft.com

Just to add fuel to the fire, I have seen this also. There were always
bigger issues to deal with, so it never made it to the top of my list to
get reported, but it definately exists, and is easily reproducable.

I have seen it on both Photon 1.13 on 425 and Photon 1.14 on 425.

-----Original Message-----
From: gui@qnx.com [mailto:gui@qnx.com]
Posted At: Thursday, March 22, 2001 3:26 AM
Posted To: photon
Conversation: PtNumericInteger UpDown buttons are corrupting
Subject: Re: PtNumericInteger UpDown buttons are corrupting


Hi

Could either of you send me a small sample app so I can test it out
here. Depending on what I find I will submitt a PR or I will ask for
more info.

Thanks
Rodney


Previously, Jack Rosenbloom wrote in qdn.public.qnx4.photon:

I have a display with 8 of these widgets. One of them is corrupted
90% of the time after first painting. Sometimes, a second is also

corrupted. The other 6 are always fine. Once I use the corrupted
decrement button, it fixes itself.

Jim wrote:

I am having problem with the PtNumericInteger widget in that the
up/down
buttons will often become graphically corrupt (eg the down arrow may
become
a black block or have a black stripe through it.) I have tried
multiple
things to no avail.

A couple things about this situation are:

  1. Using QNX 4.25 Patch C and Photon 1.14
  2. It appears on dialog boxes that are part of a “folder” motif.
  3. Because they are on a “folder”, the widgets are
    created/destroyed often.
  4. I even force a PtDamageWidget upon first creation and then upon
    any
    Ph_EV_EXPOSE events. One affect that this seems to have is that it
    can move
    the corruption from the up arrow to the down arrow.
  5. The problem is spuratic and affects various PtNumericInteger’s
    at
    different times, though it tends to stay with certain ones.
  6. The problem is quite frequent.

If you have any suggestions, I would greatly appreciate them.
Thanks.

Jim Momeyer

Jack Rosenbloom
Webcraft Mail Systems
Manager, Process Control Systems Engineering
4371 County Line Road
Chalfont PA. 18914
Phone: (215) 997-5269
FAX: (215) 997-5455
E-Mail > jrosenbloom@webcraft.com

Sotty to butt in, but on a point of order:
Rennie-what reader software you using that doesn’t
add “Re:” when you reply to an existing thread?
When you post as John Doe, it does happen…

Rennie Allen wrote:

Just to add fuel to the fire, I have seen this also. There were always
bigger issues to deal with, so it never made it to the top of my list to
get reported, but it definately exists, and is easily reproducable.

I have seen it on both Photon 1.13 on 425 and Photon 1.14 on 425.

-----Original Message-----
From: > gui@qnx.com > [mailto:> gui@qnx.com> ]
Posted At: Thursday, March 22, 2001 3:26 AM
Posted To: photon
Conversation: PtNumericInteger UpDown buttons are corrupting
Subject: Re: PtNumericInteger UpDown buttons are corrupting

Hi

Could either of you send me a small sample app so I can test it out
here. Depending on what I find I will submitt a PR or I will ask for
more info.

Thanks
Rodney

Previously, Jack Rosenbloom wrote in qdn.public.qnx4.photon:
I have a display with 8 of these widgets. One of them is corrupted
90% of the time after first painting. Sometimes, a second is also
corrupted. The other 6 are always fine. Once I use the corrupted
decrement button, it fixes itself.

Jim wrote:

I am having problem with the PtNumericInteger widget in that the
up/down
buttons will often become graphically corrupt (eg the down arrow may
become
a black block or have a black stripe through it.) I have tried
multiple
things to no avail.

A couple things about this situation are:

  1. Using QNX 4.25 Patch C and Photon 1.14
  2. It appears on dialog boxes that are part of a “folder” motif.
  3. Because they are on a “folder”, the widgets are
    created/destroyed often.
  4. I even force a PtDamageWidget upon first creation and then upon
    any
    Ph_EV_EXPOSE events. One affect that this seems to have is that it
    can move
    the corruption from the up arrow to the down arrow.
  5. The problem is spuratic and affects various PtNumericInteger’s
    at
    different times, though it tends to stay with certain ones.
  6. The problem is quite frequent.

If you have any suggestions, I would greatly appreciate them.
Thanks.

Jim Momeyer

Jack Rosenbloom
Webcraft Mail Systems
Manager, Process Control Systems Engineering
4371 County Line Road
Chalfont PA. 18914
Phone: (215) 997-5269
FAX: (215) 997-5455
E-Mail > jrosenbloom@webcraft.com

Hello Jim

THere was one button that kept giving me a hard time and that was the
last PtNumericButton. It was corrupt when the dialog box would first
load but after clicking on it would be fix it. I deleted this PtNumericInteger widget and cut and paste the one above it in to it’s
place and gave it the same name as the widget that I deleted and it seemed to work fine. Can you try this on your end and see if that fixes at least some of the problems that you have been experiencing? Is it the same widget that gives you a problem over and over again or is it different ones? I know this may seem weird (at least it does for me) but if it fixes your problem for at least the time being then it is worth a shot.

Rodney

Previously, Alex wrote in qdn.public.qnx4.photon:

Sotty to butt in, but on a point of order:
Rennie-what reader software you using that doesn’t
add “Re:” when you reply to an existing thread?
When you post as John Doe, it does happen…

Rennie Allen wrote:

Just to add fuel to the fire, I have seen this also. There were always
bigger issues to deal with, so it never made it to the top of my list to
get reported, but it definately exists, and is easily reproducable.

I have seen it on both Photon 1.13 on 425 and Photon 1.14 on 425.

-----Original Message-----
From: > gui@qnx.com > [mailto:> gui@qnx.com> ]
Posted At: Thursday, March 22, 2001 3:26 AM
Posted To: photon
Conversation: PtNumericInteger UpDown buttons are corrupting
Subject: Re: PtNumericInteger UpDown buttons are corrupting

Hi

Could either of you send me a small sample app so I can test it out
here. Depending on what I find I will submitt a PR or I will ask for
more info.

Thanks
Rodney

Previously, Jack Rosenbloom wrote in qdn.public.qnx4.photon:
I have a display with 8 of these widgets. One of them is corrupted
90% of the time after first painting. Sometimes, a second is also
corrupted. The other 6 are always fine. Once I use the corrupted
decrement button, it fixes itself.

Jim wrote:

I am having problem with the PtNumericInteger widget in that the
up/down
buttons will often become graphically corrupt (eg the down arrow may
become
a black block or have a black stripe through it.) I have tried
multiple
things to no avail.

A couple things about this situation are:

  1. Using QNX 4.25 Patch C and Photon 1.14
  2. It appears on dialog boxes that are part of a “folder” motif.
  3. Because they are on a “folder”, the widgets are
    created/destroyed often.
  4. I even force a PtDamageWidget upon first creation and then upon
    any
    Ph_EV_EXPOSE events. One affect that this seems to have is that it
    can move
    the corruption from the up arrow to the down arrow.
  5. The problem is spuratic and affects various PtNumericInteger’s
    at
    different times, though it tends to stay with certain ones.
  6. The problem is quite frequent.

If you have any suggestions, I would greatly appreciate them.
Thanks.

Jim Momeyer

Jack Rosenbloom
Webcraft Mail Systems
Manager, Process Control Systems Engineering
4371 County Line Road
Chalfont PA. 18914
Phone: (215) 997-5269
FAX: (215) 997-5455
E-Mail > jrosenbloom@webcraft.com

When I post as John Doe, it is Outlook Express. When I post as Rennie
Allen from work it is Outlook (not express), when I post as Rennie Allen
from home it is Outlook Express again. Right now, I am posting from
work on Outlook. As John Doe it as a generic box, which I can’t
possibly keep configured in any way shape of form (since everyone uses
it - all of us are way too impatient to log off, and log back into an NT
box).

-----Original Message-----
From: Alex [mailto:acellarius@systems104.co.za]
Posted At: Thursday, March 22, 2001 7:12 PM
Posted To: photon
Conversation: PtNumericInteger UpDown buttons are corrupting
Subject: Re: PtNumericInteger UpDown buttons are corrupting


Sotty to butt in, but on a point of order:
Rennie-what reader software you using that doesn’t
add “Re:” when you reply to an existing thread?
When you post as John Doe, it does happen…

Rennie Allen wrote:

Just to add fuel to the fire, I have seen this also. There were
always
bigger issues to deal with, so it never made it to the top of my list
to
get reported, but it definately exists, and is easily reproducable.

I have seen it on both Photon 1.13 on 425 and Photon 1.14 on 425.

-----Original Message-----
From: > gui@qnx.com > [mailto:> gui@qnx.com> ]
Posted At: Thursday, March 22, 2001 3:26 AM
Posted To: photon
Conversation: PtNumericInteger UpDown buttons are corrupting
Subject: Re: PtNumericInteger UpDown buttons are corrupting

Hi

Could either of you send me a small sample app so I can test it out
here. Depending on what I find I will submitt a PR or I will ask for
more info.

Thanks
Rodney

Previously, Jack Rosenbloom wrote in qdn.public.qnx4.photon:
I have a display with 8 of these widgets. One of them is corrupted
90% of the time after first painting. Sometimes, a second is also
corrupted. The other 6 are always fine. Once I use the corrupted
decrement button, it fixes itself.

Jim wrote:

I am having problem with the PtNumericInteger widget in that the
up/down
buttons will often become graphically corrupt (eg the down arrow
may
become
a black block or have a black stripe through it.) I have tried
multiple
things to no avail.

A couple things about this situation are:

  1. Using QNX 4.25 Patch C and Photon 1.14
  2. It appears on dialog boxes that are part of a “folder” motif.
  3. Because they are on a “folder”, the widgets are
    created/destroyed often.
  4. I even force a PtDamageWidget upon first creation and then
    upon
    any
    Ph_EV_EXPOSE events. One affect that this seems to have is that
    it
    can move
    the corruption from the up arrow to the down arrow.
  5. The problem is spuratic and affects various PtNumericInteger’s
    at
    different times, though it tends to stay with certain ones.
  6. The problem is quite frequent.

If you have any suggestions, I would greatly appreciate them.
Thanks.

Jim Momeyer

Jack Rosenbloom
Webcraft Mail Systems
Manager, Process Control Systems Engineering
4371 County Line Road
Chalfont PA. 18914
Phone: (215) 997-5269
FAX: (215) 997-5455
E-Mail > jrosenbloom@webcraft.com

Hi Rodney,

I did what you asked and deleted the PtNumericInteger that was corrupting
and then copied the one above giving it the same name. When I ran it, they
all looked ok. Then I moved a pterm window in front of the widgets about
5 - 10 times and then the next widget down which is a PtNumericFloat
corrupted in its updown buttons.

I have tried every combination that I could think of on my application and
it still keeps happening. It appears to be more frequent with certain
widgets, but it also appears on other ones. The problem is hard to know if
it is fixed, because the widgets may look fine for a while and then they
start corrupting. I have seen them corrupt in 3 different ways:

  1. When they first appear.
  2. When something else like a window, dialog, or pterm has hidden them and
    then is moved away so that they are visible again.
  3. When I have dragged the window the widgets are on off the screen and
    then moved them back.

Basically it seems that anytime they are redrawn that there is a potential
of corruption.

Hope this gives further insight into the problem.

Jim

gui@qnx.com wrote in message …

Hello Jim

THere was one button that kept giving me a hard time and that was the
last PtNumericButton. It was corrupt when the dialog box would first
load but after clicking on it would be fix it. I deleted this
PtNumericInteger widget and cut and paste the one above it in to it’s
place and gave it the same name as the widget that I deleted and it seemed
to work fine. Can you try this on your end and see if that fixes at least

some of the problems that you have been experiencing? Is it the same widget
that gives you a problem over and over again or is it different ones? I
know this may seem weird (at least it does for me) but if it fixes your
problem for at least the time being then it is worth a shot.

Hi Jim

Please don’t assume that I am blaming hardware, but could you tell me what kind of hardware you are using? I’m going to test this a little further here and depending on what I turn up submit a bug report about it. It just helps to know what types of hardware the problem is occuring on.

Thanks
Rodney

Previously, Jim wrote in qdn.public.qnx4.photon:

Hi Rodney,

I did what you asked and deleted the PtNumericInteger that was corrupting
and then copied the one above giving it the same name. When I ran it, they
all looked ok. Then I moved a pterm window in front of the widgets about
5 - 10 times and then the next widget down which is a PtNumericFloat
corrupted in its updown buttons.

I have tried every combination that I could think of on my application and
it still keeps happening. It appears to be more frequent with certain
widgets, but it also appears on other ones. The problem is hard to know if
it is fixed, because the widgets may look fine for a while and then they
start corrupting. I have seen them corrupt in 3 different ways:

  1. When they first appear.
  2. When something else like a window, dialog, or pterm has hidden them and
    then is moved away so that they are visible again.
  3. When I have dragged the window the widgets are on off the screen and
    then moved them back.

Basically it seems that anytime they are redrawn that there is a potential
of corruption.

Hope this gives further insight into the problem.

Jim

gui@qnx.com > wrote in message …
Hello Jim

THere was one button that kept giving me a hard time and that was the
last PtNumericButton. It was corrupt when the dialog box would first
load but after clicking on it would be fix it. I deleted this
PtNumericInteger widget and cut and paste the one above it in to it’s
place and gave it the same name as the widget that I deleted and it seemed
to work fine. Can you try this on your end and see if that fixes at least
some of the problems that you have been experiencing? Is it the same widget
that gives you a problem over and over again or is it different ones? I
know this may seem weird (at least it does for me) but if it fixes your
problem for at least the time being then it is worth a shot.

\

Please don’t assume that I am blaming hardware, but could you tell me
what kind of hardware you are using? I’m going to test this a little

further here and depending on what I turn up submit a > bug report about
it. It just helps to know what types of hardware the problem is
occuring on.

I realize your talking to Jim, but I have seen it on a variety of
hardware, but most often on a plain old VGA (no acceleration 640x480).

Hi Rodney,

Thanks for pursuing this.

I have seen it on at least 7 different machines. The 2 I work with daily
are:

  1. Gateway GP6-450, pentium II, 450 MHZ, x86 Family 6 Model 5 Stepping 2,
    AT/AT Compatible, 128 MB RAM, 2 3dfx Voodoo3 video cards

  2. Gateway Solo 9300xl laptop, x86 Family 6 Model 8 Stepping 1 GenuineIntel
    ~600 Mhz, 128 MB RAM, ATI Technologies RAGE P/M Mobility AGP 2X 8 MB RAM

The others are Pentium type boxes with various graphics cards, etc.
Gateway Pentium III - 600, AGP type video card, 1280x1024, 128 MB RAM
Gateway Pentium II - 333, ATI video, 1280x1024 8bit color, 64 MB RAM
Brand X - Pentium III - 500, 1280x1024 16 bit color
Gateway P5-90, Pentium - 90, 1280x1024 8 bit 256 color, 64 MB RAM
eMachine - Pentium III - 550, 1600x1200 16 bit High Color/64 k, 64 MB
RAM

Hope this info helps.

Jim


gui@qnx.com wrote in message …

Hi Jim

Please don’t assume that I am blaming hardware, but could you tell me what
kind of hardware you are using? I’m going to test this a little further

here and depending on what I turn up submit a bug report about it. It just
helps to know what types of hardware the problem is occuring on.

Thanks
Rodney

Previously, Jim wrote in qdn.public.qnx4.photon:
Hi Rodney,

I did what you asked and deleted the PtNumericInteger that was corrupting
and then copied the one above giving it the same name. When I ran it,
they
all looked ok. Then I moved a pterm window in front of the widgets about
5 - 10 times and then the next widget down which is a PtNumericFloat
corrupted in its updown buttons.

I have tried every combination that I could think of on my application
and
it still keeps happening. It appears to be more frequent with certain
widgets, but it also appears on other ones. The problem is hard to know
if
it is fixed, because the widgets may look fine for a while and then they
start corrupting. I have seen them corrupt in 3 different ways:

  1. When they first appear.
  2. When something else like a window, dialog, or pterm has hidden them
    and
    then is moved away so that they are visible again.
  3. When I have dragged the window the widgets are on off the screen and
    then moved them back.

Basically it seems that anytime they are redrawn that there is a
potential
of corruption.

Hope this gives further insight into the problem.

Jim

Hi.

This is a known problem (one to two years). I had posted about this on
QUICS several times and I was told it would be fixed in the next release.

This problem is still there :frowning:. It would be nice to see this gone. It’s
difficult to explain to my users that this is a problem with Photon and not
my code.

Thanks

Augie

<gui@qnx.com> wrote in message
news:Voyager.010322112533.557077A@localhost.localdomain

Hi

Could either of you send me a small sample app so I can test it out here.
Depending on what I find I will submitt a PR or I will ask for more info.

Thanks
Rodney


Previously, Jack Rosenbloom wrote in qdn.public.qnx4.photon:
I have a display with 8 of these widgets. One of them is corrupted 90%
of the time after first painting. Sometimes, a second is also corrupted.

The other 6 are always fine. Once I use the corrupted decrement button, it
fixes itself.

Jim wrote:

I am having problem with the PtNumericInteger widget in that the
up/down
buttons will often become graphically corrupt (eg the down arrow may
become
a black block or have a black stripe through it.) I have tried
multiple
things to no avail.

A couple things about this situation are:

  1. Using QNX 4.25 Patch C and Photon 1.14
  2. It appears on dialog boxes that are part of a “folder” motif.
  3. Because they are on a “folder”, the widgets are created/destroyed
    often.
  4. I even force a PtDamageWidget upon first creation and then upon
    any
    Ph_EV_EXPOSE events. One affect that this seems to have is that it
    can move
    the corruption from the up arrow to the down arrow.
  5. The problem is spuratic and affects various PtNumericInteger’s at
    different times, though it tends to stay with certain ones.
  6. The problem is quite frequent.

If you have any suggestions, I would greatly appreciate them. Thanks.

Jim Momeyer

Jack Rosenbloom
Webcraft Mail Systems
Manager, Process Control Systems Engineering
4371 County Line Road
Chalfont PA. 18914
Phone: (215) 997-5269
FAX: (215) 997-5455
E-Mail > jrosenbloom@webcraft.com

I never see it when I run using Phindows under win95 on an HP Vectra with Matrox MGA-G100-AGP video and PentiumII 350 Mhz.

I always see it with target HW which is a 233mhz Pentium I and uses a local video display with QNX driver

#1024,768,200,1CDRB,1rge mach64(Rage)

Some systems use 800x600 with same problem.




gui@qnx.com” wrote:

Hi Jim

Please don’t assume that I am blaming hardware, but could you tell me what kind of hardware you are using? I’m going to test this a little further here and depending on what I turn up submit a bug report about it. It just helps to know what types of hardware the problem is occuring on.

Thanks
Rodney

Previously, Jim wrote in qdn.public.qnx4.photon:
Hi Rodney,

I did what you asked and deleted the PtNumericInteger that was corrupting
and then copied the one above giving it the same name. When I ran it, they
all looked ok. Then I moved a pterm window in front of the widgets about
5 - 10 times and then the next widget down which is a PtNumericFloat
corrupted in its updown buttons.

I have tried every combination that I could think of on my application and
it still keeps happening. It appears to be more frequent with certain
widgets, but it also appears on other ones. The problem is hard to know if
it is fixed, because the widgets may look fine for a while and then they
start corrupting. I have seen them corrupt in 3 different ways:

  1. When they first appear.
  2. When something else like a window, dialog, or pterm has hidden them and
    then is moved away so that they are visible again.
  3. When I have dragged the window the widgets are on off the screen and
    then moved them back.

Basically it seems that anytime they are redrawn that there is a potential
of corruption.

Hope this gives further insight into the problem.

Jim

gui@qnx.com > wrote in message …
Hello Jim

THere was one button that kept giving me a hard time and that was the
last PtNumericButton. It was corrupt when the dialog box would first
load but after clicking on it would be fix it. I deleted this
PtNumericInteger widget and cut and paste the one above it in to it’s
place and gave it the same name as the widget that I deleted and it seemed
to work fine. Can you try this on your end and see if that fixes at least
some of the problems that you have been experiencing? Is it the same widget
that gives you a problem over and over again or is it different ones? I
know this may seem weird (at least it does for me) but if it fixes your
problem for at least the time being then it is worth a shot.


\

Jack Rosenbloom
Webcraft Mail Systems
Manager, Process Control Systems Engineering
4371 County Line Road
Chalfont PA. 18914
Phone: (215) 997-5269
FAX: (215) 997-5455
E-Mail jrosenbloom@webcraft.com

I agree with Augie. I’m explaing how superior this OS (GUI) is and after
that I get this graphics mess. It’s very hard to explain… I struggle with
this problem from begining of PtNumber* existence (Ph1.12). It seems that
problem is with ordering widget within container. Place PtNumberWidget* to
front of all widget (Ctrl-F) little and sometime helps. Just reorder
widgets… But this is not solution that always helps. Is there any trick to
correct redraw PtNumber* widgets?

Problem was very easy to reproduce in ph1.13. Place 8
PtNumericInteger(Float) to window, save, generate, make, run…

Martin

----- Original Message -----
From: Augie Henriques <augiehenriques@hotmail.com>
Newsgroups: qdn.public.qnx4.photon
Sent: Tuesday, March 27, 2001 6:52 PM
Subject: Re: PtNumericInteger UpDown buttons are corrupting


Hi.

This is a known problem (one to two years). I had posted about this on
QUICS several times and I was told it would be fixed in the next release.

This problem is still there > :frowning:> . It would be nice to see this gone. It’s
difficult to explain to my users that this is a problem with Photon and
not
my code.

Thanks

Augie

gui@qnx.com> > wrote in message
news:> Voyager.010322112533.557077A@localhost.localdomain> …
Hi

Could either of you send me a small sample app so I can test it out
here.
Depending on what I find I will submitt a PR or I will ask for more info.

Thanks
Rodney


Previously, Jack Rosenbloom wrote in qdn.public.qnx4.photon:
I have a display with 8 of these widgets. One of them is corrupted
90%
of the time after first painting. Sometimes, a second is also corrupted.
The other 6 are always fine. Once I use the corrupted decrement button,
it
fixes itself.

Jim wrote:

I am having problem with the PtNumericInteger widget in that the
up/down
buttons will often become graphically corrupt (eg the down arrow may
become
a black block or have a black stripe through it.) I have tried
multiple
things to no avail.

A couple things about this situation are:

  1. Using QNX 4.25 Patch C and Photon 1.14
  2. It appears on dialog boxes that are part of a “folder” motif.
  3. Because they are on a “folder”, the widgets are
    created/destroyed
    often.
  4. I even force a PtDamageWidget upon first creation and then upon
    any
    Ph_EV_EXPOSE events. One affect that this seems to have is that it
    can move
    the corruption from the up arrow to the down arrow.
  5. The problem is spuratic and affects various PtNumericInteger’s
    at
    different times, though it tends to stay with certain ones.
  6. The problem is quite frequent.

If you have any suggestions, I would greatly appreciate them.
Thanks.

Jim Momeyer

Jack Rosenbloom
Webcraft Mail Systems
Manager, Process Control Systems Engineering
4371 County Line Road
Chalfont PA. 18914
Phone: (215) 997-5269
FAX: (215) 997-5455
E-Mail > jrosenbloom@webcraft.com

\

I have seen this too with a current project.
Didn’t know what it was until I saw this post today.

Martin Michalek wrote:

I agree with Augie. I’m explaing how superior this OS (GUI) is and after
that I get this graphics mess. It’s very hard to explain… I struggle with
this problem from begining of PtNumber* existence (Ph1.12). It seems that
problem is with ordering widget within container. Place PtNumberWidget* to
front of all widget (Ctrl-F) little and sometime helps. Just reorder
widgets… But this is not solution that always helps. Is there any trick to
correct redraw PtNumber* widgets?

Problem was very easy to reproduce in ph1.13. Place 8
PtNumericInteger(Float) to window, save, generate, make, run…