Recent

Author Topic: Strange appearance of TEdit corners - the are became black sometimes.  (Read 4592 times)

tersion

  • New Member
  • *
  • Posts: 11
Strange appearance of TEdit component corners - they are became black sometimes. After switching focus from one TEdit to another, corners of previous TEdit get strange 1px dot. Example in attachments. For comparison, in app build by Qt Framework there is now such problem.
Tested in Lazarus v2.0.12 r64642 on Windows 7 Pro.

wp

  • Hero Member
  • *****
  • Posts: 11910
Re: Strange appearance of TEdit corners - the are became black sometimes.
« Reply #1 on: March 22, 2021, 01:20:37 pm »
Is this a native Windows? My screenshot shows that native edit boxes in Win10 have a uniform color, no 3D effect. Do you use qt5 on Windows?

[EDIT]
I see now that you have Win 7 - added this screen shot, too. No dark corner points.
« Last Edit: March 22, 2021, 01:26:52 pm by wp »

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1186
    • Burdjia
Re: Strange appearance of TEdit corners - the are became black sometimes.
« Reply #2 on: March 22, 2021, 01:57:35 pm »
Maybe that's the style.  Change to other style or change the colors to se if it still draws the black corners.
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

tersion

  • New Member
  • *
  • Posts: 11
Re: Strange appearance of TEdit corners - the are became black sometimes.
« Reply #3 on: March 22, 2021, 02:08:15 pm »
wp, to be clear - I compare Lazarus (win32\64 widget set) compiled app behavior with Qt (using Qt creator) app. Yes, on Win 10 there are no such problem because of the style I suppose. Here the link to the video, that show what I'm talking about. Don't look at mouse cursor, it's that small because of recording software.
There are no 100% pattern which reproduce this problem. I click left mouse button changing TEdit focus from one to another and sometimes it's reproduce, sometimes not... I'm confused.
And such "bug" has every component which allow text input, even TMemo.
« Last Edit: March 22, 2021, 02:25:15 pm by tersion »

dseligo

  • Hero Member
  • *****
  • Posts: 1219
Re: Strange appearance of TEdit corners - the are became black sometimes.
« Reply #4 on: March 22, 2021, 05:22:54 pm »
Did you test on different Win 7 installation or only on one? It could be something hardware or Windows related.

tersion

  • New Member
  • *
  • Posts: 11
Re: Strange appearance of TEdit corners - the are became black sometimes.
« Reply #5 on: March 22, 2021, 07:33:37 pm »
Did you test on different Win 7 installation or only on one? It could be something hardware or Windows related.
Fresh install of Windows 7 in VM, still the same problem. See in attachment. As you can see by icon in main form, this app is build by CodeTyphon. Just to test if problem appear there. And it's there also.
« Last Edit: March 22, 2021, 07:36:02 pm by tersion »

 

TinyPortal © 2005-2018