Jump to content

Misterious white area in front of a TUnimPDFFrame


likemike

Recommended Posts

Hello!

I use a TUnimPDFFrame in my app. This works fine on:

Samsung Tablet A6
PC (all browsers)
Microsoft Surface Pro

but not on a Samsung Galaxy Tab S5e.
Here a white area appears in front of the PDF file (Android version 10):

Screenshot_20210426-131935_Chrome.thumb.jpg.ca0bd1f50cf7b01f95c71ee031b655cf.jpg

I've tried different PDF-files, but they all show the same white area. 
It's possible to use the tool buttons and when you push the sixth button from the right (fullscreen) the white area disappears and reapperas, when the back-button is pressed.

Any ideas?

Regards

Mike

Link to comment
Share on other sites

2 hours ago, likemike said:

but not on a Samsung Galaxy Tab S5e.
Here a white area appears in front of the PDF file (Android version 10):

Hello,

How can we reprodice this issue? Can you make a simple testcase to reproduce?

Link to comment
Share on other sites

Hello!

I found the reason for it!

The tablet, which works has Chrome version 89.0.4389.105
The tablet not working has the newest version 90.0.4430.82.

I've updated the working tablet to 90.0.4430.82 too and now I've the same problems on the tablet, which worked before.

Another problem is: UnimCarousel doesn't work in a correct way any more. It show the first UnimCarouselPage, but when I swipe to the second page, the first one is shown again (but you can see 2 dots at the botton, which indicate, that there have to be 2 pages).

Now I try to downgrade Chrome, but these issues with the newest chrome version have to be fixed as soon as possible.

Best regards

Mike

 

Link to comment
Share on other sites

Just now, likemike said:

Now I try to downgrade Chrome, but these issues with the newest chrome version have to be fixed as soon as possible.

Make a simple testcase to reproduce this issue. We will try to analyze it.

Link to comment
Share on other sites

Hello!

I'm a bit desperate. Try to find the error since 3 days - without success.

I have the problem with TUnimPDFFrame and TUnimURLFrame. In both cases the available space is only used by nearly 20%.

For a better understanding I've set the color of a TUnimURLFrame to clRed, Align=alClient, URL=unigui.com.
When I open the form it shows that:

Snap_001_.thumb.jpg.c9a1823b25700b2b557b7e44153c7593.jpg

It looks like the TUnimURLFrame occupies the whole space, but the content only use the upper part.

As you can see in the top right corner there is a scrollbar. The whole unigui homepage can be scrolled with that scrollbar, but the red area isn't used anyway.

Unfortunately I can't reproduce this in a simple testcase - this happens only in my bigger project.
I've tried a lot of different devices
and browsers and the result differs every time (older browser versions seem to work better).
There's nothing unusual in the server-monitor.

Any help or tipp how to get rid of that would be very appreciated.

Regards

Mike

Link to comment
Share on other sites

Hello!

@Sherzod:  I cannot find the error, so I want to ask, if there's a beforeinit or aftercreate JS, which force UnimURLFrame to use the whole space?

I've tried to find a solution by myself, but JS isn't my "core competence".

BTW: sometimes it works, which make the search much more difficult.

Thanks in advance

Mike

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 months later...
  • 9 months later...
  • 2 months later...
×
×
  • Create New...