Skip to content

dxFileManager: fix 'First item is selected when right-clicking on an empty area' (T1307139)#31170

Merged
miherlosev merged 7 commits intoDevExpress:25_2from
miherlosev:file_manager_T1307139
Oct 2, 2025
Merged

dxFileManager: fix 'First item is selected when right-clicking on an empty area' (T1307139)#31170
miherlosev merged 7 commits intoDevExpress:25_2from
miherlosev:file_manager_T1307139

Conversation

@miherlosev
Copy link
Contributor

No description provided.

@miherlosev miherlosev marked this pull request as draft September 26, 2025 09:40
@miherlosev miherlosev changed the title dxFileManager: fix https://isc.devexpress.com/internal/ticket/details/T1307139 dxFileManager: fix 'First item is selected when right-clicking on an empty area' (T1307139) Sep 29, 2025
Copy link
Contributor

@Staziz Staziz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In single selection mode, the component should synchronize the selection and focus state. This is the original intention that we've put into it. Perhaps it's a bit unusual, but nevertherless.
And I believe we need to mimic the details view behavior in the single selection mode, namely, not focusing any items during _focusInHandler. (This is a rough estimate that requires verification). The focus frame should appear only after an element is selected, not when we simply focus the thumbnails view with a mouse click or context menu

@miherlosev miherlosev marked this pull request as ready for review October 2, 2025 02:46
@Staziz Staziz self-requested a review October 2, 2025 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants