1. Simone Olianti
  2. PowerBuilder
  3. Tuesday, 7 April 2020 07:16 AM UTC

Hello everyone, i've successfully migrated my application from PB 2017 R3 to PB 2019 R2. Everything working fine, but i've noticed a strange behaviour of the application icon. It's showing correctly in the application additional properties inside PB ide and in the upper left corner of the mdi app frame during runtime.
But It doens't show up in the windows 10 app toolbar. Any ideas?

i'll add a pair of screenshots to make my question more understandable

tia,

  simone

Attachments (2)
Accepted Answer
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 8 April 2020 14:25 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Simone,

Appeon has passed the bug report through with priority P2, so I think we can set this question as answered?

regards,

MiguelL

Comment
  1. Simone Olianti
  2. Wednesday, 8 April 2020 21:31 PM UTC
Yes, i think so
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Thursday, 9 April 2020 06:06 AM UTC
Fix for this will come soon.
  1. Helpful
  1. Simone Olianti
  2. Thursday, 9 April 2020 06:21 AM UTC
thank you Armeen!
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 7 June 2021 20:09 PM UTC
  2. PowerBuilder
  3. # 1

Hi Buck;
   FWIW: No issues either way for me in PB2019R3 Build 2703 (MR01) ...

File Manager ...

Execution ...

PS: I am now on new W10 21H1 build 19043.1023

Regards ... Chris

Comment
There are no comments made yet.
Joon Choi Accepted Answer Pending Moderation
  1. Monday, 7 June 2021 19:37 PM UTC
  2. PowerBuilder
  3. # 2

We are having the same issue now in PB2019 R3 2670.  The icon shows up in dev mode but not in compiled.

Also in File Manager the PB12.6 version shows the icon, the PB2019 R3  version does not

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 9 April 2020 14:30 PM UTC
  2. PowerBuilder
  3. # 3

Hi Ken;

   The PBVM190.dll fix did the trick for me W10 taskbar icon wise.  :-)

Regards ... Chris

Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Thursday, 9 April 2020 05:48 AM UTC
  2. PowerBuilder
  3. # 4

Wow that's fast service Ken! I tested the 32bit version and it works!

Comment
There are no comments made yet.
Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Thursday, 9 April 2020 05:35 AM UTC
  2. PowerBuilder
  3. # 5

Hi Miguel,

Thanks for reporting this issue.
Our developers have fixed this issue immediately. Attached please find the PBVM190.dll to verify and see if it works.
Please replace the attached PBVM190.dll with the one under the Shared folder.

Regards,
Ken

Attachments (1)
Comment
  1. Miguel Leeuwe
  2. Thursday, 9 April 2020 05:54 AM UTC
Wow that's fast service Ken! I tested the 32bit version and it works!

I've updated the bug report with the same text and a request to publish this kind of early fixes on the download website for any unaware users.

Thank you very much.
  1. Helpful
  1. Simone Olianti
  2. Thursday, 9 April 2020 06:20 AM UTC
wow

Appeon rules!
  1. Helpful
  1. Ken Guo @Appeon
  2. Thursday, 9 April 2020 09:12 AM UTC
Hi Miguel,



We have added a knowledge base regarding this issue now:

https://www.appeon.com/developers/get-help/knowledgebase/powerbuilder-runtime-files-2019-r2-2323.html



Regards,

Ken



  1. Helpful
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Wednesday, 8 April 2020 19:16 PM UTC
  2. PowerBuilder
  3. # 6

I build via orcascript:  

build executable "bin\myapp.exe" "exec\resource\myapp.ico" "exec\resource\resource.pbr" "" newvstylecontrols

 

building this way, i have no problem with the icon

 

So, i think it could very well be a bug when building in the IDE, and possibly/probably the PBC

 

 

 

 

Comment
  1. mike S
  2. Wednesday, 8 April 2020 21:51 PM UTC
so you set the application icon in the build executable orcascript line?



  1. Helpful
  1. Miguel Leeuwe
  2. Thursday, 9 April 2020 04:54 AM UTC
