Maui icon indicating copy to clipboard operation
Maui copied to clipboard

[BUG] IsEnabled property on DrawingView not disabling input (Revival of #1325)

Open CmdrFigrow opened this issue 1 year ago • 4 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

  • [x] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug

Current Behavior

On a DrawingView with the IsEnabled property set to False, users can still interact with it and draw lines

Expected Behavior

On a DrawingView with the IsEnabled property set to False, users cannot interact with it and it exists in a read-only state until IsEnabled is set to True

Steps To Reproduce

  1. Open and run Reproduction Project
  2. Attempt to draw in top DrawingView - line will be made successfully, this is expected
  3. Attempt to draw in bottom DrawingView - line will be made, this is not expected - the IsEnabled property set against the control should stop this from happening

https://github.com/user-attachments/assets/c9619f0c-735c-4155-a4af-be2c199aef48 Repro on Seuic Cruise 1 running Android 9

https://github.com/user-attachments/assets/1a712284-06aa-48ed-bb58-77d52682f1fb Repro on Samsung A15 running Android 14

Link to public reproduction project repository

https://github.com/CmdrFigrow/MauiCT_BUG1325_DrawingViewIsEnabled_Repro

Environment

  • .NET MAUI CommunityToolkit: 9.1.0
  • OS: Windows 11 22631.4317 / Seuic Cruise 1 running Android 9 / Samsung A15 running Android 14
  • .NET MAUI: 8.0.82

Anything else?

Revival of BUG #1325

CmdrFigrow avatar Nov 06 '24 14:11 CmdrFigrow

Is there any update on this? Can we please get it fixed? It does not work on iOS either.

Phunction1 avatar Jan 20 '25 21:01 Phunction1

+1 for this on Mac Catalyst, same problem.

https://github.com/asymetrixs/mauiapp3

asymetrixs avatar Mar 05 '25 09:03 asymetrixs

Hi Guys please note that this is still an issue, can you provide an update on the progress or expected timeline for a fix?

ConvictK avatar Jun 22 '25 16:06 ConvictK

Hi Guys please note that this is still an issue, can you provide an update on the progress or expected timeline for a fix?

No update so far but we do accept PRs

bijington avatar Jun 22 '25 18:06 bijington