Acknowledged

Bug: Boundary on Epix2 fields is off

In addition to this graphics defect: https://forums.garmin.com/developer/connect-iq/i/bug-reports/bug-graphics-text-on-epix2-difference-in-real-life-vs-simulator

it also seem field boundaries are sometimes wrong or off ... I'll add a picture with a clear example of this. I fill the field with a color - which show the problem in the the center divider line is not in center. Plese fix these problems with Epix2 !! 

Parents
  • How are you drawing the "center" line? The Epix2 is 416 pixels wide, so 208 pixels on each side, and you can't actually draw at 208.5 (pixels are Numbers)

    Also, if you use drawLine, with a penWidth of one, that will be offset.

    if you use fillRectangle with a width of 2, you can actually get something that's in the actual center.

    Reading between the lines, using logic, and looking at activity data page images in DC Rainmaker's Epix review, it seems pretty likely that OP is referring to the center line that the firmware itself draws for activity data pages/screens, not something that the OP's CIQ app is drawing.

    (Conversely, if the OP was talking about a full-screen data field app or a regular device app, then it wouldn't make sense to complain about boundaries that the OP has full control over. Similarly, if the OP was drawing the "center line" himself in a non-full-screen data field, then it wouldn't really be a center line, it would be a line in the leftmost part of the data field on the right, or a line in the rightmost part of the data field on the left, in which case they probably would've mentioned that.)

    Even taking into account the fact that you can't have a 1-pixel wide vertical line in the center of a 416-pixel wide screen, the OP's pictures seem to indicate something is wrong.The left datafield seems to be 1 or 2 pixels away from the center line while the right data field overlaps it, which doesn't seem to add up to a "center area" consisting of a 1 pixel wide blank space and a 1 pixel wide vertical line, and which doesn't overlap the adjacent data fields.

    The fact that the right data field seems to overlap the center line seems to be a problem in and of itself, since it means you probably won't be able to draw to the leftmost pixel of the data field on the right without having issues.

    EDIT:

    Taking a look at the pics again on desktop instead of mobile, it seems like there could even be 3-4 pixels between the center line and the left datafield. (This is where a device screenshot could help, so we could actually count pixels and compare the apparent boundaries with what's documented.)

    Either way, it seems that there's more going on here than could be adequately explained by the fact that a 1 pixel-wide center line can't really be in the center. If it was only that, I would expect one of the two following possibilities:

    1) the left field's boundary to extend to the center line (without overlapping it), and the same for the right field, which would mean that one field would be one pixel wider than the other.

    2) Both fields would be the same width, and the center area would be two pixels wide (so it could consist of of a one-pixel wide line and one pixel of space) In that case, we would expect one field to touch the line without overlapping it, and the other field to be 1 pixel away from the line.

    As a matter of fact, the device reference says both fields should be equal width: 207 pixels, which points to a 2-pixel wide space in the center, and which doesn't seem to matches the images that OP posted.

    [https://developer.garmin.com/connect-iq/reference-guides/devices-reference/#epix%E2%84%A2gen2quatix%C2%AE7sapphire]

Comment
  • How are you drawing the "center" line? The Epix2 is 416 pixels wide, so 208 pixels on each side, and you can't actually draw at 208.5 (pixels are Numbers)

    Also, if you use drawLine, with a penWidth of one, that will be offset.

    if you use fillRectangle with a width of 2, you can actually get something that's in the actual center.

    Reading between the lines, using logic, and looking at activity data page images in DC Rainmaker's Epix review, it seems pretty likely that OP is referring to the center line that the firmware itself draws for activity data pages/screens, not something that the OP's CIQ app is drawing.

    (Conversely, if the OP was talking about a full-screen data field app or a regular device app, then it wouldn't make sense to complain about boundaries that the OP has full control over. Similarly, if the OP was drawing the "center line" himself in a non-full-screen data field, then it wouldn't really be a center line, it would be a line in the leftmost part of the data field on the right, or a line in the rightmost part of the data field on the left, in which case they probably would've mentioned that.)

    Even taking into account the fact that you can't have a 1-pixel wide vertical line in the center of a 416-pixel wide screen, the OP's pictures seem to indicate something is wrong.The left datafield seems to be 1 or 2 pixels away from the center line while the right data field overlaps it, which doesn't seem to add up to a "center area" consisting of a 1 pixel wide blank space and a 1 pixel wide vertical line, and which doesn't overlap the adjacent data fields.

    The fact that the right data field seems to overlap the center line seems to be a problem in and of itself, since it means you probably won't be able to draw to the leftmost pixel of the data field on the right without having issues.

    EDIT:

    Taking a look at the pics again on desktop instead of mobile, it seems like there could even be 3-4 pixels between the center line and the left datafield. (This is where a device screenshot could help, so we could actually count pixels and compare the apparent boundaries with what's documented.)

    Either way, it seems that there's more going on here than could be adequately explained by the fact that a 1 pixel-wide center line can't really be in the center. If it was only that, I would expect one of the two following possibilities:

    1) the left field's boundary to extend to the center line (without overlapping it), and the same for the right field, which would mean that one field would be one pixel wider than the other.

    2) Both fields would be the same width, and the center area would be two pixels wide (so it could consist of of a one-pixel wide line and one pixel of space) In that case, we would expect one field to touch the line without overlapping it, and the other field to be 1 pixel away from the line.

    As a matter of fact, the device reference says both fields should be equal width: 207 pixels, which points to a 2-pixel wide space in the center, and which doesn't seem to matches the images that OP posted.

    [https://developer.garmin.com/connect-iq/reference-guides/devices-reference/#epix%E2%84%A2gen2quatix%C2%AE7sapphire]

Children
No Data