files-community / files-community/Files

Bug: Modifier key tooltip for mouse drag action only changes when the cursor is moved

Open
#10,208 5 comments 0 reactions 0 assignees View on GitHub
needs - winui
Dominant language
C#
Stars
45.4k
Forks
2.9k
Avg merge
19h 7m
Merged PRs (30d)
62

Description

### Description

If I want to chanage the action when dragging to move, rather than copy, a group of selected files, the tooltip that pops up at the cursor only changes when the cursor is moved, rather than when the shift (or other modifier) key is pressed or released.

### Steps To Reproduce

1: Select file or files
2: Drag to trigger the tooltip
3: Press modifier key, such as shift or ctrl, but do not move cursor
4: Move cursor and tooltip changes
5: Release modifier, but do not move cursor
6: Move cursor and tooltip changes back

### Steps to fix

- Modifier key should change even without moving the cursor

### Files Version

2.3.12

### Windows Version

Windows 11 22H2

### Relevant Assets/Logs

Didn't include a log as this is a visual UI issue

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the mouse-drag tooltip behavior on Windows 11 22H2 using the listed steps with selected files. Trace the tooltip's modifier-key handling during a drag; done means pressing or releasing Shift or Ctrl updates the tooltip without moving the cursor.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.