1. Jostein Ullestad
  2. PowerBuilder
  3. Thursday, 2 December 2021 14:16 PM UTC

We have developed a desktop client/server application using PowerBuilder 2017 as well as 2019R3 Build 2703, where some users are experiencing flickering/redrawing of the UI.

  • We are only able to reproduce the flicker when sharing the window through Microsoft Teams (when sharing full desktop there is no flicker). I've seen flicker through Teams in other none PowerBuilder applications as well.
  • Our customer is not running through any screen share/remote desktop applications, and experience the flicker on several PC to the extent that they are prevented from using the system.

Has anyone else experienced this case and if so, what could be done with this?

Any help or suggestion is appreciated.

Thank you

Jostein Ullestad Accepted Answer Pending Moderation
  1. Friday, 3 December 2021 06:43 AM UTC
  2. PowerBuilder
  3. # 1

Thank you for your fast response, we will try out your suggestions.

Flickering is also reproducible with another PB tool with hardly any UI elements.

In this case, the menu flickers.

Comment
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Thursday, 2 December 2021 23:51 PM UTC
  2. PowerBuilder
  3. # 2

IF the issue is in your code, running it through DEBUG mode will identify the source of the issue.

IF the issue in in the code and you identify the start and end locations of the flicked, usually because you are either redrawing the same object over and over and/or you are entering and re-entering the same set of events & functions over and over (the process path) - AND if you actually do need to enter and re-enter those events & functions, then you can remove the SetRedraw (TRUE) calls in that process path and instead place a SetRedraw (FALSE) at the start of the OPEN event of the Window and place a SetRedatw (TRUE) at the end of the process path.


Good Luck,

Olan

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 2 December 2021 15:06 PM UTC
  2. PowerBuilder
  3. # 3

Hi Jostein;

   Please update your PB2019 R3 IDE & runtime to build 2728 (MR01). There were Window drawing issues in your release.

Then, please try the following ....

  1. Create a new PB.ini file using Notepad
  2. Add the following sections to your PB.ini file, as follows....
  3. [Data Window]
    Accessibility=0
    
    [DataStore Behavior]
    UseHwnd=no
    
  4. Save the custom PB.ini file & then copy this to your PB App EXE's deployment folder

See if that helps.

Regards ... Chris

Comment
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.