Skip to content

Conversation

gave92
Copy link
Member

@gave92 gave92 commented Dec 30, 2021

Resolved / Related Issues
Items resolved / related issues by this PR.

Details of Changes
Add details of changes here.

  • For Improving the new details view #4643
    • Allow tab selecting columns
    • Invoke headers with keyboard alone
    • Fix issue where columns can't be resized with keyboard only
  • Switch back to (custom) StickyHeaderBehavior for Details view to fix Tab key behavior on header
  • Allow to invoke footer button by keyboard in ListView and GridView
  • Removed unused "ContextItemsChangedEventArgs.cs", "AcrylicTheme.cs"

Known issues

  • Using arrow keys to modify columns width only resizes the header
  • Upon navigation the header gets focus. This is not really an issue, pressing down arrow will select the listview first item and explorer behaves similarly.

Validation
How did you test these changes?

  • Built and ran the app

@gave92 gave92 requested a review from winston-de December 30, 2021 12:30
@gave92
Copy link
Member Author

gave92 commented Dec 30, 2021

@winston-de could you check if you can still reproduce the bug you mentioned about StickyHeaderBehavior in this PR?

@yaira2
Copy link
Member

yaira2 commented Dec 30, 2021

Upon navigation the header gets focus. This is not really an issue, pressing down arrow will select the listview first item and explorer behaves similarly.

@gave92 if an item was already selected, will it have to focus?

@gave92
Copy link
Member Author

gave92 commented Dec 30, 2021

  • If an item is selected, pressing arrow down will move focus to that item
  • When an item is selected "programmatically" (e.g when navigating to the parent folder) it will have focus too

@yaira2
Copy link
Member

yaira2 commented Jan 4, 2022

@gave92 #5681 still seems to be an issue when opening a directory from the sidebar that only has one item in it.

Copy link
Member

@yaira2 yaira2 left a comment

Choose a reason for hiding this comment

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

LGTM

@yaira2 yaira2 added ready to merge Pull requests that are approved and ready to merge and removed needs - code review labels Jan 4, 2022
@yaira2 yaira2 merged commit 6ef2300 into files-community:main Jan 4, 2022
@gave92 gave92 deleted the focus2 branch January 4, 2022 16:17
@files-community files-community deleted a comment from gave92 Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Pull requests that are approved and ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

File Rename - Keyboard shortcut Ctrl-Shift moving focus out To be able to move with the arrows once i entered the folder
2 participants