Bug 4126

Images are ignored for datawindows controls when using a custom theme 16 October, 2020

Philippe BUCAILLE
19 February, 2020
Product: PowerBuilder Category: Controls & UI
Version: 2019 R2 Beta Build:
Classification: Appeon bug Publishing: Public
Priority: P3
Status: Scheduling Reason:
Ken Guo @Appeon 16 October, 2020
#13
Hi Philippe,

Thanks very much for the testing. I am glad that this issue has been solved.
We will fix it in PB 2019 R3 GA.

Regards,
Ken
Philippe BUCAILLE 16 October, 2020
#12
Hi Ken,

Sorry, I didn't have time to look into the problem before.

After extensive testing everything works fine.

Issue 1: Correct, there was a wrong file name specified image
Issue 2: This was from missing pictures for the pressed state

Regards,
Philippe
Ken Guo @Appeon 15 October, 2020
#11
Hi Philippe,

I haven’t received any update from you yet, does the issue still exist?

For issue 1, have you corrected the content of the theme-w_main.json file and then tested?
For issue 2, have you checked whether the effect of Pressed is the same as the configuration of the theme-w_main.json file?

If you encounter any issues, please let us know ASAP so that we could fix it in time.


Regards,
Ken
Ken Guo @Appeon 10 October, 2020
#10
Hi Philippe,

Issue 1: the arrow of the dropdown list.
This is caused by that the image specified in theme-w_mian.json is incorrect. We suggest that you change 
"arrow-image":{"file":"xxxx.png"}
to:
"arrow-image":{"file":"dropdownlistbox-arrow-normal-interne.png"}

Issue 2: The pressed state is no longer for windows controls
When I tested this, the pressed state was normal, including the color and image of the Checkbox control in the window.
Can you elaborate on this issue for us?

Regards,
Ken
Philippe BUCAILLE 09 October, 2020
#9
theme_bug_4126.png (19KB)

(In reply to Ken Guo @Appeon from comment #8)
pbtheme.dll

Hi Philippe,

We have fixed this issue, and please use the attached DLL to verify it. If
there is any issue, please let us know.

Verification steps:
1. Install PB 2019 R3 Beta.
2. Download the attached zip file and unzip it, then copy the pbtheme.dll
file inside to the installation directory of the following PB runtime and
replace the original file.
The default path for PB Runtime for 32-bit is: C:\Program Files
(x86)\Appeon\Common\PowerBuilder\Runtime 19.2.0.2556.
The default path for PB Runtime for 64-bit is: C:\Program Files
(x86)\Appeon\Common\PowerBuilder\Runtime 19.2.0.2556\x64.
3. Restart the PB IDE and run the case to verify.

Regards,
Ken
Hi Ken, The problem has been partially resolved. For the datawindow, it's good for the checkbox and radio-button but still not for the arrow of the dropdown list (state hovered over OK). For windows controls, there is a regression, the pressed state is no longer good. Thanks for your help. Regards, Philippe
Ken Guo @Appeon 09 October, 2020
#8
pbtheme.dll

Hi Philippe,

We have fixed this issue, and please use the attached DLL to verify it. If there is any issue, please let us know.

Verification steps:
1. Install PB 2019 R3 Beta.
2. Download the attached zip file and unzip it, then copy the pbtheme.dll file inside to the installation directory of the following PB runtime and replace the original file.
The default path for PB Runtime for 32-bit is: C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 19.2.0.2556.
The default path for PB Runtime for 64-bit is: C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 19.2.0.2556\x64.
3. Restart the PB IDE and run the case to verify.

Regards,
Ken
Ken Guo @Appeon 30 September, 2020
#7
Hi Hassan,

We are sorry that we didn’t update you in time on the progress of this issue. 
Our development team is working on fixing this issue and it is estimated to be fixed in PB 2019 R3 GA. 

We will provide you an internal DLL in the middle of Oct. so that you can verify the fix in advance. 


Regards,
Ken
Chris Pollach @Appeon 29 September, 2020
#6
Ken;

  Please see ticket # 5343 for an update.

Regards ... Chris
Ken Guo @Appeon 19 March, 2020
#5
Hi Philippe ,

Thanks for reporting this problem! We reproduced it on our end and will do further research to figure it out. We will keep you posted about the progress.

Regards,
Ken
armando herrera @Appeon 19 March, 2020
#4
Hi Philippe 

Thank you very much for your test case, I'm passing this case to the Engineering Team for them to analyze it. We'll keep you posted. 

Regards!
Philippe BUCAILLE 20 February, 2020
#3
ThemeBug.zip (286KB)

Hi Chris,

You will find attached a small example reproducing the problem
Chris Pollach @Appeon 19 February, 2020
#2
Hi Phillippe;

  Would you happen to have a small PB App as a "Test Case" including your JSON files that you could attach to this ticket? This would make our job of pinning down / confirming the issue much, much easier.

Many thanks in advance!
Regards ... Chris
Philippe BUCAILLE 19 February, 2020
#1
datawindow_custom_theme.JPG (164KB)

I created a specific theme for an application window with a json theme-w_foupagecpt.json file. The specific images for the datawindow control (w_foupagecpt$datawindow) in this file are ignored (checkbox, dropdownlistbox, radiobutton), the colors are well applied. These are the images of the overall theme that appears.
For the other controls present in the file (window, dropdownlistbox), the properties are displayed correctly (see attached file).

If I remove the prefix w_foupagecpt in the different sections and use it as a global theme, it works correctly.

I checked several times the syntax of the file without seeing any error and the actual presence of the images. The json file is valid (verification performed by a validator).
OS:
Windows 10
Platform:
64-bit
Database Type:
SAP SQL Anywhere
Database Version:
8 and 17