Hi Mike, does it work for you if you do NOT use orcascript?
  1. Helpful
  1. mike S
  2. Thursday, 9 April 2020 13:59 PM UTC
no idea. I don't even have a project for my applications. I only build with orcascript or with powergen. I have everything on a VM since i was running the beta before, it is really just a build machine.
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 8 April 2020 10:12 AM UTC
  2. PowerBuilder
  3. # 7
Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 8 April 2020 13:41 PM UTC
HI Miguel ... ticket received!

I was able to replicate this issue on any EXE - even when the App uses a lower quality .ICO image. :-(
  1. Helpful
  1. Miguel Leeuwe
  2. Wednesday, 8 April 2020 14:23 PM UTC
Thanks for setting the bug to P2, yes I agree, this would be quite an obstacle for any company.

I've tried to see if we could use a tool like http://www.angusj.com/resourcehacker/#download to change the icon in the executable, once it's build, but have not been able to get that to work.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 8 April 2020 16:03 PM UTC
I don't think its the image in the EXE that is the issue as it displays OK in File Manager and on the Window(s) at App execution time. It's just when you see the Window icon on the W10 task bar. BTW: Apps built and executed via the PB2019 MR (build 2170) display the icon correctly on the W10 taskbar. So this is definitely an R2 issue. :-(
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 8 April 2020 10:08 AM UTC
  2. PowerBuilder
  3. # 8

I've made a small test application, see attached:

It uses a pbr file with an icon.

Attachments (1)
Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 8 April 2020 09:48 AM UTC
  2. PowerBuilder
  3. # 9

This is a piece of exported code of my application object. On the left PB 2017 R3, on the right PB 2019R2, so there's definitely at least be a change (and probably a good one):

Previously, we would loose the icon now and then and have to re-assign it. The icon was saved somewhere in an attribute of the pbl or the directory I seem to remember. So the effort is a good one, to include it now in the object.

I'll try to make a test application to report this as a bug, or maybe I figure out what's needed to make it work, since Michael doesn't seem to have the problem.

Comment
  1. Miguel Leeuwe
  2. Wednesday, 8 April 2020 10:24 AM UTC
My manager hates the themes, so I'm not using them either.

My executable in the sample application is 32 bit, PBD. I've tried without pbd, machine code, p-code, without pbr, etc. It just doesn't work. Maybe it's a windows 10 problem, I would not be surprised.
  1. Helpful
  1. Miguel Leeuwe
  2. Wednesday, 8 April 2020 10:24 AM UTC
The icon does show on the left top of the window though ...
  1. Helpful
  1. Miguel Leeuwe
  2. Wednesday, 8 April 2020 10:29 AM UTC
I've tried to use a theme: no difference. It's a bug, let's just see what Appeon comes up with.
  1. Helpful
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Tuesday, 7 April 2020 14:20 PM UTC
  2. PowerBuilder
  3. # 10

works fine for me.  Its on the app bar as well as start menu.  

 

Do you see the icon on the exe in the folder where the application is installed? 

How did you install the application?

How did you put the icon on the app bar?

 

Comment
  1. Miguel Leeuwe
  2. Wednesday, 8 April 2020 14:28 PM UTC
@Mike, are you sure you are using PB2019-R2?
  1. Helpful
  1. Miguel Leeuwe
  2. Wednesday, 8 April 2020 14:36 PM UTC
If I create a shortcut, without changing the embedded icon, the icon DOES show correctly. Weird
  1. Helpful
  1. mike S
  2. Wednesday, 8 April 2020 19:02 PM UTC
yes, the released 19R2 build
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Tuesday, 7 April 2020 09:03 AM UTC
  2. PowerBuilder
  3. # 11

Well spotted Simone,

 

Same thing happening here:

This is a new BUG !

regards

Comment
  1. Armeen Mazda @Appeon
  2. Tuesday, 7 April 2020 14:57 PM UTC
Please open a support ticket if you think it is a bug. Thanks!
  1. Helpful
  1. Miguel Leeuwe
  2. Wednesday, 8 April 2020 10:12 AM UTC
  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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.