Questions? Feedback?powered byOlark live chat software
Bug 1894

RTF paper orientation not working 14 January, 2019

Géza Bartha
19 November, 2018
Product: PowerBuilder Category: Controls & UI
Version: 2017 R3 Publishing: Public
Status: Closed Priority: P3
Classification: Appeon bug Resolution: FIXED
Mark Lee 14 January, 2019
Hi Geza,

Yes, this is not a good solution. We apology for the trouble it has caused you  and thanks very much for your understanding!
We will close this ticket. If you have any further question, please open a new ticket.
 
Have a nice day!

Regards,
Mark Lee
Géza Bartha 11 January, 2019
Hi!

Thank you for your reply.

This solution is terrible, but if there is no other solution, we can accept it.

The bug report is closeable.

Best regards,
Geza
Mark Lee 10 January, 2019
Hi Geza,

We apologize for the differences of the RTF format, but currently there is not a good solution unless you can get the rtf content and replace the tag values.
 
The cause of the issue is that PB 2017 R3 uses the TE RichText control from one vendor, while the Built-in TX Text Control on PB 2018/2019 is from another vendor., which is the same as PB 12.6.
The two difference vendors use certain different format tags and cause the issue.
Please refer to the following links for more details:
https://www.appeon.com/support/documents/appeon_online_help/pb2018/whats_new/ch01s01.html 
https://www.appeon.com/support/documents/appeon_online_help/pb2017r3/whats_new/ch04s05.html 
We hope it would help you understand the issue!

Regards,
Mark Lee
Géza Bartha 10 January, 2019
Hi!

I have tried the PB 2018/2019 beta.

When I have installed to new virtual computer, the offered chosen (Built-in TX Text Control) has already chosen.
I have tried, and the paperOrientation was working.
I have choosed another option (Built-in Rich Text), and the PaperOrientation was not working.

BUT I HAVE A BIG PROBLEM.

The formating elements (page orientation, margins) are in the rtf format string. When I Paste  this formatted string, the formatting elements not working. And the formating rtf elements are changing continously. Could you give me any function, to apply the stored format,(setting the saved margins, page orientation, etc )  or give me optional error, if the format string is invalid.

The rtf format sring contains the "pgwsxn....  ", but the paperOrientation not working after the paste, only I have set directly the PaperOrientation property. Why?

The pb 2017 R3 format string use another paperOrientation format string  "\lndscpsxn"  to PaperOrientation and the developer cannot follows the changes.


Regards,
Geza
Mark Lee 07 January, 2019
Hi Geza,

We are pleased to let you know that the beta version of PowerBuilder 2019 (originally named as PowerBuilder 2018) is now released and we’ll be honored to have you join the beta test to verify the reported problem.
 
In this beta, we’ve incorporated back the very same OEM implementation and version of the TX Text Control that was incorporated in PowerBuilder 12.6, in addition to the existing RichText editor options: “Built-in Rich Edit Control” and “TX Text Control ActiveX X14 Professional/Enterprise”.
 
This new built-in TX Text Control does not require any separate purchase or license activation and will theoretically work the same as the one incorporated in PowerBuilder 12.6. So if it does work in PB 12.6 but does not in PB 2017, kindly please test it against this beta of PowerBuilder 2019 and make your impact on the product’s evolution. Your valuable feedback will help us build a product in the near future that works better for you.
 
Please refer to the below steps to test your reported issue:
1.       Download and install this PowerBuilder 2019 beta 1 from https://www.appeon.com/developers/pb-2019-beta.html. You may also check the details of the beta program and the release schedule for PowerBuilder 2019 at this same page.  
2.       In PB IDE, open your application and go to Application (object) --> Additional Properties --> Richtext Edit tab --> switch to Built-in TX Text Control) --> OK.
3.       Save the changes and begin your test.

Regards,
Mark Lee
Mark Lee 20 November, 2018
Hi Geza,

Thanks for your quick update.
Once we have published the PB 2018, we will notice you here.
Thanks for your understanding!

Regards,
Mark Lee
Géza Bartha 20 November, 2018
Hi Chris and Mark!

Thanks for the new informations! We are waiting for the new PB 2018.

Regards,
Geza
Mark Lee 20 November, 2018
Hi Geza,

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.
 
BTW,  PB12.6 works fine.
We apologize that this may not get fixed soon. However in PowerBuilder 2018, we will incorporate back the very same OEM implementation and version of the TX Text Control that was incorporated in PowerBuilder 12.6, in addition to the existing RichText editor options: “Built-in Rich Edit Control” and “TX Text Control ActiveX X14 Professional/Enterprise”.
This new built-in TX Text Control does not require any separate purchase or license activation and will theoretically work the same as the one incorporated in PowerBuilder 12.6. For details, please see the below roadmap:
https://www.appeon.com/developers/roadmap/richtextedit-backwards-compatibility.html
So if it does work in PB 12.6 but does not in PB 2017 and later, we’d recommend you wait for PowerBuilder 2018 for the new built-in TX Text Control solution so that it would work the same as that in PB 12.6.
You can refer to our Roadmap. PB 2018 is planned to be released on Dec. 31, 2018. You can then use the built-in TX Text Control which doesn’t have this issue.
https://www.appeon.com/developers/roadmap

Regards,
Mark Lee
Chris Pollach 19 November, 2018
Hi Geza;


  I have replicated your problem in my RTE Control test. The RTE datum prints perfectly in Portrait mode. However, when Landscape is requested ... not only does it not rotate - the print data is garbled.

   I will now pass this ticket on to the main Support & Engineering teams for further problem resolution.

Regards ... Chris
Chris Pollach 19 November, 2018
Hi Geza;

   Thanks, that's really strange. We'll try & reproduce this issue on our side and advise you ASAP if we can recreate the printer problem.
  
Regards ... Chris
Géza Bartha 19 November, 2018
The Paper orientation under PB 2017 R2 is working, but it is not working on R3

rtfobject.PaperOrientation = PaperPortrait! 
and 
rtfobject.PaperOrientation = PaperLandscape!
OS:
Windows 8 
Platform:
32-bit 
Database Type:
 
Database Version: