1. Stephan Schröpel
  2. PowerBuilder
  3. Wednesday, 14 September 2022 11:11 AM UTC

Hello Powerbuilder Developers,

after updating to PB2022 there are graphics issues on response and popup windows:

Some graphic Objects are not shown, for example buttons. After Mouseover they are displayed.

I changed several properties, colors, theme, but no difference. See mp4 videofile attached in zip.

 

Any ideas or solutions?

 

Thank you all

Stephan

Attachments (1)
kitty he @Appeon Accepted Answer Pending Moderation
  1. Sunday, 9 October 2022 05:05 AM UTC
  2. PowerBuilder
  3. # 1

Hi Stephan,

This issue is fixed. Please refer to the hotfix for bug ID: 8998 in this link: https://docs.appeon.com/pb/release_bulletin_for_pb/known_issues.html

 

Regards,

Kitty

Comment
There are no comments made yet.
Benjamin Lopez Accepted Answer Pending Moderation
  1. Friday, 7 October 2022 14:38 PM UTC
  2. PowerBuilder
  3. # 2

Dear Community

I've run into the same error, and have tried every possible help, but have found that on some windows i don't have the problem.

In those windows with the problem i have determined that it is by the following line of code in the open event:
This.Icon = gstr_app.Icon or This.Icon = ""

I comment this line and there are no drawing problems in the window. Attached images

 

 

 

Comment
  1. Stephan Schröpel
  2. Friday, 7 October 2022 17:09 PM UTC
Dear Benjamin

good advice!

I just checked my default application icon and compared it with a Microsoft Standard Icon.

There was a difference: My 256x256 32bpp was not "packed" .

I converted it in a packed one and tested: No Graphic issues - so far



best regards

Stephan
  1. Helpful
There are no comments made yet.
PowerObject ! Accepted Answer Pending Moderation
  1. Wednesday, 14 September 2022 15:26 PM UTC
  2. PowerBuilder
  3. # 3

If only your response windows are having this issue, check their Window OpenAnimation and CloseAnimation properties - make sure they are set to NoAnimation!

Also check the ancestry chain of the response window to see if their animation properties got changed somewhere in the hierarchy.

Comment
  1. Stephan Schröpel
  2. Wednesday, 14 September 2022 15:34 PM UTC
Hi PowerObject

unfortunately no anymation used. I also had checked this before. But it seems not to be the cause of this.

Regards Stephan
  1. Helpful
There are no comments made yet.
Adrian Galvan Accepted Answer Pending Moderation
  1. Wednesday, 14 September 2022 15:11 PM UTC
  2. PowerBuilder
  3. # 4

Hi Stephan and Chris,

We had the same problem. We do have PFC and we tried with themes and without themes.

What worked for us so far was a Post SetRedraw(True) on the open event.

But we still see some lag in redraw when resizing.

Regards,

Adrian

 

Attachments (1)
Comment
  1. Stephan Schröpel
  2. Wednesday, 14 September 2022 15:19 PM UTC
Hi Adrian

yes, this is working. Thank you! A good workaround

  1. Helpful
  1. Adrian Galvan
  2. Wednesday, 14 September 2022 17:48 PM UTC
Still not what we’re looking for in PB. I hope it gets resolved.



Regards

Adrian
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 14 September 2022 18:12 PM UTC
Thanks for the feedback Adrian!

FYI: We now have ticket # 8978 open for this issue
  1. Helpful 2
There are no comments made yet.
Stephan Schröpel Accepted Answer Pending Moderation
  1. Wednesday, 14 September 2022 15:04 PM UTC
  2. PowerBuilder
  3. # 5

Hi Chris,

attached two screenshots. 

First: opened without any changes or clicks

Second: Moved at the titlebar using mouspointer. Properly redrawn

best regards

Stephan

Attachments (2)
Comment
There are no comments made yet.
Stephan Schröpel Accepted Answer Pending Moderation
  1. Wednesday, 14 September 2022 13:36 PM UTC
  2. PowerBuilder
  3. # 6

Hello Chris,

I just updated my graphic driver, to be shure to be on the latest version. But no effect.

Maybe its a redrawing problem. Attached an other video file with two records: first part is redrawing by mouseover, in the second part i switch to another tab back and forth. It is also redrawing the items.

 

best regards

Stephan

 

Attachments (1)
Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 14 September 2022 20:15 PM UTC
Thank you for the feedback Stephan. This seems to be an issue for a few other customers when 1st using PB2022 GA.

I still cannot pinpoint the issue / cause though.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 14 September 2022 11:48 AM UTC
  2. PowerBuilder
  3. # 7

Hi Stephan;

   I was just talking to another customer late last night who was having the same issues. I'm not sure what was causing it but will be investigating this anomaly further with them today. He is running on a VM.

  I'm running PB2022 on both W10 & W11 latest editions with no such issues. However, I am using real PC 's.

  Perchance, are you on a VM?

Regards ... Chris 

Comment
  1. Stephan Schröpel
  2. Wednesday, 14 September 2022 12:00 PM UTC
...I had a similiar problem on PB2019 redrawing datastore rows in a treeview datawindow. There have been some .gif-Files with indexed colors . After replacing with .png, the problem was gone. . But in this case, there is no other graphic. Maybe in the theme? I switched to the latest 2022 themes, but no difference.



Regards Stephan
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 14 September 2022 14:19 PM UTC
Hi Stephan;

A few more questions ...

1) Does your App use the PFC framework?

2) Does your App have code in the Open / Constructor events vs using a POST Open / POST Constructor user events?

Regards ... Chris

  1. Helpful
  1. Stephan Schröpel
  2. Wednesday, 14 September 2022 15:01 PM UTC
Hi Chris

No PFC used, There is no Post code in the open or constructor event.

But not all of the Popup Windows have this Problem. Only a few. When I move them using the titlebar, they are properly redrawn too.

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.