Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Borders border looks unsharp and thickness varies across platforms #18705

Closed
torfluor opened this issue Nov 13, 2023 · 3 comments
Closed

Borders border looks unsharp and thickness varies across platforms #18705

torfluor opened this issue Nov 13, 2023 · 3 comments
Labels
area-controls-border Border platform/macOS 🍏 macOS / Mac Catalyst s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@torfluor
Copy link

Description

When compared to a button element, the border controls border looks blurred and looks thinner on Windows and wider on Mac Catalyst.

The image below shows a sample app with a border and a button element, both with border color black and border thickness 1.
WindowsVsMac

Steps to Reproduce

  1. Create a MAUI app with a border and a button
  2. Set the Button BorderColor to black and BorderWidth to 1
  3. Set the Border Stroke to black and StrokeThickness to 1

Expected results:
Both borders should have same color and same thickness, and the thickness and color should look the same on every platform.

Actual result:
On Windows the Border looks thinner and more fuzzy than the Button. On Mac the Borders border looks thicker than the button.

Link to public reproduction project repository

https://github.com/torfluor/MauiButtonVsBorder

Version with bug

8.0.0-rc.2.9511

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows, macOS

Affected platform versions

Windows 11 Pro 22000.2538 and MacOS Ventura 13.3

Did you find any workaround?

No

Relevant log output

No response

@torfluor torfluor added the t/bug Something isn't working label Nov 13, 2023
@ghost ghost added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Nov 13, 2023
@jsuarezruiz jsuarezruiz added platform/macOS 🍏 macOS / Mac Catalyst and removed legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor labels Nov 13, 2023
@Eilon Eilon added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Nov 14, 2023
@XamlTest XamlTest added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Nov 16, 2023
@XamlTest
Copy link

XamlTest commented Nov 16, 2023

Verified this on Visual Studio Enterprise 17.9.0 Preview 1(8.0.3). Repro on Windows 11 with below Project:
MauiButtonVsBorder.zip

For Windows: Borders border looks thicker and more fuzzy than the Button.
image
For Mac: Borders border looks thicker than the button.
Screenshot 2023-11-16 at 2 12 50 PM

@tschbc
Copy link

tschbc commented Dec 4, 2023

Has anyone figured out a workaround for this?

@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
@jsuarezruiz jsuarezruiz added the s/try-latest-version Please try to reproduce the potential issue on the latest public version label Jun 5, 2024
Copy link
Contributor

Hi @torfluor. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.

You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@jsuarezruiz jsuarezruiz added this to the Backlog milestone Jun 11, 2024
@dotnet-policy-service dotnet-policy-service bot removed this from the Backlog milestone Jun 18, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jul 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-border Border platform/macOS 🍏 macOS / Mac Catalyst s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants