pluto_grid icon indicating copy to clipboard operation
pluto_grid copied to clipboard

[Bug] Tab position precision in column menu.

Open MRKDaGods opened this issue 2 years ago • 2 comments

Steps to reproduce the bug

1- Click the context menu icon of any column.

Expected results

The context menu is displayed

Actual results

The column gets resized instead

Code sample

Any example of plutogrid

Execution Environment

Flutter version Flutter version is 3.0.4

PlutoGrid version PlutoGrid version is 5.0.4

OS Windows 11

On high dpi devices (ex: Samsung Galaxy Note 20 Ultra) clicking the context menu icon resizes the column instead, due to _isPointMoving being set to true. A simple fix is to add a check for small delta values of moving the mouse as an initial threshold to be passed as shown in the image below. image

MRKDaGods avatar Jul 20 '22 12:07 MRKDaGods

Thanks for the bug report. I'm going to test it on an HDPI mobile device.

bosskmk avatar Jul 20 '22 13:07 bosskmk

@MRKDaGods

Created a branch to test the column menu tab. Can you test after modifying the pubspec.yaml file as shown below? I can only test on Android Virtual Machine.

dependencies:
  pluto_grid:
    git:
      url: https://github.com/bosskmk/pluto_grid.git
      ref: feature/tap_column_menu

bosskmk avatar Jul 28 '22 21:07 bosskmk

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Aug 28 '22 11:08 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Sep 11 '22 11:09 github-actions[bot]