Bug 53944 - On UWP, Button hover highlight is painted outside rounded borders on mouse-over
Summary: On UWP, Button hover highlight is painted outside rounded borders on mouse-over
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 2.3.3
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jason Smith [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-03-24 17:24 UTC by aculliney
Modified: 2017-06-19 21:03 UTC (History)
3 users (show)

Tags: uwp, button, roundedbutton
Is this bug a regression?: ---
Last known good build:


Attachments
repro project (82.21 KB, application/x-zip-compressed)
2017-03-24 18:06 UTC, Jimmy [MSFT]
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_ON_ROADMAP

Description aculliney 2017-03-24 17:24:27 UTC
On PC desktop/laptops, Xamarin.Forms buttons draw a highlight on mouse-over.  This is not being clipped properly when a button has rounded corners (BorderRadius was set).  The same code is clipping properly on Win8.1.

Please find the sample project as a git repo : https://bitbucket.org/luminixinc/xamarintest

Branch for posterity : ButtonBorderRadiusTest

Visual Studio Project : ButtonBorderRadius/ButtonBorderRadius.sln

Regards,
Comment 1 Jimmy [MSFT] 2017-03-24 18:06:22 UTC
Created attachment 20827 [details]
repro project

Thank you for reporting this! I was able to reproduce the issue with the project provided so I am confirming this report and the team will investigate further. I am attaching a copy of the project to the report for better visibility.

### Version Tests
2.3.4-pre5  BAD
2.3.3.193   BAD
2.3.2.127   BAD
Comment 2 Mike 2017-04-06 18:28:52 UTC
Why?  I don't think this is a problem,  at least you need to user know the button was clicked.(need a different state for click or not).
Comment 3 Jason Smith [MSFT] 2017-06-19 21:03:08 UTC
Fixing this would require deviating from the standard UWP button template. At this time we are not going to do that.