Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Visual artifacts


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 10 - Last Post: Jan 9, 2018 11:13 AM Last Post By: Markus Humm
abay rakhmet

Posts: 25
Registered: 7/20/16
Visual artifacts  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 4, 2018 8:30 AM
Delphi 25.0.29039.2004 + TListView + Google Pixel + Google Android 7.1.0 (+ 7.1.2, + 8.1.0).

When I set for items Text/Detail "Font.Size = 20" (and above) I see this: https://i.imgur.com/Y3roJ0J.png

Pure Google Android 7 or 8 - no matter.

+ more: http://fire-monkey.ru/topic/4577-артефакты-вокруг-текста/

Why? And how to fix it?

loki loki

Posts: 787
Registered: 7/1/02
Re: Visual artifacts  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 4, 2018 9:13 AM   in response to: abay rakhmet in response to: abay rakhmet
On 1/4/2018 7:30 PM, abay rakhmet wrote:
Delphi 25.0.29039.2004 + TListView + Google Pixel + Google Android 7.1.0 (+ 7.1.2, + 8.1.0).

When I set for items Text/Detail "Font.Size = 20" (and above) I see this: https://i.imgur.com/Y3roJ0J.png

Pure Google Android 7 or 8 - no matter.

+ more: http://fire-monkey.ru/topic/4577-артефакты-вокруг-текста/

Why? And how to fix it?


For what i know this is cause by the openGL antialising (interpolation)
system. each letter is internally a texture, and when you print a
texture, opengl antialias the image. this is quite normal as most of the
time the picture don't feet exactly the dimension, but for image
containing text and transparent background (like yours) this can produce
ugly results.

Try to set the form.quality to lowest and see if it's change something.
abay rakhmet

Posts: 25
Registered: 7/20/16
Re: Visual artifacts  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 4, 2018 9:29 AM   in response to: loki loki in response to: loki loki
loki loki wrote:
On 1/4/2018 7:30 PM, abay rakhmet wrote:
Delphi 25.0.29039.2004 + TListView + Google Pixel + Google Android 7.1.0 (+ 7.1.2, + 8.1.0).

When I set for items Text/Detail "Font.Size = 20" (and above) I see this: https://i.imgur.com/Y3roJ0J.png

Pure Google Android 7 or 8 - no matter.

+ more: http://fire-monkey.ru/topic/4577-артефакты-вокруг-текста/

Why? And how to fix it?


For what i know this is cause by the openGL antialising (interpolation)
system. each letter is internally a texture, and when you print a
texture, opengl antialias the image. this is quite normal as most of the
time the picture don't feet exactly the dimension, but for image
containing text and transparent background (like yours) this can produce
ugly results.

Try to set the form.quality to lowest and see if it's change something.

HighPerformance and HighQuality- these options do not help :(
loki loki

Posts: 787
Registered: 7/1/02
Re: Visual artifacts  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 4, 2018 11:02 AM   in response to: abay rakhmet in response to: abay rakhmet
On 1/4/2018 8:29 PM, abay rakhmet wrote:
loki loki wrote:
On 1/4/2018 7:30 PM, abay rakhmet wrote:
Delphi 25.0.29039.2004 + TListView + Google Pixel + Google Android 7.1.0 (+ 7.1.2, + 8.1.0).

When I set for items Text/Detail "Font.Size = 20" (and above) I see this: https://i.imgur.com/Y3roJ0J.png

Pure Google Android 7 or 8 - no matter.

+ more: http://fire-monkey.ru/topic/4577-артефакты-вокруг-текста/

Why? And how to fix it?


For what i know this is cause by the openGL antialising (interpolation)
system. each letter is internally a texture, and when you print a
texture, opengl antialias the image. this is quite normal as most of the
time the picture don't feet exactly the dimension, but for image
containing text and transparent background (like yours) this can produce
ugly results.

Try to set the form.quality to lowest and see if it's change something.

HighPerformance and HighQuality- these options do not help :(

I m quite sure it's connected to somethink like this (interpolation),
can you try to see if the zoom factor or anything like this is correctly
set to 1 ?

does the artifact change when you scroll the form by just 1px for example ?

do you have the same problem with a TText ?
abay rakhmet

Posts: 25
Registered: 7/20/16
Re: Visual artifacts  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 4, 2018 11:31 AM   in response to: loki loki in response to: loki loki
loki loki wrote:
On 1/4/2018 8:29 PM, abay rakhmet wrote:
loki loki wrote:
On 1/4/2018 7:30 PM, abay rakhmet wrote:
Delphi 25.0.29039.2004 + TListView + Google Pixel + Google Android 7.1.0 (+ 7.1.2, + 8.1.0).

When I set for items Text/Detail "Font.Size = 20" (and above) I see this: https://i.imgur.com/Y3roJ0J.png

Pure Google Android 7 or 8 - no matter.

+ more: http://fire-monkey.ru/topic/4577-артефакты-вокруг-текста/

Why? And how to fix it?


For what i know this is cause by the openGL antialising (interpolation)
system. each letter is internally a texture, and when you print a
texture, opengl antialias the image. this is quite normal as most of the
time the picture don't feet exactly the dimension, but for image
containing text and transparent background (like yours) this can produce
ugly results.

Try to set the form.quality to lowest and see if it's change something.

HighPerformance and HighQuality- these options do not help :(

I m quite sure it's connected to somethink like this (interpolation),
can you try to see if the zoom factor or anything like this is correctly
set to 1 ?

does the artifact change when you scroll the form by just 1px for example ?

do you have the same problem with a TText ?

1. Yes, it is "1" (1.0, not 0.75 and not 1.5).

2. Yes, when the TListView is scrolling - artifacts are changed.

3. In my case the problem with TListView only.
loki loki

Posts: 787
Registered: 7/1/02
Re: Visual artifacts [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 5, 2018 4:14 AM   in response to: abay rakhmet in response to: abay rakhmet
1. Yes, it is "1" (1.0, not 0.75 and not 1.5).

2. Yes, when the TListView is scrolling - artifacts are changed.

3. In my case the problem with TListView only.

fill a bug report, it's connecting to interpolation of font glyph, don't
know why you have it
abay rakhmet

Posts: 25
Registered: 7/20/16
Re: Visual artifacts [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 5, 2018 7:56 AM   in response to: loki loki in response to: loki loki
loki loki wrote:
1. Yes, it is "1" (1.0, not 0.75 and not 1.5).

2. Yes, when the TListView is scrolling - artifacts are changed.

3. In my case the problem with TListView only.

fill a bug report, it's connecting to interpolation of font glyph, don't
know why you have it

Maybe it's not a bug, but it's a feature (of Delphi' ListView)? I've compiled test Android-app on XE6 - and see the same :(
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: Visual artifacts [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 6, 2018 1:22 AM   in response to: abay rakhmet in response to: abay rakhmet
Am 05.01.2018 um 16:56 schrieb abay rakhmet:
loki loki wrote:
1. Yes, it is "1" (1.0, not 0.75 and not 1.5).

2. Yes, when the TListView is scrolling - artifacts are changed.

3. In my case the problem with TListView only.

fill a bug report, it's connecting to interpolation of font glyph, don't
know why you have it

Maybe it's not a bug, but it's a feature (of Delphi' ListView)? I've compiled test Android-app on XE6 - and see the same :(

I don't think this is a feature and I don't think you'll get around
filing a bugreport. The quicker you do this the better ;-)

If you can add screenshots showing the issue then even better. I guess
you know how to create those? (volume down and power button or volume
down and home button on Samsung)

Greetings

Markus
abay rakhmet

Posts: 25
Registered: 7/20/16
Re: Visual artifacts [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 8, 2018 7:33 PM   in response to: Markus Humm in response to: Markus Humm
Markus Humm wrote:
Am 05.01.2018 um 16:56 schrieb abay rakhmet:
loki loki wrote:
1. Yes, it is "1" (1.0, not 0.75 and not 1.5).

2. Yes, when the TListView is scrolling - artifacts are changed.

3. In my case the problem with TListView only.

fill a bug report, it's connecting to interpolation of font glyph, don't
know why you have it

Maybe it's not a bug, but it's a feature (of Delphi' ListView)? I've compiled test Android-app on XE6 - and see the same :(

I don't think this is a feature and I don't think you'll get around
filing a bugreport. The quicker you do this the better ;-)

If you can add screenshots showing the issue then even better. I guess
you know how to create those? (volume down and power button or volume
down and home button on Samsung)

Greetings

Markus

Why you guys so incredulous? :-/

Here is a v-screencast: https://files.fm/down.php?i=qsgpwy3u (1080x1920)
Here is a h-screencast: https://files.fm/down.php?i=cnf8ktjk (1920x1080)

And here is a test project: https://nofile.io/f/e2VCGG9FBcs/Project1.zip

Hope you will see everything now, all the details/artifacts.
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: Visual artifacts [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 9, 2018 11:13 AM   in response to: abay rakhmet in response to: abay rakhmet
abay rakhmet wrote:

Why you guys so incredulous? :-/

I'm not incredulous. I just know how EMBT thinks/works and that the only way you'll get
the issue fixed (if you think this is a bug, which I guess) is to create a proper bugreport
in quality.embarcadero.com.

It is fine that you have these videos and a test project, so you have all the stuff needed
together, it simply requires you to log in, fill in a few fields and write a little bit of text
explaining rhe issue. Then attach the sample project and include the links to your videos
in your text, click submit and after the system tells you the report number you come here
to post that one. Soon there will be some people who look at your report, vote for it
or follow it or comment it. And hopefully a few days later EMBT opens the report and
starts to work on a fix.

Now that's how stuff in that area works.

Greetings

Markus
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: Visual artifacts  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 4, 2018 2:39 PM   in response to: loki loki in response to: loki loki
Am 04.01.2018 um 20:02 schrieb loki loki:
On 1/4/2018 8:29 PM, abay rakhmet wrote:
loki loki wrote:
On 1/4/2018 7:30 PM, abay rakhmet wrote:
Delphi 25.0.29039.2004 + TListView + Google Pixel + Google Android 7.1.0 (+ 7.1.2, + 8.1.0).

When I set for items Text/Detail "Font.Size = 20" (and above) I see this: https://i.imgur.com/Y3roJ0J.png

Pure Google Android 7 or 8 - no matter.

+ more: http://fire-monkey.ru/topic/4577-артефакты-вокруг-текста/

Why? And how to fix it?


For what i know this is cause by the openGL antialising (interpolation)
system. each letter is internally a texture, and when you print a
texture, opengl antialias the image. this is quite normal as most of the
time the picture don't feet exactly the dimension, but for image
containing text and transparent background (like yours) this can produce
ugly results.

Try to set the form.quality to lowest and see if it's change something.

HighPerformance and HighQuality- these options do not help :(

I m quite sure it's connected to somethink like this (interpolation),
can you try to see if the zoom factor or anything like this is correctly
set to 1 ?

does the artifact change when you scroll the form by just 1px for example ?

do you have the same problem with a TText ?

Would it be worth to file a QP report about it?
Means: would EMBT be able to fix it? If yes, is there already such a
report? if not the OP should create one and tell us the report number.

Best regards

Markus
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02