Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/FireMonkey/Components    [ Add a report in this area ]  
Report #:  122616   Status: Closed
Removing Sides can leave unwanted dots in corners
Project:  Delphi Build #:  19.0.13476.4176
Version:    19.0 Submitted By:   Jeremy North
Report Type:  Basic functionality failure Date Reported:  2/19/2014 5:26:50 PM
Severity:    Serious / Highly visible problem Last Updated: 7/30/2014 2:04:19 AM
Platform:    All versions Internal Tracking #:   47827
Resolution: As Designed (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
If you remove the Left, Right and Bottom sides in a TRectangle control, the bottom left and bottom right corners of the control have a dot the same colour as the stroke in them.

See example application and screen capture to reproduce.

NOTE: You don't need to run the application, viewing it at design time is enough to see the error.
Steps to Reproduce:
Please see attached sample project and screenshot.

1. Open the attached application
2. View the form in the Designer

exp: only top line is drawn in stroke color
act: top line is drawn in stroke color but also dots are visible in the bottom left and right corners of the control.

object Form250: TForm250
  Left = 0
  Top = 0
  Caption = 'Form250'
  ClientHeight = 126
  ClientWidth = 494
  FormFactor.Width = 320
  FormFactor.Height = 480
  FormFactor.Devices = [dkDesktop, dkiPhone, dkiPad]
  DesignerMobile = False
  DesignerWidth = 0
  DesignerHeight = 0
  DesignerDeviceName = ''
  DesignerOrientation = 0
  DesignerOSVersion = ''
  object Rectangle1: TRectangle
    Height = 50.000000000000000000
    Position.X = 32.000000000000000000
    Position.Y = 32.000000000000000000
    Sides = [sdTop]
    Stroke.Color = claRed
    Stroke.Thickness = 2.000000000000000000
    Width = 425.000000000000000000

Tomohiro Takahashi at 2/19/2014 7:54:20 PM -
> Build No: 19.0.13476.4176
Does your issue still occur with XE5 Update2(19.0.14356.6604)?

Jeremy North at 2/20/2014 3:29:35 PM -
BTW, this isn't a Form Designer issue. It is a drawing issue using certain graphics cards.

This issue also occurs on a Surface PRO 2 128GB and a lenovo laptop. Both with Intel graphic cards.

Jeremy North at 2/20/2014 1:12:58 PM -
That is the build I tested against.

It depends on hardware as well because I can't reproduce it on my home PC, but I can on my work PC.

Work Video Card is "ATI Radeon HD 5450"

Home Video Card is an Nvidia 6800 GT or similar (can't remember exactly because it is really old).

Work PC is way newer (running Win7 64bit)
Home PC is running (Vista 32bit)

Tomohiro Takahashi at 7/31/2014 6:12:18 PM -
This is a comment from internal tracking system.
This small points actually are corners. We can see it if we set xRadius and yRadius > 0. To remove it we should uncheck items from Corners property. The result is little bit different because of stroke rendering difference on some platform. That's why we can see some points. But canvas and TRectangle works as expected.

Jeremy North at 8/7/2014 8:43:16 PM -
I don't agree with those comments, you want to advertise a cross platform framework - you make it work like one.

The wordaround is suitable for us but the excuse is still unacceptable (incase it is trotted out in future).

Server Response from: ETNACODE01